Skip to content

Comments

use genesis.json for ArbOSInit feature flags#176

Merged
Tristan-Wilson merged 1 commit intomasterfrom
fix-genesis-init
Feb 19, 2026
Merged

use genesis.json for ArbOSInit feature flags#176
Tristan-Wilson merged 1 commit intomasterfrom
fix-genesis-init

Conversation

@Tristan-Wilson
Copy link
Member

@Tristan-Wilson Tristan-Wilson commented Feb 13, 2026

The init.transaction-filtering-enabled config key was added as a temporary integration shim but never merged to nitro master in favor of passing ArbOSInit flags through genesis.json. Switch the testnode to generate an l2_genesis.json containing the chain config as serializedChainConfig plus the arbOSInit flags, and pass it to all L2 nodes via --init.genesis-json-file.

Testing done

For testing, I ran the same smoke test as in #175

The --dev build is no longer needed, you can just specify the latest nitro rc eg

NITRO_NODE_VERSION=offchainlabs/nitro-node:v3.10.0-rc.2-746bda2 ./test-node.bash --init --l2-tx-filtering

Fixes NIT-4507

The init.transaction-filtering-enabled config key was added as a
temporary integration shim but never merged to nitro master in favor of
passing ArbOSInit flags through genesis.json. Switch the testnode to
generate an l2_genesis.json containing the chain config as
serializedChainConfig plus the arbOSInit flags, and pass it to all
L2 nodes via --init.genesis-json-file.
@Tristan-Wilson Tristan-Wilson merged commit 0d1b2ee into master Feb 19, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants