add nomination pools to westend runtime (#5405)

* add nomination pools to westend rutnime

* Fix buikd

* fit some shit

* add real weights from substrate weights computed on the same bench machine
This commit is contained in:
Kian Paimani
2022-04-28 20:16:24 +02:00
committed by GitHub
parent bbdfc3d9c6
commit dfaec1505d
6 changed files with 510 additions and 169 deletions
+7
View File
@@ -574,6 +574,7 @@ fn westend_staging_testnet_config_genesis(wasm_binary: &[u8]) -> westend::Genesi
next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID,
},
xcm_pallet: Default::default(),
nomination_pools: Default::default(),
}
}
@@ -1543,6 +1544,12 @@ pub fn westend_testnet_genesis(
next_free_para_id: polkadot_primitives::v2::LOWEST_PUBLIC_ID,
},
xcm_pallet: Default::default(),
nomination_pools: westend_runtime::NominationPoolsConfig {
max_pools: Some(128),
min_join_bond: WND,
min_create_bond: 100 * WND,
..Default::default()
},
}
}