Conversation
|
|
Hey @tynes! This PR has merge conflicts. Please fix them before continuing review. |
protolambda
left a comment
There was a problem hiding this comment.
LGTM, updating the hardhat deploy configs with the new l1 recipient addresses would be nice to add though.
|
This PR has been added to the merge queue, and will be merged soon. |
|
Hey @tynes, this pull request failed to merge and has been dequeued from the merge train. If you believe your PR failed in the merge train because of a flaky test, requeue it by commenting with |
fa41a48 to
5e8f639
Compare
|
I've updated the deploy config files to contain the correct values |
|
Hey @tynes! This PR has merge conflicts. Please fix them before continuing review. |
We need config options for the recipients of the fee vaults. This adds it to the config parsing.
Adds a helper function to read the correct deployment artifacts from disk given a `hardhat.Hardhat` instance. This code was being repeated throughout the codebase so its better to consolidate it into a single location. Now the `DeployConfig` has the L1 contract addresses required to build a L2 genesis. These addresses do not need to be present in the JSON file itself and instead can be read from disk dynamically. Also add a check function that will error on a config that is not sane. This can be made more strict in the future, currently do not want to break anything in the process of introducing this.
5e8f639 to
9c7e99d
Compare
| return err | ||
| } | ||
|
|
||
| if err := config.Check(); err != nil { |
There was a problem hiding this comment.
Is this check duplicated on line 145 below?
There was a problem hiding this comment.
That is a different command, both need the check
|
Looks like the devnet has an expected failure given these changes: |
Will fix each issue |
|
Getting a segfault in |
@tynes this is a known flake in the action tests |
|
Flake with the devnet + deploy: This has become really flakey lately, not sure why |
Description
We need config options for the recipients of the fee vaults. This adds it to the config parsing.
Also adds a helper function to read the correct deployment
artifacts from disk given a
hardhat.Hardhatinstance.This code was being repeated throughout the codebase
so its better to consolidate it into a single location.
Now the
DeployConfighas the L1 contract addressesrequired to build a L2 genesis. These addresses do not
need to be present in the JSON file itself and instead
can be read from disk dynamically.
Also add a check function that will error on a config
that is not sane. This can be made more strict in the
future, currently do not want to break anything in the
process of introducing this.