Skip to content

Commit

Permalink
Expose runtime MAX_BLOBS_PER_BLOCK_ELECTRA in REST config endpoint
Browse files Browse the repository at this point in the history
The REST config endpoint exposes the compile-time constant instead of
the config value for `MAX_BLOBS_PER_BLOCK_ELECTRA`. Fix that, so that
the compile-time constant can be removed eventually.
  • Loading branch information
etan-status committed Feb 24, 2025
1 parent f232e39 commit ddab5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_chain/rpc/rest_config_api.nim
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ proc installConfigApiHandlers*(router: var RestRouter, node: BeaconNode) =
MAX_PENDING_DEPOSITS_PER_EPOCH:
Base10.toString(uint64(MAX_PENDING_DEPOSITS_PER_EPOCH)),
MAX_BLOBS_PER_BLOCK_ELECTRA:
Base10.toString(uint64(MAX_BLOBS_PER_BLOCK_ELECTRA)),
Base10.toString(cfg.MAX_BLOBS_PER_BLOCK_ELECTRA),
MIN_PER_EPOCH_CHURN_LIMIT_ELECTRA:
Base10.toString(cfg.MIN_PER_EPOCH_CHURN_LIMIT_ELECTRA),
MAX_PER_EPOCH_ACTIVATION_EXIT_CHURN_LIMIT:
Expand Down

0 comments on commit ddab5aa

Please sign in to comment.