Skip to content

Conversation

@chetanyb
Copy link
Contributor

@chetanyb chetanyb commented Sep 23, 2025

Closes #215

Usage

zig build -Dpreset=mainnet
zig build -Dpreset=minimal

@chetanyb chetanyb marked this pull request as draft September 23, 2025 17:55
@chetanyb chetanyb marked this pull request as ready for review September 26, 2025 04:34
@chetanyb chetanyb requested a review from g11tech September 29, 2025 08:58
@GrapeBaBa
Copy link
Member

Is it preset a compile time arg or not in the beacon chain?

@chetanyb
Copy link
Contributor Author

Is it preset a compile time arg or not in the beacon chain?

yes, it's a compile-time argument.

@chetanyb
Copy link
Contributor Author

@GrapeBaBa @g11tech

@GrapeBaBa
Copy link
Member

Is it preset a compile time arg or not in the beacon chain?

yes, it's a compile-time argument.

Any evidence for it? such as any beacon client cmd flag?

@chetanyb
Copy link
Contributor Author

Is it preset a compile time arg or not in the beacon chain?

yes, it's a compile-time argument.

Any evidence for it? such as any beacon client cmd flag?

If you meant how other beacon clients do it, the consensus specs state that presets are generally only applicable during compile-time and implementation may choose to only support 1 preset per build-target (https://github.com/ethereum/consensus-specs/tree/dev/presets).

Different clients handle this differently:

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.

Add option for configurable preset using flags

3 participants