Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ctb): Loosen re-prove requirements in the OptimismPortal #4866

Merged
merged 6 commits into from
Feb 13, 2023

Conversation

clabby
Copy link
Member

@clabby clabby commented Feb 13, 2023

Overview

Loosens the requirements to re-prove a withdrawal transaction in the OptimismPortal

Tests
Existing coverage for this change (output changed at same l2OutputIndex):

New tests for re-proving under a different l2OutputIndex:

  • test_proveWithdrawalTransaction_replayProveChangedOutputRootAndOutputIndex_succeeds

Metadata
Fixes CLI-3332

@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2023

🦋 Changeset detected

Latest commit: 4047259

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

This PR includes changesets to release 5 packages
Name Type
@eth-optimism/contracts-bedrock Patch
@eth-optimism/actor-tests Patch
@eth-optimism/sdk Patch
@eth-optimism/chain-mon Patch
@eth-optimism/message-relayer Patch

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

@clabby
Copy link
Member Author

clabby commented Feb 13, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@clabby clabby marked this pull request as ready for review February 13, 2023 16:43
@clabby clabby requested a review from a team as a code owner February 13, 2023 16:43
@codecov
Copy link

codecov bot commented Feb 13, 2023

Codecov Report

Merging #4866 (4047259) into develop (e09468b) will decrease coverage by 0.74%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #4866      +/-   ##
===========================================
- Coverage    39.78%   39.05%   -0.74%     
===========================================
  Files          321      300      -21     
  Lines        19292    18663     -629     
  Branches       761      646     -115     
===========================================
- Hits          7676     7288     -388     
+ Misses       11046    10803     -243     
- Partials       570      572       +2     
Flag Coverage Δ
bedrock-go-tests 34.74% <ø> (-0.06%) ⬇️
contracts-bedrock-tests 48.17% <ø> (ø)
contracts-tests 98.86% <ø> (ø)
core-utils-tests ?
dtl-tests 47.15% <ø> (ø)
fault-detector-tests 33.88% <ø> (ø)
sdk-tests 38.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../contracts-bedrock/contracts/L1/OptimismPortal.sol 87.17% <ø> (ø)
op-node/p2p/discovery.go 65.52% <0.00%> (-2.39%) ⬇️
op-node/p2p/rpc_server.go 67.62% <0.00%> (-1.64%) ⬇️
packages/core-utils/src/optimism/op-provider.ts
packages/core-utils/src/common/bn.ts
packages/core-utils/src/optimism/hashing.ts
packages/core-utils/src/common/hex-strings.ts
packages/core-utils/src/external/index.ts
packages/core-utils/src/external/bcfg/index.ts
packages/core-utils/src/optimism/index.ts
... and 15 more

@mergify
Copy link
Contributor

mergify bot commented Feb 13, 2023

This PR has been added to the merge queue, and will be merged soon.

@mergify
Copy link
Contributor

mergify bot commented Feb 13, 2023

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot merged commit 0c0337a into develop Feb 13, 2023
@mergify mergify bot deleted the clabby/ctb/loosen-reprove-reqs branch February 13, 2023 22:48
@mergify mergify bot removed the on-merge-train label Feb 13, 2023
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.

2 participants