Skip to content

Commit aab133a

Browse files
authored
Merge pull request #68 from OffchainLabs/bump-version
Bump nitro-contracts and token-bridge
2 parents e4ff0cf + ec94da8 commit aab133a

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

test-node.bash

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ set -e
55
NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.0.1-cf4b74e-dev
66
BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.0.0-c8db5b1
77

8-
# This commit matches the v1.2.1 contracts, with additional support for CacheManger deployment.
9-
# Once v1.2.2 is released, we can switch to that version.
10-
DEFAULT_NITRO_CONTRACTS_VERSION="867663657b98a66b60ff244e46226e0cb368ab94"
11-
DEFAULT_TOKEN_BRIDGE_VERSION="v1.2.1"
8+
DEFAULT_NITRO_CONTRACTS_VERSION="v2.0.0-beta.1"
9+
DEFAULT_TOKEN_BRIDGE_VERSION="v1.2.2"
1210

1311
# Set default versions if not overriden by provided env vars
1412
: ${NITRO_CONTRACTS_BRANCH:=$DEFAULT_NITRO_CONTRACTS_VERSION}
@@ -470,12 +468,11 @@ if $force_init; then
470468
echo == Fund L3 accounts
471469
if $l3_custom_fee_token; then
472470
docker compose run scripts bridge-native-token-to-l3 --amount 5000 --from user_fee_token_deployer --wait
473-
docker compose run scripts send-l3 --ethamount 5 --from user_fee_token_deployer --wait
474-
docker compose run scripts send-l3 --ethamount 5 --from user_fee_token_deployer --to "key_0x$devprivkey" --wait
471+
docker compose run scripts send-l3 --ethamount 100 --from user_fee_token_deployer --wait
475472
else
476473
docker compose run scripts bridge-to-l3 --ethamount 50000 --wait
477474
fi
478-
docker compose run scripts send-l3 --ethamount 100 --to l3owner --wait
475+
docker compose run scripts send-l3 --ethamount 10 --to l3owner --wait
479476

480477
echo == Deploy CacheManager on L3
481478
docker compose run -e CHILD_CHAIN_RPC="http://l3node:3347" -e CHAIN_OWNER_PRIVKEY=$l3ownerkey rollupcreator deploy-cachemanager-testnode

0 commit comments

Comments
 (0)