Skip to content

Commit 1eb2c5d

Browse files
committed
Use L3 rollup owner for custom gas chain tests
1 parent 323208b commit 1eb2c5d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test-all.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
test-all-custom-gas:
3939
name: Test all tutorials (Custom-gas-token chain)
4040
runs-on: ubuntu-latest
41+
env:
42+
# We need to use the account that has the native token (the L3 rollup owner)
43+
PRIVATE_KEY: 'ecdf21cb41c65afb51f91df408b7656e2c8739a5877f2814add0afd780cc210e'
4144
steps:
4245
- name: Checkout
4346
uses: actions/checkout@v4
@@ -66,11 +69,6 @@ jobs:
6669
.[1].tokenBridge.parentWeth = "0x0000000000000000000000000000000000000000" |
6770
.[1].tokenBridge.childWeth = "0x0000000000000000000000000000000000000000"
6871
' customNetwork.json > tmp.customNetwork.json && mv tmp.customNetwork.json customNetwork.json
69-
70-
- name: Fund main account with native tokens
71-
# In nitro-testnode the account that has native tokens is the L3 rollup owner
72-
# (https://docs.arbitrum.io/run-arbitrum-node/run-local-full-chain-simulation#default-endpoints-and-addresses)
73-
run: cast send -r http://localhost:8547 --private-key 0xecdf21cb41c65afb51f91df408b7656e2c8739a5877f2814add0afd780cc210e 0xE069078bA9ACCE4eeAE609d8754515Cf13dd6706 "transfer(address,uint256)()" 0x3f1Eae7D46d88F08fc2F8ed27FCb2AB183EB2d0E 10ether
7472
7573
- name: Test
7674
run: yarn run testAll

0 commit comments

Comments
 (0)