forked from ethereum-optimism/optimism
-
Notifications
You must be signed in to change notification settings - Fork 0
Fallback Inbox contract changes #278
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
Merged
philippecamacho
merged 38 commits into
celo-integration-rebase-14.1
from
philippe/fallback-contracts-change-new
Dec 4, 2025
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
4f7d40e
Changes to the inbox contract. Test TestBatchInbox_SwitchActiveBatche…
philippecamacho 04f063e
Fix logical error in the Inbox contract.
philippecamacho c3764db
Fix golint errors
philippecamacho 90942e0
Remove unneeded changes.
philippecamacho 6b6e3e6
Fix configuration
philippecamacho c5ebcea
Inbox contract unit test.
philippecamacho b236b0f
Remove integration test for Inbox contract that was confusing.
philippecamacho 4112ad8
Fix solidity formatting.
philippecamacho 4156aa8
Fix configuration
philippecamacho 5794792
Run the L1 contracts tests in CI.
philippecamacho 98e871e
Pinpoint forge version
philippecamacho c5056d4
Trying to fix configuration issue for e2e tests.
philippecamacho 2a5bf6c
Small configuration change.
philippecamacho 7d81c15
Swapping batchers in batch inbox contract constructor.
philippecamacho 7ffeeb3
Remove redundant concept of preApprovedBatcherKey.
philippecamacho 02d4e1a
Document BatchInbox.sol contract.
philippecamacho 9534004
Add a test to ensure the TEE and non TEE batchers addresses are diffe…
philippecamacho c69af11
Check formatting before running the tests.
philippecamacho a9e5263
Ensure the devnet uses two different addresses for the TEE and non TE…
philippecamacho 1d47fe2
Improve handling of configuration variables.
philippecamacho 0b9e438
Allow two batcher having the same address.
philippecamacho d3335b0
Only authenticate batcher in Inbox contract for the non TEE case.
philippecamacho a690d58
Change Inbox contract API: the tee batcher address does not need to b…
philippecamacho 166b602
All tests should be passing.
philippecamacho 28a4ef7
Skip Circle CI tests that are failing.
philippecamacho 506ef7d
Fix more Circle CI failures.
philippecamacho 0bf1123
Skip acceptance tests.
philippecamacho 662b0de
Fix Circle CI config.yml.
philippecamacho 1cadc1d
Fix github devnet tests workflow.
philippecamacho d0b5346
Remove test about rotating batcher key as this logic (will) happen in…
philippecamacho 9215f99
Use Owner pattern to switch betweern batcher.
philippecamacho 4dcf626
Remove redundant field 'teeBatcher'.
philippecamacho 758331f
Rename private field of MockBatchAuthenticator.
philippecamacho e8f100b
Move the switching logic between batchers inside the Batch Authentica…
philippecamacho 4bba2f0
Fix pragma solidity version that was causing troubles for deploying t…
philippecamacho 8afba33
Revert erroneous change.
philippecamacho d702f9c
Revert "Revert erroneous change."
philippecamacho c2e24d0
Better fix
philippecamacho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| name: L1 Contracts Tests | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - "celo-integration*" | ||
| - "main" | ||
| - "develop" | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| contracts-test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Foundry | ||
| uses: foundry-rs/foundry-toolchain@v1 | ||
| with: | ||
| version: nightly-654c8f01721e43dbc8a53c7a3b022548cb82b2f9 | ||
|
|
||
| - name: Install Just | ||
| uses: extractions/setup-just@v2 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: '1.23' | ||
|
|
||
| - name: Install dependencies | ||
| working-directory: packages/contracts-bedrock | ||
| run: just install | ||
|
|
||
| - name: Build go-ffi | ||
| working-directory: packages/contracts-bedrock | ||
| run: just build-go-ffi | ||
|
|
||
| - name: Check formatting | ||
| working-directory: packages/contracts-bedrock | ||
| run: forge fmt --check | ||
|
|
||
| - name: Run L1 contracts tests | ||
| working-directory: packages/contracts-bedrock | ||
| run: forge test --match-path "test/L1/*.t.sol" -vv | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.