Skip to content

Added polkadot to genesis keys script#2352

Merged
kylezs merged 2 commits intodevelopfrom
feature/add-polkadot-genisis-keys
Oct 28, 2022
Merged

Added polkadot to genesis keys script#2352
kylezs merged 2 commits intodevelopfrom
feature/add-polkadot-genisis-keys

Conversation

@j4m1ef0rd
Copy link
Copy Markdown
Contributor

@j4m1ef0rd j4m1ef0rd commented Oct 27, 2022

Closes #2341

  • Changed the guts of the genesis code to be generic for the crypto scheme
  • Made it generate and save both eth and polkadot keys for each node. both keys in the same db file.
  • Added a small unit test to help make sure it works.

Side note: Was not able to use the cfg test stuff from the chainflip_engine crate. Found a related issue here

@j4m1ef0rd j4m1ef0rd requested a review from kylezs October 27, 2022 04:18
@j4m1ef0rd j4m1ef0rd self-assigned this Oct 27, 2022
@kylezs kylezs linked an issue Oct 27, 2022 that may be closed by this pull request
Comment thread engine/generate-genesis-keys/src/main.rs Outdated
Comment thread engine/generate-genesis-keys/src/main.rs Outdated
@kylezs kylezs merged commit c4dbffc into develop Oct 28, 2022
@kylezs kylezs deleted the feature/add-polkadot-genisis-keys branch October 28, 2022 12:12
j4m1ef0rd added a commit that referenced this pull request Nov 3, 2022
* feat: added polkadot to genesis keys script

* refactor: both keys in same json object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

generate genesis key shares for polkadot

2 participants