-
Notifications
You must be signed in to change notification settings - Fork 177
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
feat(v3): non-18 decimal custom gas token support #445
Merged
Merged
Changes from all commits
Commits
Show all changes
171 commits
Select commit
Hold shift + click to select a range
d5bd73e
init
brtkx 0a3ac4c
unused import
brtkx 938f285
update
brtkx 95abec9
clean up
brtkx 831a66f
unused var
brtkx 22de060
non-18 decimals tests
brtkx 7fd4fdb
fix
brtkx 01e38b8
update
brtkx 2e03bad
fix
brtkx ac74a83
fix
brtkx a9ce5ff
fix
brtkx f185565
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx 0edd090
try
brtkx a092305
remove option
brtkx e96140f
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx f8b5b82
fix
brtkx 4ea46d5
fix
brtkx 97e9503
fix decimals
brtkx ec69bc9
fix
brtkx 3d24c3a
try fix decimals
brtkx fdd51b5
try fix decimals
brtkx 2b6b3e8
try
brtkx 4dd8b9f
try
brtkx 5a44827
try
brtkx 7fa6fd1
try
brtkx 27bda5d
try
brtkx 702293c
fix
brtkx 970cc0b
logs
brtkx 11b5cad
logs
brtkx b58ad44
try different amount
brtkx 6b544a9
bump nitro
brtkx 420b0d0
fix
brtkx 9b81d9b
log
brtkx 0f391a1
check balance
brtkx dc848e1
check balance
brtkx a0b7458
increase funds
brtkx 898e94f
nit
brtkx a18372d
try
brtkx 9c7b5e6
clean up and logs
brtkx 70052d1
try
brtkx 0be4f9f
try
brtkx 03263d2
try
brtkx 6069dc0
fix
brtkx 0872e0f
fix
brtkx 596d624
fix
brtkx 249c8a4
clean up
brtkx 8343b27
clean up
brtkx d5afac6
update build
brtkx b9b00b5
config
brtkx d9b83cb
fix decimals
brtkx 54b58d5
try
brtkx b193202
fix
brtkx f4832fa
clean up
brtkx ea82f65
clean up
brtkx e6a6a81
addressing comments
brtkx 433e151
fix
brtkx ebd8546
fix
brtkx fca5738
enable custom gateway register
brtkx d9a0a30
24 decimals tests
brtkx 4f9f8bd
fixes
brtkx 130f71e
fixes
brtkx 71c9877
fixes
brtkx 1844511
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx 2ba0b21
try 20 decimals
brtkx 6aeb47e
scale funding
brtkx 58117a4
fixes
brtkx 2cc774b
fix
brtkx bc6fabd
try fix
brtkx 23c8b4f
add some logs
brtkx 15dbfcc
more logs
brtkx f95bad7
logs
brtkx 0ee68e3
log
brtkx bcd921c
try fix
brtkx 9608131
logs
brtkx 104bff0
try
brtkx 8842179
try
brtkx 5dca1b7
try
brtkx 45eb655
check balance
brtkx b9242c7
remove double fund
brtkx 447b58b
fix balances
brtkx da25e3f
try
brtkx b1aa4d0
try fund
brtkx 4e3c294
try
brtkx 71f6394
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx 5595c8f
try
brtkx a6c7829
try
brtkx 4df99df
check rpc urls
brtkx efc2553
clean up
brtkx 83cc83f
check before and after balances
brtkx 4d27dfb
tests for rescaled gas
brtkx 88d9914
bump gas
brtkx 2fa378b
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx 690f2ad
clean up
brtkx fb7b87e
cleanup
brtkx a8d5173
cleanup
brtkx 40a2c52
cleanup
brtkx f556c88
18 decimals tests
brtkx ba40b53
fixes
brtkx 908f551
fixes
brtkx a584a58
fix
brtkx 6cc45ec
fix
brtkx c7d969d
try fund
brtkx 49a0bd5
try
brtkx 1652717
try
brtkx e44e760
try
brtkx d03ea37
clean up
brtkx 5b6cf50
try
brtkx bcb6452
clean up
brtkx ae45f1a
clean up build
brtkx 65836b2
skip custom gas token
brtkx e16aa17
fix eth
brtkx bf721bf
unit tests
brtkx a9b7d61
remove async
brtkx ab57c2f
retryable data run
brtkx 9d7e343
build fix
brtkx 18df208
build fix
brtkx a346f2b
build fix
brtkx ad507e7
build fix
brtkx acf2317
build fix
brtkx 8f915e4
build fix
brtkx 9f4c551
build fix
brtkx bc911f2
build fix
brtkx b97aabe
build fix
brtkx 00da206
build fix
brtkx 0caaf60
fix
brtkx b9bee8c
fix
brtkx 6e26a1f
fix
brtkx aeefffa
fix
brtkx 9571717
try
brtkx b606ede
Merge branch 'main' into non-18-decimal-rescale
brtkx aff4ccc
fix
brtkx fd82f48
Merge branch 'non-18-decimal-rescale' of ssh://github.com/OffchainLab…
brtkx 72fa130
fix
brtkx 6b59204
fix
brtkx 3e7e73c
fix
brtkx 6b69913
fixes
brtkx e160c5f
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx e7e005a
fix
brtkx f56ab96
fix l2callvalue
brtkx 1c985e9
fix
brtkx fff9d5f
fix
brtkx a1c34df
fix
brtkx 1866990
fix
brtkx 0ff5862
try
brtkx 37a0197
try
brtkx 4199ec9
try testnode ref
brtkx a7aa3e2
disable some tests
brtkx f135552
try no overrides
brtkx f96ac29
try
brtkx e5104aa
try
brtkx ca70e38
clean up
brtkx 2bdc2f0
clean up
brtkx 358f50f
fix
brtkx 072653e
fix
brtkx 7474bc9
log
brtkx 1a45cff
try fix
brtkx e563099
try
brtkx ac68c25
logs
brtkx 4dd1fe1
logs
brtkx 8d09fb0
fixes l1l3
brtkx 43988b7
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
brtkx f85d9e4
try
brtkx 322dd95
try
brtkx 63cf5aa
fixes
brtkx c3bb004
fixes
brtkx 31c5355
fixes and more tests
brtkx bde2893
fix tests
brtkx 75b1294
clean up
brtkx 75649e2
fix tests matrix
brtkx b1a7f5e
revert
brtkx 2ea4226
fix
brtkx 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
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
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.
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.
Do we need to set
value
in the return here? I think it only should be set if L3 chains use ETH as the native currency?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.
Yes, value should be provided if ETH is used to pay for fees
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.
Updated so that we only pass value when ETH is the native currency