Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add Statemint Genesis Values #817

Merged

Conversation

apopiak
Copy link
Contributor

@apopiak apopiak commented Dec 1, 2021

Adds the genesis values for the upcoming Statemint release and adjusts the scripts to generate them.

  • statemint_genesis.json is a chainspec for reference only. It is the basis for:
    • statemint_genesis_values.json, the values that will be set on Shell to prepare for the upgrade
    • statemint_genesis_values.scale, the values encoded as a System::set_storage call
  • statemint.json is the spec that will allow syncing the Statemint chain after the upgrade.

based on keys from https://github.com/paritytech/devops/issues/1194
part of #744

@apopiak apopiak added the T7-system_parachains This PR/Issue is related to System Parachains. label Dec 1, 2021
@apopiak
Copy link
Contributor Author

apopiak commented Dec 1, 2021

#757 was somewhat reviewed already, but would appreciate another check

@apopiak apopiak added A0-pleasereview B0-silent Changes should not be mentioned in any release notes labels Dec 1, 2021
Copy link
Contributor

@riusricardo riusricardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The chain spec and genesis values look good to me.

Comment on lines +363 to +368
vec![
"/ip4/34.65.251.121/tcp/30334/p2p/12D3KooWG3GrM6XKMM4gp3cvemdwUvu96ziYoJmqmetLZBXE8bSa".parse().unwrap(),
"/ip4/34.65.35.228/tcp/30334/p2p/12D3KooWMRyTLrCEPcAQD6c4EnudL3vVzg9zji3whvsMYPUYevpq".parse().unwrap(),
"/ip4/34.83.247.146/tcp/30334/p2p/12D3KooWE4jFh5FpJDkWVZhnWtFnbSqRhdjvC7Dp9b8b3FTuubQC".parse().unwrap(),
"/ip4/104.199.117.230/tcp/30334/p2p/12D3KooWG9R8pVXKumVo2rdkeVD4j5PVhRTqmYgLHY3a4yPYgLqM".parse().unwrap(),
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting that you added the bootnodes here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I figured why not. If we do update them frequently I might have to remove them again 🤷

@apopiak apopiak merged commit f37120f into apopiak/prepare-statemint-release Dec 1, 2021
@apopiak apopiak deleted the apopiak/statemint-genesis-values branch December 1, 2021 14:10
@apopiak apopiak mentioned this pull request Dec 2, 2021
19 tasks
gilescope pushed a commit that referenced this pull request Jan 14, 2022
* add some docs to genesis scripts

* move statemint test chainspec

* add initial (draft) version of statemint chain spec

* adjust genesis value script

* add Statemint genesis Aura keys

* add bootnodes to statemint-genesis spec

* Add checks, debug and doc (#790)

* Add checks, debug and doc

* Update scripts/generate_genesis_value.sh

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Update scripts/generate_genesis_value.sh

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* default to official shell rpc endpoint for genesis values

* remove statemint test chain spec

* add Statemint chain spec and genesis values

* sort statemint genesis values

* some script docs adjustments

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
gilescope added a commit that referenced this pull request Jan 19, 2022
* Add Statemint Genesis Values (#817)

* add some docs to genesis scripts

* move statemint test chainspec

* add initial (draft) version of statemint chain spec

* adjust genesis value script

* add Statemint genesis Aura keys

* add bootnodes to statemint-genesis spec

* Add checks, debug and doc (#790)

* Add checks, debug and doc

* Update scripts/generate_genesis_value.sh

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Update scripts/generate_genesis_value.sh

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* default to official shell rpc endpoint for genesis values

* remove statemint test chain spec

* add Statemint chain spec and genesis values

* sort statemint genesis values

* some script docs adjustments

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* cargo fmt

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B0-silent Changes should not be mentioned in any release notes T7-system_parachains This PR/Issue is related to System Parachains.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants