mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 17:41:08 +00:00
stabilize instantiation_nonce (#14493)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user