Skip to content

Commit

Permalink
Update mock for registry pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
ameba23 committed Aug 28, 2024
1 parent fc00ee0 commit d54e9bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pallets/registry/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ use sp_runtime::{
curve::PiecewiseLinear,
testing::{TestXt, UintAuthorityId},
traits::{BlakeTwo256, ConvertInto, IdentityLookup},
BuildStorage, Perbill,
BoundedVec, BuildStorage, Perbill,
};
use sp_staking::{EraIndex, SessionIndex};
use sp_std::vec;
use std::cell::RefCell;

use crate as pallet_registry;
Expand Down Expand Up @@ -387,6 +388,7 @@ pub fn new_test_ext() -> sp_io::TestExternalities {
max_instructions_per_programs: 5u64,
total_signers: 3u8,
threshold: 2u8,
accepted_mrtd_values: vec![BoundedVec::try_from([0; 48].to_vec()).unwrap()],
_config: Default::default(),
}
.assimilate_storage(&mut t)
Expand Down

0 comments on commit d54e9bb

Please sign in to comment.