Skip to content

Commit e949bb1

Browse files
committed
client -> VM execution: made stateDB a client option analogue to chainDB
1 parent 27460a9 commit e949bb1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/client/lib/client.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ export interface EthereumClientOptions {
2525
=======
2626
>>>>>>> client -> VM execution: renamed chain db instances to chainDB for differentiation towards stateDB
2727

28+
/**
29+
* Database to store the state. Should be an abstract-leveldown compliant store.
30+
*
31+
* Default: Database created by the Trie class
32+
*/
33+
stateDB?: LevelUp
34+
2835
/* List of bootnodes to use for discovery */
2936
bootnodes?: BootnodeLike[]
3037

0 commit comments

Comments
 (0)