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

refactor: upgrade to @arbitrum/sdk v4 #1640

Merged
merged 43 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
724172f
initial changes
brtkx Apr 25, 2024
3581237
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx Apr 25, 2024
093e041
synpress
brtkx Apr 25, 2024
4040699
fix yarnlock
brtkx Apr 25, 2024
2b1d456
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx Apr 25, 2024
b53420d
fix tests
brtkx Apr 25, 2024
5e06053
fixes
brtkx Apr 25, 2024
3583fe4
fixes
brtkx Apr 25, 2024
c382330
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx Apr 25, 2024
1e51d1b
fix tests
brtkx Apr 25, 2024
c93b060
fix redeem retryable test
brtkx Apr 26, 2024
68ed441
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx May 24, 2024
8c9ea76
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx Jun 18, 2024
8248aad
migrate more methods
brtkx Jun 18, 2024
98e1403
bump
spsjvc Jul 9, 2024
740d70a
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
brtkx Jul 9, 2024
5ed9746
teleporter changes for v4
brtkx Jul 9, 2024
7c0884f
Merge branch 'arbitrum-sdk-v4-migration' of github.com:OffchainLabs/a…
brtkx Jul 9, 2024
4207396
merge
brtkx Jul 9, 2024
2b13095
fixes and logs
brtkx Jul 9, 2024
9fa4b59
changes
brtkx Jul 9, 2024
8d5005c
fix
brtkx Jul 9, 2024
c004fcf
update imports
spsjvc Jul 10, 2024
da127c3
bump v
spsjvc Jul 10, 2024
c973172
change things
spsjvc Jul 10, 2024
1cb9b1c
change things
spsjvc Jul 10, 2024
e225ddd
Merge branch 'master' into arbitrum-sdk-v4-migration
spsjvc Jul 10, 2024
8b9870c
fix
spsjvc Jul 10, 2024
2ae3954
fix
spsjvc Jul 10, 2024
4d860c4
fix
spsjvc Jul 10, 2024
a3fdebc
fix
spsjvc Jul 10, 2024
a47cb10
fix
spsjvc Jul 10, 2024
b30bf96
fix redeem
spsjvc Jul 10, 2024
22cb756
remove stuff
spsjvc Jul 10, 2024
e4db674
fix parent chain id
spsjvc Jul 10, 2024
b04c754
bump
spsjvc Jul 10, 2024
89a0bc6
fix
spsjvc Jul 10, 2024
6aa04c4
Merge branch 'master' into arbitrum-sdk-v4-migration
spsjvc Jul 11, 2024
611d6ba
fix child networks
brtkx Jul 16, 2024
33c380f
Merge branch 'master' into arbitrum-sdk-v4-migration
brtkx Jul 16, 2024
06f0de9
clean up
spsjvc Jul 16, 2024
cd9440b
fix
spsjvc Jul 16, 2024
f73642f
Merge branch 'master' into arbitrum-sdk-v4-migration
spsjvc Jul 16, 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
Merge branch 'master' of github.com:OffchainLabs/arbitrum-token-bridg…
…e into arbitrum-sdk-v4-migration
  • Loading branch information
brtkx committed Apr 25, 2024
commit 2b1d456bdaebd505f9a4af0ebe99f369f92a7fec
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,16 @@ export class Erc20WithdrawalStarter extends BridgeTransferStarter {
this.sourceChainProvider
)

const tx = await erc20Bridger.withdraw({
childSigner: signer,
const request = await erc20Bridger.getWithdrawalRequest({
from: address,
erc20ParentAddress: destinationChainErc20Address,
destinationAddress: destinationAddress ?? address,
amount
})

const tx = await erc20Bridger.withdraw({
...request,
l2Signer: signer,
childSigner: signer,
overrides: {
gasLimit: percentIncrease(
await this.sourceChainProvider.estimateGas(request.txRequest),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,13 @@ export class EthWithdrawalStarter extends BridgeTransferStarter {

const request = await ethBridger.getWithdrawalRequest({
amount,
childSigner: signer,
destinationAddress: address,
from: address
})

const tx = await ethBridger.withdraw({
...request,
l2Signer: signer,
childSigner: signer,
overrides: {
gasLimit: percentIncrease(
await this.sourceChainProvider.estimateGas(request.txRequest),
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.