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

Update the contracts submodule to v3.0.0 #724

Merged
merged 6 commits into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contracts
Submodule contracts updated 99 files
+0 −8 .env.sample.goerli
+5 −0 .env.sample.testnode
+3 −1 .gitignore
+2 −2 LICENSE.md
+3 −3 README.md
+11 −1 audit-ci.jsonc
+45 −0 deploy/ExpressLaneAuction.js
+4 −2 foundry.toml
+20 −0 hardhat.config.ts
+2 −3 package.json
+17 −6 scripts/boldUpgradeCommon.ts
+22 −35 scripts/boldUpgradeFunctions.ts
+2 −0 scripts/config.ts.example
+1 −0 scripts/deploymentUtils.ts
+175 −39 scripts/executeBoldUpgrade.ts
+17 −0 scripts/files/arb1DeployedContracts.json
+2 −0 scripts/files/configs/arb1.ts
+6 −4 scripts/files/configs/local.ts
+10 −1 scripts/files/configs/nova.ts
+4 −2 scripts/files/configs/sepolia.ts
+17 −0 scripts/files/novaDeployedContracts.json
+15 −17 scripts/files/sepoliaDeployedContracts.json
+1 −2 scripts/populateLookup.ts
+2 −0 scripts/rollupCreation.ts
+3 −0 scripts/testUpgrade.bash
+1 −1 slither.db.json
+3 −4 src/assertionStakingPool/EdgeStakingPool.sol
+1 −1 src/assertionStakingPool/interfaces/IEdgeStakingPool.sol
+2 −2 src/bridge/AbsBridge.sol
+10 −4 src/bridge/AbsInbox.sol
+6 −2 src/bridge/ERC20Bridge.sol
+6 −2 src/bridge/IInboxBase.sol
+3 −0 src/bridge/Inbox.sol
+10 −11 src/bridge/SequencerInbox.sol
+1 −225 src/challengeV2/EdgeChallengeManager.sol
+1 −1 src/challengeV2/IAssertionChain.sol
+239 −0 src/challengeV2/IEdgeChallengeManager.sol
+1 −57 src/challengeV2/libraries/ChallengeEdgeLib.sol
+2 −113 src/challengeV2/libraries/EdgeChallengeManagerLib.sol
+176 −0 src/challengeV2/libraries/Structs.sol
+137 −0 src/express-lane-auction/Balance.sol
+26 −0 src/express-lane-auction/Burner.sol
+70 −0 src/express-lane-auction/ELCRound.sol
+31 −0 src/express-lane-auction/Errors.sol
+567 −0 src/express-lane-auction/ExpressLaneAuction.sol
+441 −0 src/express-lane-auction/IExpressLaneAuction.sol
+118 −0 src/express-lane-auction/RoundTimingInfo.sol
+18 −0 src/libraries/CallerChecker.sol
+3 −0 src/libraries/Error.sol
+2 −2 src/libraries/GasRefundEnabled.sol
+44 −0 src/mocks/CreateTest.sol
+200 −0 src/mocks/HostioTest.sol
+1 −1 src/mocks/SimpleOneStepProofEntry.sol
+2 −1 src/precompiles/ArbSys.sol
+1 −1 src/precompiles/ArbWasm.sol
+53 −104 src/rollup/BOLDUpgradeAction.sol
+23 −5 src/rollup/BridgeCreator.sol
+3 −1 src/rollup/Config.sol
+1 −1 src/rollup/IRollupCore.sol
+4 −4 src/rollup/RollupAdminLogic.sol
+1 −1 src/rollup/RollupCore.sol
+1 −1 src/rollup/RollupLib.sol
+1 −0 src/rollup/RollupUserLogic.sol
+1 −1 test/MockAssertionChain.sol
+2 −0 test/Rollup.t.sol
+4 −0 test/challengeV2/MerkleTreeAccumulatorLib.t.sol
+26 −7 test/e2e/orbitChain.ts
+21 −0 test/foundry/AbsBridge.t.sol
+60 −2 test/foundry/AbsInbox.t.sol
+36 −1 test/foundry/AbsOutbox.t.sol
+24 −0 test/foundry/AbsRollupEventInbox.t.sol
+25 −0 test/foundry/BridgeCreator.t.sol
+59 −0 test/foundry/ERC20Inbox.t.sol
+103 −82 test/foundry/ERC20Outbox.t.sol
+2,254 −0 test/foundry/ExpressLaneAuction.t.sol
+232 −0 test/foundry/ExpressLaneBalance.t.sol
+48 −0 test/foundry/ExpressLaneBurner.t.sol
+155 −0 test/foundry/ExpressLaneELCRound.t.sol
+324 −0 test/foundry/ExpressLaneRoundTiming.t.sol
+50 −4 test/foundry/RollupCreator.t.sol
+91 −16 test/foundry/SequencerInbox.t.sol
+18 −0 test/foundry/util/NoZeroTransferToken.sol
+1 −1 test/signatures/RollupAdminLogic
+1 −1 test/signatures/RollupCreator
+2 −0 test/stakingPool/AssertionStakingPool.t.sol
+17 −1 test/storage/Bridge
+12 −1 test/storage/CacheManager
+19 −1 test/storage/ERC20Bridge
+14 −1 test/storage/ERC20Inbox
+10 −1 test/storage/ERC20Outbox
+17 −1 test/storage/EdgeChallengeManager
+14 −1 test/storage/Inbox
+8 −1 test/storage/OneStepProofEntry
+10 −1 test/storage/Outbox
+35 −1 test/storage/RollupAdminLogic
+35 −1 test/storage/RollupCore
+35 −1 test/storage/RollupUserLogic
+17 −1 test/storage/SequencerInbox
+0 −21 yarn.lock
8 changes: 4 additions & 4 deletions solgen/go/assertionStakingPoolgen/assertionStakingPoolgen.go

Large diffs are not rendered by default.

238 changes: 104 additions & 134 deletions solgen/go/bridgegen/bridgegen.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion solgen/go/chaingen/chaingen.go

Large diffs are not rendered by default.

66 changes: 64 additions & 2 deletions solgen/go/challengeV2gen/challengeV2gen.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions solgen/go/express_lane_auctiongen/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
load("@rules_go//go:def.bzl", "go_library")

go_library(
name = "express_lane_auctiongen",
srcs = ["express_lane_auctiongen.go"],
importpath = "github.com/offchainlabs/bold/solgen/go/express_lane_auctiongen",
visibility = ["//visibility:public"],
deps = [
"@com_github_ethereum_go_ethereum//:go-ethereum",
"@com_github_ethereum_go_ethereum//accounts/abi",
"@com_github_ethereum_go_ethereum//accounts/abi/bind",
"@com_github_ethereum_go_ethereum//common",
"@com_github_ethereum_go_ethereum//core/types",
"@com_github_ethereum_go_ethereum//event",
],
)
7,693 changes: 7,693 additions & 0 deletions solgen/go/express_lane_auctiongen/express_lane_auctiongen.go

Large diffs are not rendered by default.

177 changes: 175 additions & 2 deletions solgen/go/librariesgen/librariesgen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading