diff --git a/packages/node/src/config/Config.ts b/packages/node/src/config/Config.ts index f250ba5..75d0f5b 100644 --- a/packages/node/src/config/Config.ts +++ b/packages/node/src/config/Config.ts @@ -14,6 +14,7 @@ export interface Config { readonly batchPoster: { readonly intervalMs: number readonly gasLimit: number + readonly sequencerOrder: string } readonly privateKey: Hex readonly genesisState: Record diff --git a/packages/node/src/config/config.local.ts b/packages/node/src/config/config.local.ts index d8ccdf0..a09eb3c 100644 --- a/packages/node/src/config/config.local.ts +++ b/packages/node/src/config/config.local.ts @@ -22,6 +22,10 @@ export function getLocalConfig(): Config { batchPoster: { intervalMs: 10_000, gasLimit: 3_000_000, + sequencerOrder: env.string( + 'SEQUENCER_ORDER', + 'FEE' + ) }, privateKey: Hex( '0x47e179ec197488593b187f80a00eb0da91f1b9d0b13f8733639f19c30a34926a', diff --git a/packages/node/src/config/config.production.ts b/packages/node/src/config/config.production.ts index 5f34775..a741395 100644 --- a/packages/node/src/config/config.production.ts +++ b/packages/node/src/config/config.production.ts @@ -33,6 +33,10 @@ export function getProductionConfig(): Config { batchPoster: { intervalMs: 10_000, gasLimit: 3_000_000, + sequencerOrder: env.string( + 'SEQUENCER_ORDER', + 'FEE' + ) }, privateKey: Hex(env.string('PRIVATE_KEY')), genesisState: GENESIS_STATE,