Skip to content

Commit 323208b

Browse files
committed
Send tokens to the main dev account before running tests
1 parent 10209df commit 323208b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/test-all.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ jobs:
6666
.[1].tokenBridge.parentWeth = "0x0000000000000000000000000000000000000000" |
6767
.[1].tokenBridge.childWeth = "0x0000000000000000000000000000000000000000"
6868
' 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
6974

7075
- name: Test
7176
run: yarn run testAll

0 commit comments

Comments
 (0)