File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
packages/contracts/tasks/deployment Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 34
34
uses : ./.github/actions/setup
35
35
- name : Run e2e tests
36
36
run : |
37
- git clone https://github.com/edgeandnode/nitro
38
- pushd nitro
37
+ git clone https://github.com/OffchainLabs/nitro-testnode/
38
+ pushd nitro-testnode
39
+ git checkout c47cb8c643bc8e63ff096f7f88f9152064d1532a
39
40
git submodule update --init --recursive
40
- ./test-node.bash --init --no-blockscout --detach
41
+ sed -i'' -e 's/^\(.*dev.period.*\)/# \1/' docker-compose.yaml
42
+ ./test-node.bash --init --batchposters 0 --redundantsequencers 0 --detach
41
43
popd
42
44
L1_NETWORK=localnitrol1 L2_NETWORK=localnitrol2 yarn test:e2e
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ task(TASK_NITRO_FUND_ACCOUNTS, 'Funds protocol accounts on Arbitrum Nitro testno
21
21
// - L1 > https://github.com/OffchainLabs/nitro/blob/01c558c06ad9cbaa083bebe3e51960e195c3fd6b/test-node.bash#L136
22
22
// - L2 > https://github.com/OffchainLabs/nitro/blob/01c558c06ad9cbaa083bebe3e51960e195c3fd6b/testnode-scripts/config.ts#L22
23
23
const genesisAccountPrivateKey =
24
- taskArgs . privateKey ?? 'e887f7d17d07cc7b8004053fb8826f6657084e88904bb61590e498ca04704cf2 '
24
+ taskArgs . privateKey ?? 'b6b15c8cb491557369f3c7d2c287b053eb229daa9c22138887752191c9520659 '
25
25
const genesisAccount = new hre . ethers . Wallet ( genesisAccountPrivateKey )
26
26
27
27
// Get protocol accounts
@@ -95,7 +95,7 @@ subtask(TASK_NITRO_FETCH_DEPLOYMENT_FILE, 'Fetches nitro deployment file from a
95
95
. setAction ( async ( taskArgs ) => {
96
96
console . log ( `Attempting to fetch deployment file from testnode...` )
97
97
98
- const command = `docker exec $(docker ps -qf "name=sequencer") cat /workspace/localNetwork.json > ${ taskArgs . deploymentFile } `
98
+ const command = `docker container cp $(docker ps -alqf "name=tokenbridge" --format "{{.ID}}"): /workspace/localNetwork.json . `
99
99
const stdOut = execSync ( command )
100
100
console . log ( stdOut . toString ( ) )
101
101
You can’t perform that action at this time.
0 commit comments