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: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
```
@github-actions
Copy link

github-actions bot commented Oct 15, 2025

Unit Test Results

       15 files  ±0    3 030 suites  ±0   1h 28m 47s ⏱️ - 2m 19s
12 625 tests ±0  12 045 ✔️ ±0  580 💤 ±0  0 ±0 
79 371 runs  ±0  78 494 ✔️ ±0  877 💤 ±0  0 ±0 

Results for commit c175b16. ± Comparison against base commit e102cbe.

♻️ 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.

@etan-status
Copy link
Contributor Author

Have updated it once more, SECONDS_PER_SLOT no longer has to be defined at compiletime and now loads fine @SyedMuhamadYasir

@SyedMuhamadYasir
Copy link

Have updated it once more, SECONDS_PER_SLOT no longer has to be defined at compiletime and now loads fine @SyedMuhamadYasir

thank you! which build should i pull from the repo?

@etan-status
Copy link
Contributor Author

The latest one from this PR: dev/etan/cf-hoodiuzh branch

@etan-status
Copy link
Contributor Author

etan-status commented Oct 23, 2025

And, build using this command:

NIMFLAGS="-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

Don't forget make update after switching branches (before building).

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!

3 participants