Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Introduce frozen indices. #6307

Merged
merged 11 commits into from
Jun 9, 2020
Prev Previous commit
Next Next commit
Fix
  • Loading branch information
gavofyork committed Jun 9, 2020
commit 4777099d4cf2e49763ec2dfc426ecbc490405b67
4 changes: 2 additions & 2 deletions frame/indices/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ benchmarks! {
T::Currency::make_free_balance_be(&recipient, BalanceOf::<T>::max_value());
// Claim the index
Indices::<T>::claim(RawOrigin::Signed(original).into(), account_index)?;
}: _(RawOrigin::Root, recipient.clone(), account_index)
}: _(RawOrigin::Root, recipient.clone(), account_index, false)
verify {
assert_eq!(Accounts::<T>::get(account_index).unwrap().0, recipient, false);
assert_eq!(Accounts::<T>::get(account_index).unwrap().0, recipient);
}

freeze {
Expand Down