diff --git a/src/scripts/generateNodeConfigType.ts b/src/scripts/generateNodeConfigType.ts index b39e63ac..86278ea3 100644 --- a/src/scripts/generateNodeConfigType.ts +++ b/src/scripts/generateNodeConfigType.ts @@ -5,7 +5,7 @@ import { Project, WriterFunction, Writers } from 'ts-morph'; const { objectType } = Writers; function getNitroNodeImageTag(): string { - const defaultNitroNodeTag = 'v2.2.5-a20a1c7'; + const defaultNitroNodeTag = 'v2.3.0-3e14543'; const argv = process.argv.slice(2); if (argv.length < 2 || argv[0] !== '--nitro-node-tag') { diff --git a/src/types/NodeConfig.generated.ts b/src/types/NodeConfig.generated.ts index c8a770c8..5966daae 100644 --- a/src/types/NodeConfig.generated.ts +++ b/src/types/NodeConfig.generated.ts @@ -2,8 +2,8 @@ // // THIS FILE IS AUTOMATICALLY GENERATED AND SHOULD NOT BE EDITED MANUALLY // -// IMAGE: offchainlabs/nitro-node:v2.2.5-a20a1c7 -// TIMESTAMP: 2024-02-22T17:33:00.049Z +// IMAGE: offchainlabs/nitro-node:v2.3.0-3e14543 +// TIMESTAMP: 2024-02-29T09:03:31.210Z // // --- /** Nitro node configuration options */ @@ -29,7 +29,7 @@ export type NodeConfig = { 'end-block'?: number; /** mode to run the blocks-reexecutor on. Valid modes full and random. full - execute all the blocks in the given range. random - execute a random sample range of blocks with in a given range (default "random") */ 'mode'?: string; - /** number of threads to parallelize blocks re-execution (default 12) */ + /** number of threads to parallelize blocks re-execution (default 10) */ 'room'?: number; /** first block number of the block range for re-execution */ 'start-block'?: number; @@ -471,12 +471,6 @@ export type NodeConfig = { /** wait for the max batch delay, even if the batch is full */ 'wait-for-max-delay'?: boolean; }; - 'blob-client'?: { - /** Beacon Chain url to use for fetching blobs */ - 'beacon-chain-url'?: string; - /** Full path of the directory to save fetched blobs */ - 'blob-directory'?: string; - }; 'block-validator'?: { /** current wasm module root ('current' read from chain, 'latest' from machines/latest dir, or provide hash) (default "current") */ 'current-module-root'?: string; @@ -494,7 +488,7 @@ export type NodeConfig = { 'memory-free-limit'?: string; /** pending upgrade wasm module root to additionally validate (hash, 'latest' or empty) (default "latest") */ 'pending-upgrade-module-root'?: string; - /** record that many blocks ahead of validation (larger footprint) (default 24) */ + /** record that many blocks ahead of validation (larger footprint) (default 20) */ 'prerecorded-blocks'?: number; /** poll time to check validations (default 1s) */ 'validation-poll'?: string; @@ -520,6 +514,8 @@ export type NodeConfig = { }; }; 'dangerous'?: { + /** DANGEROUS! disables the EIP-4844 blob reader, which is necessary to read batches */ + 'disable-blob-reader'?: boolean; /** DANGEROUS! disables listening to L1. To be used in test nodes only */ 'no-l1-listener'?: boolean; /** DANGEROUS! allows sequencing without sequencer-coordinator */ @@ -981,7 +977,13 @@ export type NodeConfig = { 'no-discovery'?: boolean; }; 'parent-chain'?: { - connection?: { + 'blob-client'?: { + /** Beacon Chain RPC URL to use for fetching blobs (normally on port 3500) */ + 'beacon-url'?: string; + /** Full path of the directory to save fetched blobs */ + 'blob-directory'?: string; + }; + 'connection'?: { /** limit size of arguments in log entries (default 2048) */ 'arg-log-limit'?: number; /** how long to wait for initial connection (default 1m0s) */ @@ -1000,8 +1002,8 @@ export type NodeConfig = { 'url'?: string; }; /** if set other than 0, will be used to validate database and L1 connection */ - id?: number; - wallet?: { + 'id'?: number; + 'wallet'?: { /** account to use (default is first account in keystore) */ 'account'?: string; /** if true, creates new key then exits */