mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
fix(ah-staking): stall detection grace period, MinerPages fix, and simulation tools
- Add 3-session grace period to stall detection to allow RC XCM round-trip before triggering era recovery (StallDetectionCount storage added) - Fix plan_new_era() to always increment CurrentEra regardless of ElectionProvider::start() result, preventing infinite retry loops - Fix MinerPages from 2 to 32 to match Pages config (was causing incomplete OCW solutions and election failures) - Bump AH spec_version to 1_020_007 - Add subxt example scripts for simulation and mainnet operations - Remove obsolete fix_force_era.rs (replaced by sim_reset_election.rs)
This commit is contained in:
1 parent
21d1bc2375
commit
cc156a1d61
17 files changed
+3254
-130
No files matched your search
@@ -138,7 +138,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
spec_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||
impl_name: alloc::borrow::Cow::Borrowed("asset-hub-pezkuwichain"),
|
||||
authoring_version: 1,
|
||||
spec_version: 1_020_006,
|
||||
spec_version: 1_020_007,
|
||||
impl_version: 0,
|
||||
apis: RUNTIME_API_VERSIONS,
|
||||
transaction_version: 16,
|
||||
|
||||
@@ -171,7 +171,7 @@ parameter_types! {
|
||||
pub MinerTxPriority: TransactionPriority = TransactionPriority::max_value() / 2;
|
||||
/// Try and run the OCW miner 4 times during the unsigned phase.
|
||||
pub OffchainRepeat: BlockNumber = UnsignedPhase::get() / 4;
|
||||
pub storage MinerPages: u32 = 2;
|
||||
pub storage MinerPages: u32 = 32;
|
||||
}
|
||||
|
||||
impl multi_block::unsigned::Config for Runtime {
|
||||
|
||||
Reference in new issue
Block a user