Skip to content

Commit

Permalink
align rolldown benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa committed Dec 27, 2024
1 parent 55553a9 commit 307b8dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pallets/rolldown/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@ mod benchmarks {
let (l1_aset_chain, l1_asset_address) =
get_chain_and_address_for_asset_id::<T>(TOKEN_ID.into())?;
pallet_sequencer_staking::Pallet::<T>::provide_sequencer_stake(
RawOrigin::Signed(sequencer.clone()).into(),
(RawOrigin::Root).into(),
l1_aset_chain.into(),
STAKE_AMOUNT.try_into().ok().expect("u128 should fit into Balance type"),
sequencer_alias,
pallet_sequencer_staking::StakeAction::StakeOnly,
sequencer.clone()
)?;

if should_be_active {
Expand Down

0 comments on commit 307b8dd

Please sign in to comment.