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

chore: merge upstream v3.0 release changes #42

Merged
merged 270 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
146a3ef
fix: env sample name
gzeoneth Jun 21, 2024
b35884e
temp: use a default l1 rpc
gzeoneth Jun 21, 2024
640e545
fix: search a smaller range with getLogs
gzeoneth Jun 21, 2024
8e4ef6a
chore: make testUpgrade executable
gzeoneth Jun 21, 2024
fda3a87
chore: rename l1Timelock to excessStakeReceiver
gzeoneth Jun 21, 2024
ec06528
feat: sepolia config
gzeoneth Jun 21, 2024
762a523
feat: verify bold upgrade deployment
gzeoneth Jun 21, 2024
b5046a2
feat: use v2 as patched old rollup logic
gzeoneth Jun 21, 2024
c60647e
fix: wait for 5 confirmation before verify
gzeoneth Jun 21, 2024
509035d
fix: disable contract verification in ci
gzeoneth Jun 24, 2024
34891e5
fix: env sample
gzeoneth Jun 24, 2024
ba16c22
fix: make testUpgrade script exit on failure
gzeoneth Jun 24, 2024
6fd8c72
fix: bad import
gzeoneth Jun 24, 2024
d6e62df
chore: sepolia bold upgrade deployment
gzeoneth Jun 25, 2024
45453ca
ci: disable e2e test
gzeoneth Jun 27, 2024
63ba9eb
chore: bump npm packages
gzeoneth Jun 27, 2024
06533e6
chore: ignore npm audit issues
gzeoneth Jun 27, 2024
13dad6b
ci: bump node version to 18
gzeoneth Jun 27, 2024
7a656de
ci: remove node 16 support
gzeoneth Jun 27, 2024
c03101f
Merge pull request #196 from OffchainLabs/bold-merge-npm
gzeoneth Jun 28, 2024
e1d9621
fix upgrade test
godzillaba Jul 1, 2024
9f0c8fe
bump forge test gas limit
godzillaba Jul 1, 2024
e9d500d
Merge branch 'develop' into ha/bold-merge-fix-conflicts
godzillaba Jul 2, 2024
1d8263f
cachemanager storage
godzillaba Jul 2, 2024
02fecbf
Merge branch 'ha/forge-test-gaslimit' into ha/bold-merge-fix-conflicts
godzillaba Jul 2, 2024
6b4857f
update slither db
godzillaba Jul 2, 2024
6875293
Added express lane auction contracts draft
yahgwai Jul 3, 2024
883bfc1
copy over contract-tests.yml
godzillaba Jul 8, 2024
cc63791
Merge branch 'develop' into ha/bold-merge-fix-conflicts
godzillaba Jul 8, 2024
3a71d61
add bold upgrade test back
godzillaba Jul 8, 2024
9f7b7c9
copy over rollup user and admin logics from bold-merge branch
godzillaba Jul 8, 2024
27b86fd
fix unit test CI and bump RollupUserLogic compiler version
godzillaba Jul 8, 2024
3c62387
ci: disable e2e
gzeoneth Jul 9, 2024
1839465
ci: disable solhint
gzeoneth Jul 9, 2024
4ba1445
Merge pull request #199 from OffchainLabs/ha/bold-merge-fix-conflicts
gzeoneth Jul 9, 2024
7d0fca1
Add script that gets metadata hashses for selected contracts
gvladika Jul 12, 2024
8022228
fix import in bold configs
godzillaba Jul 15, 2024
ece2d89
Merge remote-tracking branch 'origin/develop' into bold-merge
gzeoneth Jul 18, 2024
1f69f84
chore: update slither db
gzeoneth Jul 18, 2024
e1738b8
Updated express lane interface and added more tests
yahgwai Jul 18, 2024
bdae989
Addressed more todos
yahgwai Jul 18, 2024
b20f9e9
Merge branch 'develop' into express-lane-auction
yahgwai Jul 18, 2024
5e90ab3
Renamed auctioneer to auction clerk
yahgwai Jul 18, 2024
abc71fa
Updates from spec
yahgwai Jul 19, 2024
f7a0019
Balance2 usage and addressed more todos
yahgwai Jul 22, 2024
97e387c
Updated to safeTransfer
yahgwai Jul 22, 2024
9d9c199
Fixed strick equality
yahgwai Jul 22, 2024
a3bf984
Added testing comments
yahgwai Jul 22, 2024
424f0ac
Formatting
yahgwai Jul 22, 2024
46f20c3
Added slither exceptions
yahgwai Jul 23, 2024
522391c
Test updates and internal lib function
yahgwai Jul 24, 2024
521da55
Added resolvedRounds public and set latestResolvedRound internal
yahgwai Jul 24, 2024
ef2fb0b
Use access control enumerable
yahgwai Jul 24, 2024
1690451
Use functions internally, make others external
yahgwai Jul 24, 2024
f830383
Formatting
yahgwai Jul 24, 2024
60f6080
Dont reset withdrawal round after finalized withdrawal - just on deposit
yahgwai Jul 24, 2024
8251c24
Added domain comment
yahgwai Jul 24, 2024
d1ac7d3
Added domain value to express lane auction
yahgwai Jul 25, 2024
e4697d7
Added todos based on code review
yahgwai Jul 25, 2024
eb63042
Docs updates
yahgwai Jul 25, 2024
54e7aca
Beginnings of separate balance testing
yahgwai Jul 26, 2024
a2fbc1d
Finished balance tests
yahgwai Jul 29, 2024
10826fd
Merge pull request #220 from OffchainLabs/release-2.1
gzeoneth Jul 30, 2024
261e1b0
Added elc round specific tests
yahgwai Jul 30, 2024
92e64ef
Docs and testing for resolved rounds
yahgwai Jul 30, 2024
fbbcef0
Merge pull request #221 from OffchainLabs/develop
gzeoneth Jul 31, 2024
89fbaa3
Cleaned todos in testing file
yahgwai Jul 31, 2024
5300676
Addressed more todos
yahgwai Aug 1, 2024
2f647c8
Formatting
yahgwai Aug 2, 2024
971ab70
Slither updates
yahgwai Aug 2, 2024
fa50fbf
Added transferrer setting first draft
yahgwai Aug 2, 2024
01c3669
Updates from slither mutate
yahgwai Aug 5, 2024
30b4dd0
Set transferrer into interface
yahgwai Aug 5, 2024
777b58e
Merge branch 'express-lane-auction-2' into express-lane-auction-3
yahgwai Aug 5, 2024
97e698d
Added alternative transferors and tests
yahgwai Aug 5, 2024
a63bdee
Comment update
yahgwai Aug 5, 2024
2def378
Removed todo
yahgwai Aug 5, 2024
aa37d52
chore: verification improvements
gzeoneth Aug 6, 2024
9565035
Added round timing setter
yahgwai Aug 6, 2024
424d732
Remove comment
yahgwai Aug 6, 2024
ee70432
Removed unneeded admin roles
yahgwai Aug 6, 2024
a599fa1
Removed struct params usage
yahgwai Aug 6, 2024
52b983f
Merge from base
yahgwai Aug 6, 2024
74821a2
Merge from base
yahgwai Aug 6, 2024
fad469d
Delete todo
yahgwai Aug 6, 2024
2cc0bf3
Merge from base
yahgwai Aug 6, 2024
314d593
Merge from base
yahgwai Aug 6, 2024
af7ef12
chore: change rinkeby to holesky
gzeoneth Aug 7, 2024
2804713
chore: max data size warning
gzeoneth Aug 7, 2024
4716d66
refactor: use _isRunningOnArbitrum
gzeoneth Aug 7, 2024
ba1ef16
chore: additional logging
gzeoneth Aug 7, 2024
87d578a
Added 712 signing
yahgwai Aug 8, 2024
f2e1e4f
Formatting and test update
yahgwai Aug 8, 2024
abef42d
Reset to main branch and updated audit ci
yahgwai Aug 9, 2024
39d7223
Try matrix audit versions
yahgwai Aug 9, 2024
157b67b
Try v4
yahgwai Aug 9, 2024
3c3a00b
Use raw restore
yahgwai Aug 9, 2024
43ffc13
Use github restore branch
yahgwai Aug 9, 2024
79eb694
ci: remove restore node modules action
fionnachan Aug 9, 2024
42c8597
update cache key
fionnachan Aug 9, 2024
a415f2a
Merge pull request #229 from fionnachan/update-install-action
yahgwai Aug 9, 2024
abb08be
Merge from develop
yahgwai Aug 9, 2024
47989be
Add option to enable CacheManager through UpgradeExecutor
gvladika Aug 12, 2024
99c07a7
Use arb owner public to poll for chain owners
gvladika Aug 12, 2024
811a4b2
Update natspec
gvladika Aug 13, 2024
0cfe592
Update audit-ci.json
gvladika Aug 13, 2024
89f9a33
Merge branch 'develop' into verify-improve
gzeoneth Aug 13, 2024
5afd437
fix: lint
gzeoneth Aug 13, 2024
56ce34c
ci: upload 4bytes
gzeoneth Aug 15, 2024
8b6032e
ci: move upload 4bytes to later step
gzeoneth Aug 15, 2024
d07e24e
ci: only show non dupe 4bytes uploaded
gzeoneth Aug 15, 2024
609f418
chore: make upload-4bytes yarn action
gzeoneth Aug 15, 2024
60b3905
chore: rename to test:update
gzeoneth Aug 15, 2024
b08b1d4
Merge pull request #228 from OffchainLabs/fix-branch
gzeoneth Aug 15, 2024
057fdb5
Merge branch 'develop' into ci-upload-4bytes
gzeoneth Aug 15, 2024
0529d2c
chore: ignore axios audit issue
gzeoneth Aug 15, 2024
1e8d6f5
ci: try fix 4844 test
gzeoneth Aug 15, 2024
4c53cf5
Revert "ci: try fix 4844 test"
gzeoneth Aug 15, 2024
67bf109
feat: also migrate anyTrustFastConfirmer if existed (#233)
gzeoneth Aug 15, 2024
165134b
Merge remote-tracking branch 'origin/develop' into bold-merge
gzeoneth Aug 15, 2024
28fc050
Merge pull request #234 from OffchainLabs/ci-upload-4bytes
gzeoneth Aug 15, 2024
ad23b04
Merge branch 'develop' into bold-merge
gzeoneth Aug 15, 2024
795ea3e
Updated NotTransferor address to match NotExpressLaneController
yahgwai Aug 15, 2024
4301639
Formatting
yahgwai Aug 15, 2024
926b264
Added bid const hash
yahgwai Aug 15, 2024
e0fb4ed
Comment update
yahgwai Aug 15, 2024
d1cce13
Merge pull request #226 from OffchainLabs/express-lane-auction-round-…
yahgwai Aug 15, 2024
89dbece
Merge from express-lane-auction-2
yahgwai Aug 15, 2024
e4d85e1
Merge pull request #227 from OffchainLabs/express-lane-auction-712
yahgwai Aug 15, 2024
ae50531
Merge from express-lane-auction-2
yahgwai Aug 15, 2024
d4043bd
Merge pull request #224 from OffchainLabs/express-lane-auction-3
yahgwai Aug 15, 2024
b3a281b
Merge pull request #222 from OffchainLabs/express-lane-auction-2
yahgwai Aug 15, 2024
1bbd922
test: fix
gzeoneth Aug 15, 2024
6cb662c
Merge branch 'develop' into creator-natspec
gzeoneth Aug 15, 2024
a845c98
Merge branch 'develop' into verify-improve
gzeoneth Aug 15, 2024
2bcd282
Merge pull request #232 from OffchainLabs/creator-natspec
gzeoneth Aug 15, 2024
c895c61
Merge branch 'develop' into get-metadata
gzeoneth Aug 15, 2024
72394e0
Merge branch 'develop' into verify-improve
gzeoneth Aug 15, 2024
4c63341
Merge branch 'develop' into cache-mngr-setup
gzeoneth Aug 15, 2024
4cbf68f
Merge pull request #225 from OffchainLabs/verify-improve
gzeoneth Aug 15, 2024
2b88dfb
Merge branch 'develop' into cache-mngr-setup
gzeoneth Aug 15, 2024
d145c07
Factor out round timing interval interanl
yahgwai Aug 15, 2024
4274a31
Merge branch 'express-lane-auction' of https://github.com/OffchainLab…
yahgwai Aug 15, 2024
21d0255
Merge pull request #231 from OffchainLabs/cache-mngr-setup
gzeoneth Aug 15, 2024
e54bf02
Refactored the round timing info setting to use shared internal func
yahgwai Aug 15, 2024
1ae3d10
CR updates
yahgwai Aug 15, 2024
d6fbc49
More updates from CR
yahgwai Aug 15, 2024
29f449a
Update src/express-lane-auction/ExpressLaneAuction.sol
yahgwai Aug 15, 2024
34b5da7
Merge from remote
yahgwai Aug 15, 2024
d9c8dc9
Updated shadow variable name
yahgwai Aug 15, 2024
5deee6d
feat: bold configs (#223)
godzillaba Aug 15, 2024
5f288d7
Added int offset
yahgwai Aug 15, 2024
6c60e03
Merge remote-tracking branch 'origin/develop' into get-metadata
gzeoneth Aug 16, 2024
3411f93
feat: check integrity before outputing metadata hashes
gzeoneth Aug 16, 2024
79a206d
Merge pull request #212 from OffchainLabs/get-metadata
gzeoneth Aug 16, 2024
9466f1c
fix: formating and enable checks in ci (#208)
gzeoneth Aug 16, 2024
06a7aeb
Merge remote-tracking branch 'origin/develop' into bold-merge
gzeoneth Aug 16, 2024
c8de1f8
Updated round timing tests
yahgwai Aug 16, 2024
6f4b1d4
fix: orbit ts (#235)
gzeoneth Aug 16, 2024
70e22a7
Updated comment
yahgwai Aug 16, 2024
fb5fe04
Updated comments
yahgwai Aug 16, 2024
180262a
Merge pull request #237 from OffchainLabs/express-lane-auction-int-of…
yahgwai Aug 16, 2024
bc7a334
Updates from goran's cr
yahgwai Aug 17, 2024
fbc5565
Slither update
yahgwai Aug 17, 2024
acf77b7
Formatting
yahgwai Aug 17, 2024
0134e49
Merge from develop
yahgwai Aug 17, 2024
5766ac5
Removed set beneficiary
yahgwai Aug 19, 2024
e33c353
Updated comment
yahgwai Aug 19, 2024
9dc19d2
Public to external
yahgwai Aug 20, 2024
a41681e
Added balance at round functions
yahgwai Aug 21, 2024
35e3a46
Added specific boundary conditions for balance test as fuzzing seemed…
yahgwai Aug 21, 2024
a93c464
Merge branch 'express-lane-auction' into express-lane-auction-balance…
gzeoneth Aug 21, 2024
93272e0
Removed out of date comment
yahgwai Aug 21, 2024
13854a5
Balance updates from audit review
yahgwai Aug 22, 2024
4445b48
minor typo fixes in comments
leeederek Aug 22, 2024
94d1194
Added a burner contract in case the dao decides to burn the funds ins…
yahgwai Aug 22, 2024
94a72ab
Merge pull request #239 from leeederek/patch-1
yahgwai Aug 23, 2024
a40ba2e
Merge pull request #238 from OffchainLabs/express-lane-auction-balanc…
yahgwai Aug 27, 2024
893f40d
Burner tests
yahgwai Aug 27, 2024
e3b24b7
Added comment
yahgwai Aug 27, 2024
e4dd36a
Merge pull request #242 from OffchainLabs/express-lane-auction-burn
yahgwai Aug 27, 2024
f1f862f
Comment update
yahgwai Aug 27, 2024
84ade50
Merge pull request #243 from OffchainLabs/express-lane-auction-audit-fix
yahgwai Aug 27, 2024
f677b58
ci: remove 4844 testnode ref (#241)
gzeoneth Sep 3, 2024
c945d21
Merge branch 'develop' into bold-merge
gzeoneth Sep 3, 2024
70d3670
format: yarn format on c945d216
gzeoneth Sep 3, 2024
e299af5
fix: unused import and visibility (#236)
gzeoneth Sep 3, 2024
a5c2d54
Fix ArbWASM precompile minInitGas() method return types
ganeshvanahalli Sep 6, 2024
dc9ac2a
Merge pull request #246 from OffchainLabs/fix-mininitgas-returntypes
joshuacolvin0 Sep 6, 2024
63a8d60
Revert "Fix ArbWASM precompile minInitGas() method return types"
PlasmaPower Sep 6, 2024
23fc796
Merge pull request #247 from OffchainLabs/revert-246-fix-mininitgas-r…
PlasmaPower Sep 6, 2024
f8959b6
Merge branch 'develop' into bold-merge
godzillaba Sep 11, 2024
419a050
Bold merge merkle comments (#244)
yahgwai Sep 12, 2024
109a8a3
v3.0.0-alpha.0
gzeoneth Sep 12, 2024
a9c5cfb
Merge branch 'develop' into express-lane-auction
gzeoneth Sep 12, 2024
31c0768
Wait for the deployment of upgrade executor (#219)
ImJeremyHe Sep 12, 2024
2376ee7
docs: explain arbOSVersion offset (#245)
gzeoneth Sep 12, 2024
7396313
arbwasm: fix mininitgas return types
tsahee Sep 13, 2024
db9f8b3
Merge branch 'develop' into arbwasm_revert_fix
PlasmaPower Sep 24, 2024
b5ef191
Merge pull request #253 from OffchainLabs/arbwasm_revert_fix
PlasmaPower Sep 24, 2024
a8f0c9f
Fix typo in license (#254)
joshuacolvin0 Sep 30, 2024
10ba0af
fix: orbit e2e (#257)
gzeoneth Sep 30, 2024
b140ed6
test: Add contracts for HostIO gas tests (#255)
gligneul Oct 1, 2024
10c9224
Merge branch 'develop' into express-lane-auction
gzeoneth Oct 2, 2024
a9a222f
fix: eip 7702 (#259)
gzeoneth Oct 9, 2024
a14355b
Merge remote-tracking branch 'origin/develop' into bold-merge
gzeoneth Oct 9, 2024
acb2fd2
fix: format
gzeoneth Oct 9, 2024
738c3dc
chore: format
gzeoneth Oct 24, 2024
1078d09
Revert "chore: format"
gzeoneth Oct 24, 2024
bec7d62
v2.1.1-beta.0
gzeoneth Oct 24, 2024
951326d
fix: nova validators list
gzeoneth Oct 25, 2024
c5d4be6
refactor: bold interfaces (#262)
gzeoneth Nov 13, 2024
addbc08
chore: ex lane deploy (#267)
gzeoneth Nov 21, 2024
fdd5b15
chore: bold deploy script improvements (#263)
gzeoneth Nov 21, 2024
59d3cbd
refactor: simplify BOLDUpgradeAction (#266)
gzeoneth Nov 21, 2024
625ad64
v2.1.1
gzeoneth Nov 25, 2024
1de32cb
Merge pull request #214 from OffchainLabs/express-lane-auction
gzeoneth Nov 25, 2024
72b520a
Merge pull request #269 from OffchainLabs/develop
gzeoneth Nov 25, 2024
3da6393
Merge remote-tracking branch 'origin/develop' into bold-merge with ya…
gzeoneth Nov 26, 2024
0972e25
Updated comment
yahgwai Nov 28, 2024
2c4e794
Update Arbitrum Expansion Program links (#271)
PlasmaPower Dec 9, 2024
78c2272
chore: testnode for bold upgrade (#268)
gzeoneth Dec 9, 2024
778492a
Merge branch 'develop' into bold-merge
gzeoneth Dec 9, 2024
26e3337
fix: new foundry table format
gzeoneth Dec 9, 2024
e10fbbc
Handle "no zero transfer" tokens (#250)
godzillaba Dec 9, 2024
0d9a563
seqMessageIndex gas optimization (#230)
godzillaba Dec 9, 2024
2c72296
chore: effectively disableing delay buffer (#275)
gzeoneth Dec 10, 2024
2b13047
refactor: move hardcoded value to config (#270)
gzeoneth Dec 10, 2024
799837d
use create2 in BridgeCreator (#265)
godzillaba Dec 10, 2024
0a30d49
fix: express lane testReduce (#274)
gzeoneth Dec 10, 2024
c5fe4c8
v3.0.0-beta.0
gzeoneth Dec 10, 2024
ffce9e7
chore: bold-prepare sepolia
gzeoneth Dec 10, 2024
fd714e3
update links in README.md (#276)
0xallan Dec 11, 2024
1bd3840
update links in README.md (#277)
gzeoneth Dec 11, 2024
e0a698e
Merge pull request #278 from OffchainLabs/develop
gzeoneth Dec 11, 2024
85f625b
Merge remote-tracking branch 'origin/main' into bold-merge
gzeoneth Dec 11, 2024
8653940
Merge pull request #193 from OffchainLabs/bold-merge
gzeoneth Dec 11, 2024
427f4b3
test: testSetMaxTimeVariation
gzeoneth Dec 13, 2024
dd7e92d
test: DataTooLarge
gzeoneth Dec 13, 2024
ffe6bf4
test: bridge.updateRollupAddress
gzeoneth Dec 13, 2024
fed9da7
test: outbox updateRollupAddress
gzeoneth Dec 13, 2024
1f83de1
test: outbox
gzeoneth Dec 13, 2024
aaa19f2
test: seqinbox updateRollupAddress
gzeoneth Dec 13, 2024
823955c
test: rei updateRollupAddress
gzeoneth Dec 13, 2024
c7a1238
test: bridge updateRollupAddress 2
gzeoneth Dec 13, 2024
ab06568
test: check SetMaxTimeVariation
gzeoneth Dec 13, 2024
842e3f4
test: seqinbox postUpgradeInit revert
gzeoneth Dec 13, 2024
68cc55a
Merge pull request #280 from OffchainLabs/test-1
gzeoneth Dec 17, 2024
780366a
v3.0.0 (#282)
gzeoneth Dec 30, 2024
814783a
Merge tag 'v3.0.0' into eigenda-v3.0.0
EthenNotEthan Jan 15, 2025
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
5 changes: 5 additions & 0 deletions .env-sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
L1_RPC_URL="http://127.0.0.1:8545"
L1_PRIV_KEY="0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"
CONFIG_NETWORK_NAME="arb1"
DEPLOYED_CONTRACTS_DIR="./scripts/files/"
DISABLE_VERIFICATION=true
7 changes: 0 additions & 7 deletions .env.sample.goerli

This file was deleted.

5 changes: 5 additions & 0 deletions .env.sample.testnode
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
L1_RPC_URL="http://localhost:8545"
L1_PRIV_KEY="0xdc04c5399f82306ec4b4d654a342f40e2e0620fe39950d967e1e574b32d4dd36"
CONFIG_NETWORK_NAME="local"
DEPLOYED_CONTRACTS_DIR="./scripts/files/"
DISABLE_VERIFICATION=true
24 changes: 5 additions & 19 deletions .github/workflows/audit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,39 +10,25 @@ on:
- develop

jobs:
install:
name: 'Install'
yarn-audit:
name: Audit
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install node_modules
uses: OffchainLabs/actions/node-modules/install@main

yarn-audit:
name: Audit
runs-on: ubuntu-latest
needs: install
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Restore node_modules
uses: OffchainLabs/actions/node-modules/restore@main
cache-key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}-${{ matrix.node-version }}

- name: Run audit
run: yarn audit:ci
39 changes: 37 additions & 2 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
merge_group:
push:
branches:
- master
- develop
- eigenda

jobs:
test-unit:
Expand All @@ -23,6 +22,9 @@ jobs:
with:
version: nightly

- name: Check Contracts Format
run: forge fmt --check

- name: Setup node/yarn
uses: actions/setup-node@v3
with:
Expand Down Expand Up @@ -244,3 +246,36 @@ jobs:

# - name: Run e2e tests
# run: yarn test:e2e

bold-upgrade:
name: BOLD upgrade test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly

- name: Setup node/yarn
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'

- name: Install packages
run: yarn

- name: Compile contracts
run: yarn build:all

- name: Copy .env
run: |
cp ./.env-sample ./.env

- name: Test upgrade
run: L1_RPC=${{ secrets.L1_RPC || 'https://rpc.ankr.com/eth' }} yarn test:upgrade
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ deployments/
scripts/config.ts
forge-cache/
out/
.env
.env
.DS_Store
lcov.info
output_directory
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ src/lib/abi/**
out/**
lib/**
src/mocks/MultiCallTest.sol
slither.db.json
LICENSE.md
12 changes: 0 additions & 12 deletions .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,4 @@ module.exports = {
tabWidth: 2,
arrowParens: 'avoid',
bracketSpacing: true,
overrides: [
{
files: '*.sol',
options: {
tabWidth: 4,
printWidth: 100,
singleQuote: false,
bracketSpacing: false,
compiler: '0.8.9',
},
},
],
}
9 changes: 6 additions & 3 deletions .solhint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": ["solhint:recommended"],
"rules": {
"prettier/prettier": "error",
"avoid-throw": "off",
"avoid-suicide": "error",
"avoid-sha3": "warn",
Expand All @@ -12,7 +11,11 @@
"reason-string": ["warn", { "maxLength": 128 }],
"not-rely-on-time": "off",
"max-states-count": ["warn", 40],
"no-inline-assembly": "off"
"no-inline-assembly": "off",
"no-global-import": "off",
"custom-errors": "off",
"immutable-vars-naming": "off",
"var-name-mixedcase": "off"
},
"plugins": ["prettier"]
"plugins": []
}
3 changes: 3 additions & 0 deletions .solhintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
src/mocks
src/precompiles
src/test-helpers
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Additional Use Grant: You may use the Licensed Work in a production environment
validating the correctness of the posted chain state, or to deploy
and operate (x) a blockchain that settles to a Covered Arbitrum Chain
or (y) a blockchain in accordance with, and subject to, the [Arbitrum
Expansion Program Term of Use](https://docs.arbitrum.foundation/assets/files/Arbitrum%20Expansion%20Program%20Jan182024-4f08b0c2cb476a55dc153380fa3e64b0.pdf). For purposes of this
Expansion Program Term of Use](https://docs.arbitrum.foundation/aep/ArbitrumExpansionProgramTerms.pdf). For purposes of this
Additional Use Grant, the "Covered Arbitrum Chains" are
(a) Arbitrum One (chainid:42161), Arbitrum Nova (chainid:42170),
rbitrum Rinkeby testnet/Rinkarby (chainid:421611),Arbitrum Nitro
Arbitrum Rinkeby testnet/Rinkarby (chainid:421611),Arbitrum Nitro
Goerli testnet (chainid:421613), and Arbitrum Sepolia Testnet
(chainid:421614); (b) any future blockchains authorized to be
designated as Covered Arbitrum Chains by the decentralized autonomous
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ It includes the rollup and fraud proof smart contracts, as well as interfaces fo

For more information see https://developer.arbitrum.io/intro

For the deployed addresses of these contracts for Arbitrum chains see https://developer.arbitrum.io/useful-addresses
For the deployed addresses of these contracts for Arbitrum chains see [https://docs.arbitrum.io/for-devs/dev-tools-and-resources/chain-info#core-contracts](https://docs.arbitrum.io/for-devs/dev-tools-and-resources/chain-info#core-contracts)

For the token bridge contracts see https://github.com/OffchainLabs/token-bridge-contracts
For the token bridge contracts see [https://github.com/OffchainLabs/token-bridge-contracts](https://github.com/OffchainLabs/token-bridge-contracts)

Compile these contracts locally by running

Expand All @@ -24,7 +24,7 @@ Nitro is currently licensed under a [Business Source License](./LICENSE.md), sim

The Additional Use Grant also permits the deployment of the Nitro software, in a permissionless fashion and without cost, as a new blockchain provided that the chain settles to either Arbitrum One or Arbitrum Nova.

For those that prefer to deploy the Nitro software either directly on Ethereum (i.e. an L2) or have it settle to another Layer-2 on top of Ethereum, the [Arbitrum Expansion Program (the "AEP")](https://docs.arbitrum.foundation/assets/files/Arbitrum%20Expansion%20Program%20Jan182024-4f08b0c2cb476a55dc153380fa3e64b0.pdf) was recently established. The AEP allows for the permissionless deployment in the aforementioned fashion provided that 10% of net revenue is contributed back to the Arbitrum community in accordance with the requirements of the AEP.
For those that prefer to deploy the Nitro software either directly on Ethereum (i.e. an L2) or have it settle to another Layer-2 on top of Ethereum, the [Arbitrum Expansion Program (the "AEP")](https://docs.arbitrum.foundation/aep/ArbitrumExpansionProgramTerms.pdf) was recently established. The AEP allows for the permissionless deployment in the aforementioned fashion provided that 10% of net revenue is contributed back to the Arbitrum community in accordance with the requirements of the AEP.

## Contact

Expand Down
22 changes: 21 additions & 1 deletion audit-ci.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,26 @@
// Prototype Pollution in async
"GHSA-fwr7-v2mv-hh25",
// ws affected by a DoS when handling a request with many HTTP headers
"GHSA-3h5v-q93c-6h6q"
"GHSA-3h5v-q93c-6h6q",
// Elliptic allows BER-encoded signatures - only used in dev
"GHSA-49q7-c7j4-3p7m",
// Elliptic's EDDSA missing signature length check - only used in dev
"GHSA-f7q4-pwc6-w24p",
// Elliptic's ECDSA missing check for whether leading bit of r and s is zero - only used in dev
"GHSA-977x-g7h5-7qgw",
// Server-Side Request Forgery in axios
"GHSA-8hc4-vh64-cxmj",
// Regular Expression Denial of Service (ReDoS) in micromatch
"GHSA-952p-6rrq-rcjv",
// cookie accepts cookie name, path, and domain with out of bounds characters
"GHSA-pxg6-pf52-xh8x",
// Elliptic's verify function omits uniqueness validation
"GHSA-434g-2637-qmqr",
// Valid ECDSA signatures erroneously rejected in Elliptic
"GHSA-fc9h-whq2-v747",
// secp256k1-node allows private key extraction over ECDH
"GHSA-584q-6j8j-r5pm",
// Regular Expression Denial of Service (ReDoS) in cross-spawn
"GHSA-3xgq-45jj-v275"
]
}
45 changes: 45 additions & 0 deletions deploy/ExpressLaneAuction.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module.exports = async hre => {
const { deployments, getNamedAccounts } = hre
const { deploy } = deployments
const { deployer } = await getNamedAccounts()

await deploy('ExpressLaneAuction', {
from: deployer,
args: [],
proxy: {
proxyContract: 'TransparentUpgradeableProxy',
execute: {
init: {
methodName: 'initialize',
args: [
{
_auctioneer: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_biddingToken: '0x980B62Da83eFf3D4576C647993b0c1D7faf17c73', // WETH
_beneficiary: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_roundTimingInfo: {
offsetTimestamp: 1727870000,
roundDurationSeconds: 60,
auctionClosingSeconds: 15,
reserveSubmissionSeconds: 15,
},
_minReservePrice: ethers.utils.parseEther('0.00001'),
_auctioneerAdmin: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_minReservePriceSetter:
'0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_reservePriceSetter: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_reservePriceSetterAdmin:
'0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_beneficiarySetter: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_roundTimingSetter: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
_masterAdmin: '0xeee584DA928A94950E177235EcB9A99bb655c7A0',
},
],
},
},
owner: deployer,
},
})
}

module.exports.tags = ['ExpressLaneAuction']
module.exports.dependencies = []
30 changes: 21 additions & 9 deletions foundry.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
[profile.default]
src = 'src/'
src = 'src'
out = 'out'
libs = ['node_modules', 'lib']
test = 'test/foundry'
cache_path = 'forge-cache/sol'
optimizer = true
optimizer_runs = 100
optimizer_runs = 2000
via_ir = false
solc_version = '0.8.12'
evm_version = 'cancun'
remappings = ['ds-test/=lib/forge-std/lib/ds-test/src/',
'forge-std/=lib/forge-std/src/',
'@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/',
'@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/']

'@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/',
'@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/',
'@offchainlabs/upgrade-executor/=node_modules/@offchainlabs/upgrade-executor/']
fs_permissions = [{ access = "read", path = "./test/foundry/blob_info"}]

[profile.yul]
Expand All @@ -24,6 +23,19 @@ remappings = []
auto_detect_remappings = false

[fmt]
number_underscore = 'thousands'
line_length = 100
# See more config options https://github.com/foundry-rs/foundry/tree/master/config
tab_width = 4
bracket_spacing = false
int_types = "long"
multiline_func_header = "params_first"
quote_style = "double"
number_underscore = "preserve"
hex_underscore = "remove"
single_line_statement_blocks = "preserve"
override_spacing = false
wrap_comments = false
ignore = []
contract_new_lines = false
sort_imports = false

# See more config options https://github.com/foundry-rs/foundry/tree/master/config
Loading
Loading