-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add genesis config presets to runtime (#3138)
* refactor: ♻️ update deprecated options in command `moonbeam benchmark pallet` * refactor: ♻️ update deprecated options in both invocations of the command within the script * feat: ✨ add default preset for RuntimeGenesisConfig * Revert "feat: ✨ add default preset for RuntimeGenesisConfig" This reverts commit 52436cb. * feat: ✨ add genesis builder dummy development preset * refactor: ♻️ implement GenesisBuilder within each runtime * refactor: ♻️ move moonbase runtime test config to runtime * refactor: 🎨 improve structure * refactor: ♻️ move moonbeam runtime test config to runtime * refactor: ♻️ move moonriver runtime test config to runtime * fix: 🔥 remove unused dep * chore: 📄 add copyright * refactor: 🔥 complete move of testnet_genesis functions to runtime * refactor: ⚰️ remove dead functions *_inflation_config * refactor: ♻️ add get_preset and preset_names functions * build: ✨ * refactor: ♻️ correctly use with_genesis_config_preset_name in client code * refactor: ♻️ use with_genesis_config_preset_name in test_spec * refactor: 🔥 remove serde_json feature * fix json serialization of GenesisConfig in xcm-transactor * fix serde_json dependendency in no_std environemnt * simplify code * style: 🎨 format comment/tuple * feat: ✨ add cargo feature to disable genesis builder * refactor: ⚡ change cargo feature disable-genesis-builder to enable-genesis-builder * fix: 🐛 correct enable-genesis-builder cargo feature logic and add it to all runtimes * style: 🎨 rename enable-genesis-config cargo feature to genesis-config * fix: 🐛 apply renaming of cargo feature enable-genesis-builder * feat: 🔥 remove genesis-builder from default features * feat: ⚡ remove genesis-builder and serde_json from default features * refactor: ♻️ switch back to disable-genesis-builder * fix: 🐛 remove genesis-builder feature references * chore(ci): fix wasm-size-check --------- Co-authored-by: Rodrigo Quelhas <[email protected]> Co-authored-by: Rodrigo Quelhas <[email protected]>
- Loading branch information
1 parent
aedf6b4
commit 6d6faaf
Showing
29 changed files
with
884 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.