Skip to content

Commit

Permalink
stabilize instantiation_nonce (paritytech#14493)
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
  • Loading branch information
xermicus authored and nathanwhit committed Jul 19, 2023
1 parent 5cd3523 commit 271e557
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion frame/contracts/src/wasm/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2819,7 +2819,6 @@ pub mod env {
///
/// The nonce is incremented for each successful contract instantiation. This is a
/// sensible default salt for contract instantiations.
#[unstable]
fn instantiation_nonce(ctx: _, _memory: _) -> Result<u64, TrapReason> {
ctx.charge_gas(RuntimeCosts::InstantationNonce)?;
Ok(ctx.ext.nonce())
Expand Down

0 comments on commit 271e557

Please sign in to comment.