Skip to content

Commit cb81aef

Browse files
author
José FP María Franco Pérez
committed
Add predeploys of TokenBridgeCreator
1 parent d789bd2 commit cb81aef

File tree

4 files changed

+874
-3
lines changed

4 files changed

+874
-3
lines changed

scripts/config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ function writeGethGenesisConfig(argv: any) {
166166

167167
// Add predeploys
168168
if (argv.usePredeploys) {
169-
const predeploys = JSON.parse(fs.readFileSync(path.join(consts.resourcespath, "predeploys.json")).toString())
170-
gethConfig["alloc"] = { ...gethConfig["alloc"], ...predeploys }
169+
const l2RollupCreatorPredeploys = JSON.parse(fs.readFileSync(path.join(consts.resourcespath, "l2-rollupcreator-predeploys.json")).toString())
170+
const l2TokenBridgeCreatorPredeploys = JSON.parse(fs.readFileSync(path.join(consts.resourcespath, "l2-tokenbridgecreator-predeploys.json")).toString())
171+
gethConfig["alloc"] = { ...gethConfig["alloc"], ...l2RollupCreatorPredeploys, ...l2TokenBridgeCreatorPredeploys }
171172
}
172173

173174
fs.writeFileSync(path.join(consts.configpath, "geth_genesis.json"), JSON.stringify(gethConfig, null, 2))
File renamed without changes.

scripts/resources/l2-tokenbridgecreator-predeploys.json

Lines changed: 870 additions & 0 deletions
Large diffs are not rendered by default.

test-node.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.1.0-0e716c8
99
# 1. authorizing validator signer key since validator wallet is buggy
1010
# - gas estimation sent from 0x0000 lead to balance and permission error
1111
DEFAULT_NITRO_CONTRACTS_VERSION="v3.2.0-beta.0"
12-
DEFAULT_TOKEN_BRIDGE_VERSION="v1.2.5"
12+
DEFAULT_TOKEN_BRIDGE_VERSION="e222d4cdaeefc87773e39a5fce980667a80b886b"
1313

1414
# Set default versions if not overriden by provided env vars
1515
: ${NITRO_CONTRACTS_BRANCH:=$DEFAULT_NITRO_CONTRACTS_VERSION}

0 commit comments

Comments
 (0)