Skip to content

Commit 3e1c7a6

Browse files
authored
fix: disable pbss when gcmode archive set, force hash based init (ethereum#562)
1 parent 13de3f6 commit 3e1c7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/el/geth/geth_launcher.star

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def get_config(
220220
elif (
221221
"--gcmode archive" in extra_params
222222
): # Disable path based storage scheme archive mode
223-
init_datadir_cmd_str = "geth init --datadir={0} {1}".format(
223+
init_datadir_cmd_str = "geth init --state.scheme=hash --datadir={0} {1}".format(
224224
EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
225225
constants.GENESIS_CONFIG_MOUNT_PATH_ON_CONTAINER + "/genesis.json",
226226
)

0 commit comments

Comments
 (0)