fix(ct): bug in L2OutputOracle constructor#3322
Conversation
🦋 Changeset detectedLatest commit: e8b54e4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I approve this, but now that I think about it we really need to have the discipline of writing a test every time we fix a bug. even when it's a trivial one like this. would really appreciate if you'd be so kind as to oblige me on that. |
|
SGTM! |
3d46bdd to
80a7c79
Compare
Done |
|
@smartcontracts mind updating the gas snapshot + bindings? |
80a7c79 to
1629ae0
Compare
1629ae0 to
0a56d44
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
0a56d44 to
7fdd797
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
7fdd797 to
be25c4d
Compare
be25c4d to
b9675ab
Compare
|
This needs code to handle the L1 genesis creation |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
b9675ab to
11acdd9
Compare
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
Hey @smartcontracts! This PR has merge conflicts. Please fix them before continuing review. |
|
This is breaking tests because the Geth simulated backend that deploys the contracts on L1 in the devnet sets the block timestamp to zero. We can fix this, but it'll require changes in |
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322.
Update op-geth to the latest version on the `optimism-history` branch. This version exposes the customizable simulator backend that we need to merge #3322. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fixes a small bug in the L2OutputOracle constructor where an assertion was being made about the wrong value. Unlikely that this would've caused any significant issues but worth fixing anyway.
e92b083 to
4e8a87c
Compare
Puts the genesis timestamp inside the simulator, and updates the simulator code to properly wait for blocks to be mined. See the comments in deployer.go and layer_one.go.
4e8a87c to
11a8821
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
1 similar comment
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
Fixes a small bug in the L2OutputOracle constructor where an assertion
was being made about the wrong value. Unlikely that this would've caused
any significant issues but worth fixing anyway.