Skip to content

Commit

Permalink
fix benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: zqhxuyuan <zqhxuyuan@gmail.com>
  • Loading branch information
zqhxuyuan committed Apr 6, 2023
1 parent d59e22a commit f8cb928
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pallets/manta-sbt/src/benchmark/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ benchmarks! {
RawOrigin::Root.into(),
Some(caller.clone())
)?;
MantaSBTPallet::<T>::set_mint_chain_info(
RawOrigin::Root.into(),
MintType::Bab,
0_u32.into(),
None
)?;
}: allowlist_evm_account (
RawOrigin::Signed(caller),
EvmAddressType::Bab(H160::default())
Expand Down Expand Up @@ -104,7 +110,7 @@ benchmarks! {
}: mint_sbt_eth(
RawOrigin::Signed(caller),
Box::new(mint_post),
1,
0,
signature,
bab_alice,
Some(0),
Expand Down

0 comments on commit f8cb928

Please sign in to comment.