-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Standard L2 Genesis #12057
Closed
Closed
Standard L2 Genesis #12057
Changes from 75 commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
03251e0
wip: holocene contracts
tynes f41a1d0
progress
tynes c6fb79a
l1xdm
tynes e4be05a
standard bridge
tynes 67a7544
erc721bridge
tynes 50d5004
fee vaults
tynes 3cdb688
cleanup
tynes faec331
portal interop: cleanup
tynes 3714c5c
cleanup
tynes e8fe9e8
contracts: fix erc721 factory tests
tynes 3bc0e3d
contracts: more cleanup
tynes 9849bc1
contracts: L2xdm tests passing
tynes 8c7e3ab
contracts: l2 standard bridge tests
tynes a5cfa46
tests: sequencer fee vault passes
tynes 34dbe19
tests: sequencer fee vault passes
tynes 6b4154c
tests: more passing
tynes be6c5ad
contracts: portal tests pass
tynes edd9ddf
fix build
tynes dd7dc5c
messenger: fixup
tynes c8a2696
messenger fixup
tynes 8a6130a
standard bridge: fixup
tynes 86da2d7
fixes
tynes 227807e
progress
tynes e1251f3
more tests passing
tynes fb1e667
fixups
tynes 681c7e3
tests: cleanup
tynes eab6a20
more fixes
tynes 84ad5d3
more fixup
tynes c060567
more fixes
tynes cb1a9c7
more fixes
tynes 72477cb
tests: all passing
tynes a4c146b
tests
tynes f220efc
fix: ERC721Bridge spacer offset
maurelian 1cf87c5
fix: lint
maurelian 2a1b15f
fix: Place comment above @custom:semver
maurelian f008055
chore: Update semver-lock
maurelian df82df4
add some todos
maurelian 5251780
test: Add fuzz test for OptimismPortal2 setConfig
maurelian 22584e6
test: OptimismPortalInterop - test all auth failures in one fuzz test
maurelian 3b39914
fix: Portal2 iface
maurelian d6e03cb
wip: Adding OptimismPortal2.upgrade() tests
maurelian 059cfad
feat: Set upgrader to superchainProxyAdminOwner in DeploySuperchain.s…
maurelian 498bdf6
fix some ifaces
maurelian 3b98344
Some iface fixes
maurelian c5f9b5a
More iface fixes
maurelian dfc3a48
fix solc warning
maurelian 293fe3e
feat: Add setFeeVaultConfig
maurelian 2577bd2
wip adding Roles struct with feeadmin
maurelian 6c448bf
Merge branch 'develop' into feat/holocene-contracts
maurelian d5a4d5d
update forge-std
maurelian 0115bac
feat: Add feeAdmin to new SystemConfig.Roles struct
maurelian 7039c8e
feat: Fix DeployOPChain init assertions
maurelian 96f397d
feat: Update name to L1OptimismMintableERC20Factory
maurelian fd9f281
fix: testFuzz_upgrade
maurelian ffab4b9
rename to L1OpMintableErc20Factory
maurelian 2dc6e27
fix: interace fixes
maurelian 2db3193
Merge branch 'develop' into feat/holocene-contracts
maurelian ee8b8f1
fix: delete unused functions
maurelian dd2805f
fix: spacer naming
maurelian eda3318
fix some semvers
maurelian af21912
fix semvers
maurelian bd909bc
chore: gas benchmarks
maurelian e695518
fix spacer
maurelian 358995e
fix: interfaces
maurelian 0bffa48
Remove outdated comment
maurelian 252937a
fix: interfaces
maurelian b953c94
fix: IL1Block
maurelian 925ea52
snapshots and semver-lock
maurelian 62a0c06
fix: unused imports
maurelian 0e6556d
fix: spacer and semver
maurelian df46145
fix: L120factory name
maurelian 2b22127
op-deployer: Add FeeAdmin
maurelian d4080ca
semgrep: More flexible string.concat usage
maurelian 753e044
update todo notes
maurelian 156b1f9
fix: Semgrep rules and source formatting
maurelian c44edb5
Remove unused storage and immutable checks from TestApplyGenesisStrategy
maurelian 7ed2ac3
fix: test_upgrade_correctEvent_succeeds bug
maurelian c604a6d
remove unused console import
maurelian 989dd48
fix: Specs for SystemConfigInterop abi
maurelian 62d765f
fix: semver diffs on required contracts
maurelian ce7923b
remove unused getEIP1967ImplementationAddress func
maurelian 8f1b1c5
fix: layout in StandardBridge
maurelian 0bfec69
fix: go lint
maurelian 834e089
fix: layout in standard bridge
maurelian 83f6ee5
feat: use _disableInitializers on L1StandardBridge and SuperchainConfig
maurelian 3bb3690
fix: L1xDM spacers
maurelian 7c507b4
feat: Add missing natspec
maurelian 296fdc8
feat: Add missing natspec
maurelian f1b34db
fix: Spacer to pad out L1StandardBridge _initialized slot
maurelian 02314dc
feat: Make base CDM abstract, remove its snapshots
maurelian 806411c
fix: spacer sizing on L1CDM
maurelian 461fde3
fix: L1StandardBridge init check
maurelian 0f0f840
fix: spacer validations
maurelian 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 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 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 |
---|---|---|
@@ -1,17 +1,17 @@ | ||
GasBenchMark_L1BlockInterop_DepositsComplete:test_depositsComplete_benchmark() (gas: 7567) | ||
GasBenchMark_L1BlockInterop_DepositsComplete_Warm:test_depositsComplete_benchmark() (gas: 5567) | ||
GasBenchMark_L1BlockInterop_SetValuesInterop:test_setL1BlockValuesInterop_benchmark() (gas: 175677) | ||
GasBenchMark_L1BlockInterop_DepositsComplete:test_depositsComplete_benchmark() (gas: 7545) | ||
GasBenchMark_L1BlockInterop_DepositsComplete_Warm:test_depositsComplete_benchmark() (gas: 5545) | ||
GasBenchMark_L1BlockInterop_SetValuesInterop:test_setL1BlockValuesInterop_benchmark() (gas: 175655) | ||
GasBenchMark_L1BlockInterop_SetValuesInterop_Warm:test_setL1BlockValuesInterop_benchmark() (gas: 5099) | ||
GasBenchMark_L1Block_SetValuesEcotone:test_setL1BlockValuesEcotone_benchmark() (gas: 158531) | ||
GasBenchMark_L1Block_SetValuesEcotone_Warm:test_setL1BlockValuesEcotone_benchmark() (gas: 7597) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_0() (gas: 369280) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_1() (gas: 2967420) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 564398) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_1() (gas: 4076613) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_0() (gas: 467098) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_1() (gas: 3512802) | ||
GasBenchMark_L1StandardBridge_Finalize:test_finalizeETHWithdrawal_benchmark() (gas: 72664) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_0() (gas: 367195) | ||
GasBenchMark_L1CrossDomainMessenger:test_sendMessage_benchmark_1() (gas: 2965335) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_0() (gas: 560201) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositERC20_benchmark_1() (gas: 4072416) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_0() (gas: 462680) | ||
GasBenchMark_L1StandardBridge_Deposit:test_depositETH_benchmark_1() (gas: 3508556) | ||
GasBenchMark_L1StandardBridge_Finalize:test_finalizeETHWithdrawal_benchmark() (gas: 70470) | ||
GasBenchMark_L2OutputOracle:test_proposeL2Output_benchmark() (gas: 92973) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark() (gas: 68422) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark_1() (gas: 68986) | ||
GasBenchMark_OptimismPortal:test_proveWithdrawalTransaction_benchmark() (gas: 155610) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark() (gas: 68344) | ||
GasBenchMark_OptimismPortal:test_depositTransaction_benchmark_1() (gas: 68908) | ||
GasBenchMark_OptimismPortal:test_proveWithdrawalTransaction_benchmark() (gas: 155647) |
This file contains 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the proxy you do the following check
This could also be useful here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
expectRevert
is not yet supported in Go. I will add a todo and some uncommented code in both cases instead.