Skip to content
Open
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
142 changes: 142 additions & 0 deletions chain-configs/nitro/litvm-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
{
"chain": {
"info-json": "[{\"chain-id\":4441,\"parent-chain-id\":11155111,\"chain-name\":\"liteforge\",\"chain-config\":{\"chainId\":4441,\"homesteadBlock\":0,\"daoForkBlock\":null,\"daoForkSupport\":true,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"muirGlacierBlock\":0,\"berlinBlock\":0,\"londonBlock\":0,\"clique\":{\"period\":0,\"epoch\":0},\"arbitrum\":{\"EnableArbOS\":true,\"AllowDebugPrecompiles\":false,\"DataAvailabilityCommittee\":true,\"InitialArbOSVersion\":40,\"Celestia\":false,\"EigenDA\":false,\"InitialChainOwner\":\"0x8f0ad0fbc9e7e892fc951dfca366c588eebff883\",\"GenesisBlockNum\":0}},\"rollup\":{\"bridge\":\"0x9BC68f8B2fEa572eDc0813F76C186A31E4150F6F\",\"inbox\":\"0x8A381f8822E512E50dd4679E678271E9a83226E6\",\"sequencer-inbox\":\"0x7e8B0DD71be6C1216fd7334E7e5EAE8aa2e7276B\",\"rollup\":\"0xD8c594652B205fa4c8047608FAc3ab102B6e968d\",\"validator-utils\":\"0xd9F00104B2441f6fEe7780a88a4510dB693EC659\",\"validator-wallet-creator\":\"0x59caB1B944810B3c46bF154ca6E1dC96600C8c4b\",\"deployed-at\":10483581}}]",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The parent-chain-id inside the info-json string is set to 11155111 (Ethereum Sepolia), but the connection URLs at lines 44 and 112 point to 421614 (Arbitrum Sepolia). This mismatch will likely cause issues as the node will attempt to verify state against the wrong parent chain. Please update the info-json string to use 421614.

"name": "liteforge"
},
"execution": {
"caching": {
"archive": true
},
"sequencer": {
"enable": false,
"max-block-speed": "250ms",
"max-tx-data-size": 75000
}
},
"http": {
"addr": "0.0.0.0",
"api": [
"eth",
"net",
"web3",
"arb",
"debug",
"txpool"
],
"corsdomain": "*",
"port": 8545,
"vhosts": "*"
},
"metrics-server": {
"addr": "0.0.0.0",
"port": 6070
},
"node": {
"batch-poster": {
"enable": true,
"max-size": 80000,
"poll-interval": "60s",
"parent-chain-wallet": {
"private-key": "PLACEHOLDER"
},
"data-poster": {
"max-base-fee": 20000000000
},
"wait-for-max-delay": true,
"max-delay": "5h0m0s",
"max-empty-batch-delay": "10h0m0s",
"l1-block-bound": "ignore",
"post-4844-blobs": false,
"ignore-blob-price": true
},
"dangerous": {
"no-sequencer-coordinator": false
},
"data-availability": {
"enable": true,
"parent-chain-node-url": "http://erpc.testnets.espresso.private:4000/main/evm/11155111",
"rest-aggregator": {
"enable": true,
"urls": "PLACEHOLDER"
},
"rpc-aggregator": {
"assumed-honest": 1,
"backends": "PLACEHOLDER",
"enable": false
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The validation script scripts/validate_config.py (lines 324-329) requires the RPC aggregator to be enabled when the section is present.

        "enable": true

},
"sequencer-inbox-address": "0x7e8B0DD71be6C1216fd7334E7e5EAE8aa2e7276B"
},
"delayed-sequencer": {
"enable": false
},
"espresso": {
"batch-poster": {
"address-valid-ranges": [
{
"address": "0x8CF3eBbA8c916496FB9B70Ba0d7DB06733A85D97",
"from": 1,
"to": 9234811370
}
],
"attestation-service-url": "http://verifier.testnets.espresso.private:8080",
"hotshot-first-posting-block": 450742925,
"hotshot-url": "https://cache.main.net.espresso.network/",
"key-pair-attestations-path": "/home/user/.arbitrum/key-pairs",
"resubmit-espresso-tx-deadline": "2m",
"tee-type": "NITRO",
"txns-monitoring-interval": "1s"
},
"streamer": {
"address-monitor-start-l1": 450742925,
"address-monitor-step": 10000,
"hotshot-block": 12901033,
"txns-polling-interval": "1s"
}
},
"feed": {
"input": {
"url": [
"wss://liteforge.rpc.caldera.xyz/feed"
]
},
"output": {
"enable": false,
"port": 9642
}
},
"seq-coordinator": {
"enable": false,
"lockout-duration": "30s",
"lockout-spare": "1s",
"my-url": "",
"redis-url": "",
"retry-interval": "0.5s",
"seq-num-duration": "24h0m0s",
"update-interval": "3s"
},
"sequencer": false,
"staker": {
"enable": false,
"strategy": "MakeNodes"
}
},
"parent-chain": {
"connection": {
"url": "http://erpc.testnets.espresso.private:4000/main/evm/11155111"
}
},
"persistent": {
"chain": "local"
},
"ws": {
"addr": "0.0.0.0",
"api": [
"eth",
"net",
"web3",
"arb",
"txpool"
],
"port": 8546
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The persistent section is missing, which is required by the validation script scripts/validate_config.py (line 151).

  },
  "persistent": {
    "chain": "local"
  }

}
Loading