mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
fix(ah): set force_era=ForceNone in genesis to prevent premature elections
Prevents automatic election before validators are staked on AH. After staking setup, trigger manually with force_new_era().
This commit is contained in:
1 parent
1f814ca9b9
commit
d6f180621e
1 file changed
+6
+6
@@ -138,6 +138,12 @@ fn asset_hub_pezkuwichain_genesis(
|
||||
.collect(),
|
||||
},
|
||||
pezkuwi_xcm: PezkuwiXcmConfig { safe_xcm_version: Some(SAFE_XCM_VERSION) },
|
||||
// Prevent automatic election before validators are staked.
|
||||
// After staking setup, trigger manually with force_new_era().
|
||||
staking: StakingConfig {
|
||||
force_era: pezpallet_staking_async::Forcing::ForceNone,
|
||||
..Default::default()
|
||||
},
|
||||
|
||||
// ====================================================================
|
||||
// TrustBackedAssets (Instance1) - PEZ, wHEZ, and wUSDT tokens
|
||||
|
||||
Reference in new issue
Block a user