Skip to content

Commit 4409f51

Browse files
ScottyPoiScottyPoi
authored andcommitted
client: add cli option for era1
1 parent a0281b0 commit 4409f51

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
@@ -422,6 +422,11 @@ export function getArgs(): ClientOpts {
422422
string: true,
423423
array: true,
424424
})
425+
.option('loadBlocksFromEra1', {
426+
describe: 'path to a directory of era1 files',
427+
string: true,
428+
optional: true,
429+
})
425430
.option('pruneEngineCache', {
426431
describe:
427432
'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)