Skip to content

Commit aecc0ad

Browse files
author
ScottyPoi
committed
client: add cli option for era1
1 parent 6e6b8f5 commit aecc0ad

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/client/bin/utils.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,11 @@ export function getArgs(): ClientOpts {
421421
string: true,
422422
array: true,
423423
})
424+
.option('loadBlocksFromEra1', {
425+
describe: 'path to a directory of era1 files',
426+
string: true,
427+
optional: true,
428+
})
424429
.option('pruneEngineCache', {
425430
describe:
426431
'Enable/Disable pruning engine block cache (disable for testing against hive etc)',

packages/client/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ export interface ClientOpts {
138138
vmProfileBlocks?: boolean
139139
vmProfileTxs?: boolean
140140
loadBlocksFromRlp?: string[]
141+
loadBlocksFromEra1?: string
141142
pruneEngineCache?: boolean
142143
savePreimages?: boolean
143144
verkleGenesisStateRoot?: Uint8Array

0 commit comments

Comments
 (0)