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
Open
philippecamacho
wants to merge
32
commits into
celo-integration-rebase-14.1
Choose a base branch
from
philippe/fallback-contracts-change-new
base: celo-integration-rebase-14.1
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
d624920
Changes to the inbox contract. Test TestBatchInbox_SwitchActiveBatche…
philippecamacho 2f577a9
Fix logical error in the Inbox contract.
philippecamacho 5cd563c
Fix golint errors
philippecamacho 621381c
Remove unneeded changes.
philippecamacho c6d0463
Fix configuration
philippecamacho 204b7f9
Inbox contract unit test.
philippecamacho 506396c
Remove integration test for Inbox contract that was confusing.
philippecamacho 2959348
Fix solidity formatting.
philippecamacho df974d8
Fix configuration
philippecamacho 487ffef
Run the L1 contracts tests in CI.
philippecamacho cc9fc85
Pinpoint forge version
philippecamacho 6d1e500
Trying to fix configuration issue for e2e tests.
philippecamacho 1fc082c
Small configuration change.
philippecamacho 17b53ca
Swapping batchers in batch inbox contract constructor.
philippecamacho eb79980
Remove redundant concept of preApprovedBatcherKey.
philippecamacho 82c66f0
Document BatchInbox.sol contract.
philippecamacho 4db44a4
Add a test to ensure the TEE and non TEE batchers addresses are diffe…
philippecamacho 6c255c2
Check formatting before running the tests.
philippecamacho a0a3974
Ensure the devnet uses two different addresses for the TEE and non TE…
philippecamacho c5675ec
Improve handling of configuration variables.
philippecamacho 6088792
Allow two batcher having the same address.
philippecamacho dcbdf2f
Only authenticate batcher in Inbox contract for the non TEE case.
philippecamacho 0cec006
Change Inbox contract API: the tee batcher address does not need to b…
philippecamacho 9cbd4a3
All tests should be passing.
philippecamacho c0bbe4a
Skip Circle CI tests that are failing.
philippecamacho d65e5f4
Fix more Circle CI failures.
philippecamacho 208d199
Skip acceptance tests.
philippecamacho c1615ab
Fix Circle CI config.yml.
philippecamacho 57cd566
Fix github devnet tests workflow.
philippecamacho 692ea92
Remove test about rotating batcher key as this logic (will) happen in…
philippecamacho 9af9291
Use Owner pattern to switch betweern batcher.
philippecamacho f08d28d
Remove redundant field 'teeBatcher'.
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
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.