referrerpolicy=no-referrer-when-downgrade
pallet_verify_signature

Trait BenchmarkHelper

Source
pub trait BenchmarkHelper<Signature, Signer> {
    // Required method
    fn create_signature(entropy: &[u8], msg: &[u8]) -> (Signature, Signer);
}

Required Methods§

Source

fn create_signature(entropy: &[u8], msg: &[u8]) -> (Signature, Signer)

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.

Implementations on Foreign Types§

Source§

impl BenchmarkHelper<MultiSignature, AccountId32> for ()

Source§

fn create_signature( _entropy: &[u8], msg: &[u8], ) -> (MultiSignature, AccountId32)

Implementors§