-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use toml instead of yaml for chain config files (#386)
* add-chain: create toml chain config file * add-chain: import toml package * add-chain: main writes toml chain config * add-chain: add expected_*.toml test files * add-chain: e2e_test uses toml chain config files * add-chain: add convert-to-toml subcommand * superchain: init reads from toml files instead of yaml * circleci: set 'Install just' step name * superchain: replace all chain config .yaml file with .toml * superchain: test uses toml.Unmarshal * add-chain: remove unused checkConfigYaml test function * codegen: fix formatting for toml * superchain: add toml tags for addresses, genesis.system_config * add-chain: convert-to-toml writes addresses, genesis.system_config * superchain: use superchain.toml instead of superchain.yaml * superchain: fix unMarshalSuperchainConfig so it works with toml * superchain: rename EnhanceTOML to GenerateTOMLComments * add-chain: remove WriteChainConfig, last yaml dependency * superchain: remove yaml config files * superchain: fix types in genesis SystemConfig * justfile: clean .toml instead of .yaml * add-chain: write addresses to toml instead of json * superchain: fix order of fields in ChainConfig * superchain: move ChainConfig.Addresses field before plasma * add-chain: remove all yaml and json testdata files * validation: fix devnet config superchain_level and standard_candidate * superchain: add addresses and genesis.system_config to all toml files * add-chain: remove convert-to-toml subcommand * justfile: remove unnecessary clean-add-chain commands * superchain: use rawTOML instead of rawYAML in tests * superchain: remove all yaml tags and references * superchain: reorder ChainConfig.Plasma in toml file * add-chain: tidy comments and function description * superchain: standardize timestamp comment in superchain.toml files * simplify AddressList.MarshalTOML (#392) * simplify mapToAddressList (#393) * superchain: convert superlumio mainnet, metal sepolia to toml * justfile: update remove-chain to point at correct files * superchain: use go codegen to create addresses.json * run go linter * remove javascript codegen * superchain: remove all extra/addresses,genesis-system-config files * superchain: remove embedded extra/addresses * superchain: return error if ChainConfig fields are improperly ordered * superchain: add explanatory comment for custom ChainConfig.MarshalTOML * fix(bindings): Parse TOML Chain Configs (#394) * fix(bindings): use toml configs * fix(bindings): no need to read extra dir * add-chain: cleanup unused code * add-chain: remove 0x0 addresses via post-process instead of custom MarshalTOML --------- Co-authored-by: George Knee <[email protected]> Co-authored-by: refcell <[email protected]>
- Loading branch information
1 parent
a06cb07
commit c017220
Showing
122 changed files
with
1,736 additions
and
1,914 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
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.