Skip to content

op-challenger: Integrate challenging L2 block numbers#10446

Merged
refcell merged 3 commits intodevelopfrom
aj/dispute-block-num-part-2
May 8, 2024
Merged

op-challenger: Integrate challenging L2 block numbers#10446
refcell merged 3 commits intodevelopfrom
aj/dispute-block-num-part-2

Conversation

@ajsutton
Copy link
Contributor

@ajsutton ajsutton commented May 8, 2024

Description

Updates op-challenger logic to check if the l2 block number has been challenged before participating in a game (ignore game if it has been successfully challenged) and to check if the l2 block number can be challenged before playing.

The actual contract bindings are currently just setup for compatibility with the existing contracts which don't support directly challenging the l2 block number. This should result in no change in behaviour. Once the contract changes land a follow up PR can add support for actually calling the new functions.

Builds on #10445

Tests

Updated unit tests. e2e tests should confirm backwards compatibility works...

Metadata

@ajsutton ajsutton requested a review from a team as a code owner May 8, 2024 05:10
@ajsutton ajsutton requested review from Inphi and axelKingsley and removed request for a team and axelKingsley May 8, 2024 05:10
Copy link
Contributor

@refcell refcell left a comment

Choose a reason for hiding this comment

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

Very nice scaffolding, this puts us in a really good spot.

Base automatically changed from aj/dispute-block-num to develop May 8, 2024 07:39
@refcell refcell added this pull request to the merge queue May 8, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 8, 2024
@refcell refcell added this pull request to the merge queue May 8, 2024
Merged via the queue into develop with commit c41bb73 May 8, 2024
@refcell refcell deleted the aj/dispute-block-num-part-2 branch May 8, 2024 11:24
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