Skip to content

Conversation

etan-status
Copy link
Contributor

@etan-status etan-status commented Oct 15, 2025

Allow loading the config #7525 which adjusts a couple config values that so far have not been overridden by any other networks (incl under dev), to support their research.

Went with a simple {.intdefine.} approach, and tagged everything that is solely {.intdefine.} to support hoodiUZH as such with a comment. The extra module is used because we convert from the raw uint64 to a different internal type but use the same name so cannot be in same mod.

To compile for hoodiUZH:

NIMFLAGS="-d:SECONDS_PER_SLOT=6 -d:MAX_REQUEST_BLOCKS=256 -d:EPOCHS_PER_SUBNET_SUBSCRIPTION=64 -d:MAXIMUM_GOSSIP_CLOCK_DISPARITY=1000 -d:SUBNETS_PER_NODE=1" make -j nimbus_beacon_node

Allow loading the config #7525 which adjusts a couple config values that
so far have not been overridden by any other networks (incl under dev),
to support their research.

Went with a simple {.intdefine.} approach, and tagged everything that is
solely {.intdefine.} to support hoodiUZH as such with a comment.
The extra module is used because we convert from the raw uint64 to a
different internal type but use the same name so cannot be in same mod.

To compile for hoodiUZH:

```
NIMFLAGS="-d:SECONDS_PER_SLOT=6 -d:REORG_MAX_EPOCHS_SINCE_FINALIZATION=8 -d:MAX_REQUEST_BLOCKS=256 -d:EPOCHS_PER_SUBNET_SUBSCRIPTION=64 -d:TTFB_TIMEOUT=10 -d:RESP_TIMEOUT=20 -d:MAXIMUM_GOSSIP_CLOCK_DISPARITY=1000 -d:SUBNETS_PER_NODE=1 -d:REORG_HEAD_WEIGHT_THRESHOLD=10" make -j nimbus_beacon_node
```
Copy link

github-actions bot commented Oct 15, 2025

Unit Test Results

       15 files  ±0    3 030 suites  ±0   1h 37m 14s ⏱️ - 1m 33s
12 061 tests ±0  11 491 ✔️ ±0  570 💤 ±0  0 ±0 
76 481 runs  ±0  75 629 ✔️ ±0  852 💤 ±0  0 ±0 

Results for commit 192f14c. ± Comparison against base commit 503ac5e.

♻️ This comment has been updated with latest results.

@etan-status
Copy link
Contributor Author

etan-status commented Oct 16, 2025

Simplified the build command in PR description with the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nimbus rejects custom network constants from config.yaml (SECONDS_PER_SLOT=6) on existing private testnet - requesting support!

2 participants