Skip to content
Snippets Groups Projects
Unverified Commit a72e0a23 authored by bgallois's avatar bgallois
Browse files

update crates

parent 5628f095
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !281. Comments created here will be created in the context of that merge request.
This diff is collapsed.
This diff is collapsed.
......@@ -168,6 +168,8 @@ pub fn new_test_ext(initial_authorities_len: u64) -> sp_io::TestExternalities {
.map(|i| (i * 3, i * 3, UintAuthorityId(i * 3).into()))
.collect();
let non_authority_keys = Vec::default();
let mut t = frame_system::GenesisConfig::<Test>::default()
.build_storage()
.unwrap();
......@@ -184,7 +186,10 @@ pub fn new_test_ext(initial_authorities_len: u64) -> sp_io::TestExternalities {
}
.assimilate_storage(&mut t)
.unwrap();
pallet_session::GenesisConfig::<Test> { keys }
pallet_session::GenesisConfig::<Test> {
keys,
non_authority_keys,
}
.assimilate_storage(&mut t)
.unwrap();
sp_io::TestExternalities::new(t)
......
......@@ -24,7 +24,6 @@ std = [
"frame-benchmarking?/std",
"frame-support/std",
"frame-system/std",
"getrandom/std",
"pallet-authority-members/std",
"pallet-authorship/std",
"pallet-balances/std",
......@@ -61,7 +60,6 @@ codec = { workspace = true, features = ["derive"] }
frame-benchmarking = { workspace = true, optional = true }
frame-support = { workspace = true }
frame-system = { workspace = true }
getrandom = { workspace = true, features = ["js"] }
pallet-authority-members = { workspace = true }
pallet-authorship = { workspace = true }
pallet-balances = { workspace = true }
......
......@@ -42,9 +42,6 @@ try-runtime = [
default-features = false
targets = ["x86_64-unknown-linux-gnu"]
[build-dependencies]
substrate-wasm-builder = { git = "https://github.com/duniter/duniter-polkadot-sdk", branch = "duniter-substrate-v1.6.0" }
[dependencies]
codec = { workspace = true, features = ["derive"] }
duniter-primitives = { workspace = true }
......
......@@ -210,6 +210,7 @@ impl ExtBuilder {
)
})
.collect::<Vec<_>>(),
non_authority_keys: Vec::new(),
}
.assimilate_storage(&mut t)
.unwrap();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment