Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/STAGING_MAINNET_LAUNCH.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ Mainnet dress rehearsal. Genesis comes from `mainnet_config_genesis`
except the treasury multisig nonce (staging 1, mainnet 0), so the genesis hash
differs while everything else stays 1:1.

- Genesis hash (spec generated from `v0.11.0-rocket-fuel`, runtime `spec_version` 148):
`0xb0e90ed9f291a9194f79bf90dce39ad7e5ea88f1bf6a9db5f268f309d305e30d`
(state root `0x8f3f…fc50`). Any change to genesis data re-derives this — the
chain spec must then be regenerated from a new runtime-upgrade tag.
- Treasury: 6-of-10 multisig of `MAINNET_TREASURY_SIGNERS_SS58`, nonce 1 →
`qzpjP5r4NSeWDrbHvboYcychsmCCaJrbRixvghVjnaRzjRb5i`
- Tech collective: the same ten accounts (referenda curves are runtime constants)
Expand Down
142 changes: 142 additions & 0 deletions node/src/chain-specs/staging-mainnet.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,11 @@ impl SubstrateCli for Cli {
"planck" => Box::new(chain_spec::ChainSpec::from_json_bytes(include_bytes!(
"chain-specs/planck.json"
))?) as Box<dyn sc_service::ChainSpec>,
// "staging_mainnet" resolves to a committed chain-specs/staging-mainnet.json
// (generated via scripts/genesis_generate_spec.sh) once the launch signer
// addresses are finalized — see docs/STAGING_MAINNET_LAUNCH.md.
"staging_mainnet_live_spec" => Box::new(chain_spec::staging_mainnet_chain_spec()?)
as Box<dyn sc_service::ChainSpec>,
"staging_mainnet" => Box::new(chain_spec::ChainSpec::from_json_bytes(include_bytes!(
"chain-specs/staging-mainnet.json"
))?) as Box<dyn sc_service::ChainSpec>,
path =>
Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?)
as Box<dyn sc_service::ChainSpec>,
Expand Down
Loading