Skip to content

Commit

Permalink
Unstabilize API
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Aug 2, 2022
1 parent 03fef6c commit b65cd12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion pallets/gear/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,11 @@ where

// Validating duration.
if hold.expected_duration().is_zero() {
unreachable!("Failed to figure out correct wait hold bound");
// TODO: Replace with unreachable call after:
// - `HoldBound` safety usage stabilized;
// - Issue #1173 solved.
log::error!("Failed to figure out correct wait hold bound");
return;
}

// Querying origin message id. Fails in cases of `GasTree` invalidations.
Expand Down
2 changes: 1 addition & 1 deletion runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
impl_name: create_runtime_str!("gear-node"),
apis: RUNTIME_API_VERSIONS,
authoring_version: 1,
spec_version: 1480,
spec_version: 1490,
impl_version: 1,
transaction_version: 1,
state_version: 1,
Expand Down

0 comments on commit b65cd12

Please sign in to comment.