Conversation
|
Crate versions that have been updated:
Runtime version has been increased. |
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.
Tip: disable this comment in your organization's Code Review settings.
| pub const StakingPalletId: PalletId = PalletId(*b"staking#"); | ||
| pub const MinStake: Balance = 1_000 * UNITS; | ||
| pub const PeriodLength: BlockNumber = 7_200; // 1d based on 12s blocks, pallet accounts for migration to 6s blocks | ||
| pub const PeriodLength: BlockNumber = 7_200; // 1d based on 12s blocks, pallet accounts for migrations to 6s / 2s blocks |
There was a problem hiding this comment.
note that this period is based on relay block time
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.
Tip: disable this comment in your organization's Code Review settings.
|
verified migrations on testnet:
|
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.
Tip: disable this comment in your organization's Code Review settings.
There was a problem hiding this comment.
Claude Code Review
Claude Code Review is paused for this repository. To reconnect it, an admin of this repository's GitHub organization (or the account owner, for personal repositories) who can also manage your Claude organization's Code Review settings needs to re-link GitHub in Code Review settings. This is a one-time step.
Tip: disable this comment in your organization's Code Review settings.
|
Quick benchmark at commit b1bb18b has been executed successfully. |
Summary
Updates Hydration from 6-second to 2-second block production while preserving existing wall-clock behavior where required.
This includes runtime and node configuration changes, recalibrated per-block parameters, and migrations for active block-number-based state.
Checklist
Migrations
The migrations below are designed to fit in a single block. Migrations that iterate over storage contain hard caps sized above the current mainnet entry counts.
hydradx_runtime::migrations::parameters::SetTwoSecBlocksSincepallet-parameters.Get<BlockNumber>provider.pallet_dca::migrations::MultiplySchedulesPeriodBy3hydradx_runtime::migrations::circuit_breaker::MigrateCircuitBreakerTo2sBlockshydradx_runtime::migrations::dynamic_fees::MigrateDynamicFeeDecayTo2sBlockshydradx_runtime::migrations::stableswap::MigrateStableswapMaxPegUpdateTo2sBlockshydradx_runtime::migrations::scheduler::MigrateSchedulerTo2sBlockshydradx_runtime::migrations::referenda::MigrateReferendaTo2sBlockshydradx_runtime::migrations::conviction_voting::MigrateConvictionVotingTo2sBlocksTry runtime