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 authored and GitHub committed 2022-04-28 18:16:24 +00:00
1 parent bbdfc3d9c6
commit dfaec1505d
6 files changed
+510 -169

No files matched your search

+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()
},
}
}