Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc small testnode fixes #42

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ function writeConfigs(argv: any) {
"strategy": "MakeNodes",
},
"sequencer": false,
"espresso": false,
"dangerous": {
"no-sequencer-coordinator": false,
"disable-blob-reader": true,
Expand Down Expand Up @@ -247,7 +246,8 @@ function writeConfigs(argv: any) {
"forwarding-target": "null",
},
"persistent": {
"chain": "local"
"chain": "local",
"db-engine": "leveldb"
},
"ws": {
"addr": "0.0.0.0"
Expand Down Expand Up @@ -296,7 +296,6 @@ function writeConfigs(argv: any) {
sequencerConfig.node["delayed-sequencer"].enable = true

if (argv.espresso) {
sequencerConfig.node.espresso = true
sequencerConfig.execution.sequencer.espresso = true
sequencerConfig.execution.sequencer["hotshot-url"] = argv.espressoUrl
sequencerConfig.node.feed.output.enable = true
Expand Down
4 changes: 2 additions & 2 deletions test-node.bash
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.0.1-cf4b74e-dev
ESPRESSO_VERSION=ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev:integration
BLOCKSCOUT_VERSION=offchainlabs/blockscout:v1.0.0-c8db5b1

DEFAULT_NITRO_CONTRACTS_VERSION="deploy"
DEFAULT_NITRO_CONTRACTS_VERSION="develop"
DEFAULT_TOKEN_BRIDGE_VERSION="v1.2.2"

# Set default versions if not overriden by provided env vars
Expand Down Expand Up @@ -301,7 +301,7 @@ if $force_build; then
echo execute from a sub-directory of nitro or use NITRO_SRC environment variable
exit 1
fi
docker build "$NITRO_SRC" -t nitro-node-dev --target nitro-node-dev -f
docker build "$NITRO_SRC" -t nitro-node-dev --target nitro-node-dev
fi
if $dev_build_blockscout; then
if $blockscout; then
Expand Down
Loading