Skip to content

add-chain: fix issues found via binary walkthrough#425

Merged
bitwiseguy merged 10 commits intomainfrom
ss/fix-add-chain-bugs
Jul 31, 2024
Merged

add-chain: fix issues found via binary walkthrough#425
bitwiseguy merged 10 commits intomainfrom
ss/fix-add-chain-bugs

Conversation

@bitwiseguy
Copy link
Copy Markdown
Collaborator

@bitwiseguy bitwiseguy commented Jul 29, 2024

Description

Fixes the following bugs:

  1. support customGasToken contract set (which is different from faultProof and non-fault proof sets)
  2. allow user to pass the full filepath of a deployments file instead of always expecting file named .deploy
  3. wrap SCR_CHAIN_NAME in quotes to support names with spaces

Additional changes

Added a test for legacy deployment files (one .json file for each contract instead of a single .deploy file). Previously this was untested code

Comment thread add-chain/main.go
@bitwiseguy bitwiseguy marked this pull request as ready for review July 29, 2024 21:00
@bitwiseguy bitwiseguy requested review from a team, geoknee and sebastianst and removed request for geoknee July 29, 2024 21:00
Comment thread add-chain/addresses.go Outdated
Comment thread add-chain/addresses.go Outdated
Comment thread add-chain/main.go
Comment thread superchain/init.go
Copy link
Copy Markdown
Member

@sebastianst sebastianst left a comment

Choose a reason for hiding this comment

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

Nice improvement!

Comment thread add-chain/addresses.go Outdated
Comment thread add-chain/addresses.go
Comment thread add-chain/addresses.go Outdated
Comment thread add-chain/addresses.go
Comment thread add-chain/addresses.go Outdated
@bitwiseguy bitwiseguy force-pushed the ss/fix-add-chain-bugs branch from a996858 to f1bf98b Compare July 31, 2024 14:58
@bitwiseguy bitwiseguy enabled auto-merge (squash) July 31, 2024 14:59
@bitwiseguy bitwiseguy merged commit 7d78f2c into main Jul 31, 2024
@bitwiseguy bitwiseguy deleted the ss/fix-add-chain-bugs branch July 31, 2024 15:00
@bitwiseguy bitwiseguy self-assigned this Aug 1, 2024
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.

3 participants