Skip to content

Conversation

@protocolwhisper
Copy link
Contributor

Description

A clear and concise description of the features you're adding in this pull request.

Tests

Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.

Additional context

Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

tynes and others added 15 commits November 9, 2022 14:35
This commit adds additional logging to the database
migration codepath. This is helpful for understanding
what is happening in the code, to understand how much
of the migration has already happened.

It may also help catch programmer/configuration errors,
although we should have testing to catch that and not
rely on the programmer watching the logs to catch issues.
Adds checks for the MigrationSystemDictator steps.
feat(ctb): add MigrationSystemDictator checks
TestConfirmationDepth was consistently failing on the HTTP versions of the
op-e2e test. It was failing at the last line that checked the verifier
head block timestamp against the L1 head timestamp. I have changed it to
compare the verifier L1 Origin number against the L1 head number.
Running them sequentially actually turns out to be faster. In addition it
turns out to be very hard to split the tests properly. `go list ./...` which
was the previous approach splits them by package, but we need to split them
by test name. Using `circleci tests glob "**/*.go"` did not work either
becaue it was combining files from different packages.
* Start contract changes for two step withdrawals v2

* Fix maurelian's nits

* Refactor Kelvin's SDK changes; SDK/integration test time

* Merge w/ `develop`

* Add tests for changed output proposal *after* proving the withdrawal hash

Whoops

* Gas snapshot / comments

* Regenerate bindings; Fix E2E Withdrawal test; Add extra indexed params to `WithdrawalProven`

* Start fixing indexer integration tests

* Fix conflicts; Start updating mark's new `op-e2e` withdrawal action tests

* Remove proposal timestamp >= withdrawal timestamp check

* Fix mark's `op-e2e` test + add docs to `proveMessage` in SDK

* Update changeset

* Lint contracts

* Merge with `develop`

* Re-order mapping declarations so that `finalizedWithdrawals` retains its old storage slot

* Merge with `develop`

* Start updating devnet tests

* Fix devnet tests

* Update ERC20 binding

* Clean up SDK

* Merge with `develop`

* Remove `integration-tests-bedrock` package

* Add check for equality between locally computed withdrawal hash vs. on-chain withdrawal hash

* Add Kelvin's check + complimentary test

Update bindings

* Fix finalization period in `TestCrossLayerUser`
op-chain-ops: add logging to db migration
@changeset-bot
Copy link

changeset-bot bot commented Nov 14, 2022

🦋 Changeset detected

Latest commit: 8f7a40c

The changes in this PR will be included in the next version bump.

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

@github-actions github-actions bot added 2-reviewers A-pkg-contracts-bedrock Area: packages/contracts-bedrock A-pkg-sdk Area: packages/sdk labels Nov 14, 2022
@mergify
Copy link
Contributor

mergify bot commented Nov 14, 2022

⚠️ The sha of the head commit of this PR conflicts with #3991. Mergify cannot evaluate rules on this PR. ⚠️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-pkg-contracts-bedrock Area: packages/contracts-bedrock A-pkg-sdk Area: packages/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants