Skip to content
Snippets Groups Projects

Distance pallet benchmark

All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -260,14 +260,14 @@ impl pallet_distance::Config for Test {
type WeightInfo = ();
}
pub const NAMES: [&str; 6] = ["Alice", "Bob", "Charlie", "Dave", "Eve", "Ferdie"];
// Build genesis storage according to the mock runtime.
#[allow(dead_code)] // ??? Clippy triggers dead code for new_test_ext while it is used during test benchmark
pub fn new_test_ext() -> sp_io::TestExternalities {
let mut t = frame_system::GenesisConfig::default()
.build_storage::<Test>()
.unwrap();
pub const NAMES: [&str; 6] = ["Alice", "Bob", "Charlie", "Dave", "Eve", "Ferdie"];
pallet_identity::GenesisConfig::<Test> {
identities: (1..=4)
.map(|i| pallet_identity::GenesisIdty {
Loading