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

New Arbitrum Token Bridge #1

Open
wants to merge 82 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
bd53ac0
Add inbound and outbound transfers
Apr 26, 2024
1a0b7cc
Use gov relay to configure L2 gateway
May 1, 2024
9d71fba
Add router tests
May 1, 2024
7a283e1
Add newlines
May 1, 2024
4019fc0
Refactor integration tests
May 2, 2024
2afa3ea
Replace file with registerToken and add unit tests
May 2, 2024
850d26b
Refactor initGateways
May 2, 2024
eeb86fb
Clean debug comments
May 8, 2024
8bc5bdf
Implements required interfaces
May 8, 2024
4f3fa0b
Allow bulk token registration
May 9, 2024
4f446c4
Update chainlog
May 9, 2024
a0de856
Add init script sanity checks
May 9, 2024
97d8498
Cleanup comment
May 9, 2024
37726ad
Add test for ERC165
May 13, 2024
de154b5
Add relyGateway xchain msg
May 14, 2024
f1e7623
Update licenses
May 15, 2024
0993595
Add sepolia deploy script
May 15, 2024
ccbff55
require l1Router and inbox at init
May 15, 2024
009c78c
Use Domain contract
May 16, 2024
a908102
Use single xchain msg at init
May 16, 2024
6ce3b50
Add init script for Sepolia/Tenderly
May 16, 2024
5c2f4f3
Add gas param margins
May 16, 2024
8bcb0e2
Add Deposit test script; update deployed l2Spell; add RetryableTicket…
May 17, 2024
2e7cf8a
Add L2 side of Withdraw deploy test
May 17, 2024
f2faf2e
Add relay comment
May 20, 2024
7b592a4
Remove whitespace
May 21, 2024
450765f
Remove l1/l2 directories
May 24, 2024
6aedabf
Fix revert reasons
May 24, 2024
1059fd3
Remove whitespace
May 24, 2024
90817a8
Fix license
May 24, 2024
4e2cb0b
Remove TODO comment
May 30, 2024
afa295d
Apply review suggestions
May 30, 2024
f2b227f
Remove unnecessary override's
Jun 3, 2024
9c2d517
Remove L2 gateway import from L2 spell
Jun 3, 2024
d2c8889
Remove addTokens from init scripts
Jun 3, 2024
6be2379
Add README
Jun 10, 2024
24ec24f
Fix README
Jun 13, 2024
a76f3c1
Test call to getOutboundCalldata in testOutboundTransfer
Jun 13, 2024
29937f5
Update foundry.toml
telome Jun 13, 2024
4576c0f
Use config tokens for deployment
Jun 14, 2024
7839454
Apply suggestions from code review
telome Jun 17, 2024
e85127e
Inline parseOutboundData
Jun 17, 2024
2362af7
Add more info to README
Jun 18, 2024
230d826
Fix Deploy.s
Jun 18, 2024
493a297
Remove unnecessary l1Token != address(0) check
Jun 18, 2024
8ac05e1
Add note to README
Jun 18, 2024
5e30861
Add missing natspec
Jun 18, 2024
0a89d52
Fix link in README
Jun 19, 2024
e464682
Remove leftover TODOs
Jun 20, 2024
896b663
Add missing newlines
Jun 20, 2024
82e450a
Fix mock intendation
Jun 20, 2024
1ad3d9c
More intendation fix
Jun 20, 2024
e4a1784
Fix more endlines
Jun 20, 2024
5a2f7e4
Update README.md
telome Jun 20, 2024
b225225
Update deploy/TokenGatewayInit.sol
telome Jun 20, 2024
127ddbd
Update script/Init.s.sol
telome Jun 20, 2024
709fd04
Reword comment
Jun 21, 2024
1ad5ad9
Use one config file per root domain
Jun 21, 2024
e3c42a4
Add note about supporting std erc20s
Jun 21, 2024
89d4301
Fix tests
Jun 21, 2024
740ef1c
Remove unnecessary config entries
Jun 21, 2024
56ea3c5
Update test/Integration.t.sol
telome Jun 21, 2024
2471056
Add l2Token ward check in tests
Jun 21, 2024
7fd3718
Add L2-side sanity checks (#2)
telome Jun 25, 2024
c22741f
Add recommendations from Cantina
Jun 28, 2024
098ebac
Minor formatting changes
Jun 28, 2024
6248966
Merge pull request #3 from makerdao/cantina-fixes
telome Jul 1, 2024
d0b447c
Add Cantina Report (#4)
oldchili Jul 3, 2024
844b320
Remove redundant var in init script
Jul 9, 2024
c3c60c2
Merge pull request #5 from makerdao/cs-fix
telome Jul 9, 2024
18f1d02
Add Chainsecurity audit report
oldchili Jul 11, 2024
c062e49
Merge pull request #6 from makerdao/add-cs-report
oldchili Jul 12, 2024
aac0feb
Update README so env vars are exported
Jul 16, 2024
643c62b
Use different L1 & L2 deployers (#7)
telome Jul 18, 2024
d2b2185
Use new dss-test functions (#8)
telome Aug 21, 2024
74d5b4c
Update CI
Aug 23, 2024
542f2cf
Implement fileable escrow (#9)
sunbreak1211 Sep 19, 2024
7bccdb3
Add maxWithdraws to L2TokenGateway (#10)
telome Oct 8, 2024
aedb60f
Upgradable L1TokenGateway and L2TokenGateway (#11)
telome Oct 8, 2024
90c5a20
Update CS audit report (#12)
telome Oct 14, 2024
c935a66
Add Cantina report (#14)
oldchili Nov 13, 2024
b3e6d4b
Add Certora specs (#13)
sunbreak1211 Nov 19, 2024
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
Prev Previous commit
Next Next commit
Fix tests
  • Loading branch information
telome committed Jun 21, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 89d430180d89a88028db0b174a302e736316e139
3 changes: 2 additions & 1 deletion test/Integration.t.sol
Original file line number Diff line number Diff line change
@@ -67,7 +67,8 @@ contract IntegrationTest is DssTest {
address L2_ROUTER;

function setUp() public {
string memory config = ScriptTools.readInput("config");
vm.setEnv("FOUNDRY_ROOT_CHAINID", "1"); // used by ScriptTools to determine config path
string memory config = ScriptTools.loadConfig("config");

l1Domain = new Domain(config, getChain("mainnet"));
l1Domain.selectFork();