referrerpolicy=no-referrer-when-downgrade

BenchmarkHelperTrait

Trait BenchmarkHelperTrait 

Source
pub trait BenchmarkHelperTrait<AccountId, AssetId, Balance> {
    // Required method
    fn mint_pgas(who: &AccountId, asset_id: AssetId, amount: Balance);
}
Expand description

Trait used by runtimes to mint PGAS to the benchmark caller.

Required Methods§

Source

fn mint_pgas(who: &AccountId, asset_id: AssetId, amount: Balance)

Mint amount of PGAS to who.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§