pub trait ExtrinsicBuilder {
// Required methods
fn pallet(&self) -> &str;
fn extrinsic(&self) -> &str;
fn build(&self, nonce: u32) -> Result<OpaqueExtrinsic, &'static str>;
}
Expand description
Used by the benchmark to build signed extrinsics.
The built extrinsics only need to be valid in the first block who’s parent block is the genesis block. This assumption simplifies the generation of the extrinsics. The signer should be one of the pre-funded dev accounts.