Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ethereum-package
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
ethereum-package
Commits
e0854624
Unverified
Commit
e0854624
authored
Apr 15, 2024
by
Barnabas Busa
Committed by
GitHub
Apr 15, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: disable pbss when gcmode archive set (#559)
parent
555ad7dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
README.md
README.md
+1
-1
geth_launcher.star
src/el/geth/geth_launcher.star
+13
-1
input_parser.star
src/package_io/input_parser.star
+3
-2
No files found.
README.md
View file @
e0854624
...
...
@@ -850,7 +850,7 @@ snooper_enabled: true
| Teku BN | ✅ | ✅ | ✅ | ✅ | ✅
| Lodestar BN | ✅ | ❌ | ❌ | ✅ | ❌
| Nimbus BN | ✅ | ❌ | ✅ | ❌ | ✅
| Grandine BN | ✅ | ✅ | ✅ |
❌
| ✅
| Grandine BN | ✅ | ✅ | ✅ |
✅
| ✅
## Custom labels for Docker and Kubernetes
...
...
src/el/geth/geth_launcher.star
View file @
e0854624
...
...
@@ -216,6 +216,14 @@ def get_config(
)
elif constants.NETWORK_NAME.shadowfork in network:
init_datadir_cmd_str = "echo shadowfork"
elif (
"--gcmode archive" in extra_params
): # Disable path based storage scheme archive mode
init_datadir_cmd_str = "geth init --datadir={0} {1}".format(
EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
constants.GENESIS_CONFIG_MOUNT_PATH_ON_CONTAINER + "/genesis.json",
)
else:
init_datadir_cmd_str = "geth init --state.scheme=path --datadir={0} {1}".format(
EXECUTION_DATA_DIRPATH_ON_CLIENT_CONTAINER,
...
...
@@ -226,7 +234,11 @@ def get_config(
"geth",
# Disable path based storage scheme for electra fork and verkle
# TODO: REMOVE Once geth default db is path based, and builder rebased
"{0}".format("--state.scheme=path" if "verkle" not in network else ""),
"{0}".format(
"--state.scheme=path"
if "verkle" not in network and "--gcmode archive" not in extra_params
else ""
),
# Override prague fork timestamp for electra fork
"{0}".format("--cache.preimages" if "verkle" in network else ""),
# Override prague fork timestamp
...
...
src/package_io/input_parser.star
View file @
e0854624
...
...
@@ -483,13 +483,14 @@ def parse_network_params(input_args):
total_participant_count += participant["count"]
if total_participant_count == 1:
for index, participant in enumerate(result["participants"]):
# If there is only one participant, we run lodestar as a single node mode
if participant["cl_type"] == constants.CL_TYPE.lodestar:
participant["cl_extra_params"].append("--sync.isSingleNode")
participant["cl_extra_params"].append("--network.allowPublishToZeroPeers")
participant["cl_extra_params"].append(
"--network.allowPublishToZeroPeers"
)
if result["network_params"]["network_id"].strip() == "":
fail("network_id is empty or spaces it needs to be of non zero length")
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment