Skip to content

Comments

Remove MAX_REQUEST_* config variables#4322

Closed
jtraglia wants to merge 3 commits intoethereum:devfrom
jtraglia:remove-max-requests-configs
Closed

Remove MAX_REQUEST_* config variables#4322
jtraglia wants to merge 3 commits intoethereum:devfrom
jtraglia:remove-max-requests-configs

Conversation

@jtraglia
Copy link
Member

This PR deletes the following config variables:

  • MAX_REQUEST_BLOB_SIDECARS
  • MAX_REQUEST_BLOB_SIDECARS_ELECTRA
  • MAX_REQUEST_DATA_COLUMN_SIDECARS

It doesn't make sense to have this, as they can be computed using other config variables.

@rolfyone
Copy link
Contributor

These kinds of things are a bit of a compatibility pain, if it's just a clean up I'd probably prefer leaving them given they're on active forks...

@barnabasbusa
Copy link
Member

If we merge this, I'd set this as a target for fusaka-devnet-1, and not fusaka-devnet-0.

@nflaig
Copy link
Member

nflaig commented May 16, 2025

These kinds of things are a bit of a compatibility pain, if it's just a clean up I'd probably prefer leaving them given they're on active forks...

maybe since those are networking and not consensus critical constants we can get away with it? I just checked lodestar vc and it does not check those on startup as they are considered non-critical

Copy link
Member

@dapplion dapplion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 to remove completely. Issues from this removal should be start-up only so easy to guard against in clients

@rolfyone
Copy link
Contributor

+1 to remove completely. Issues from this removal should be start-up only so easy to guard against in clients

im less concerned about clients we're yet to release, and more concerned about nodes that are already out in the wild and downloading config from new nodes that are missing required fields. Compatibility issues like this drive issues in discord and we're already trying to do a ton of things at the same time.

@dapplion
Copy link
Member

im less concerned about clients we're yet to release, and more concerned about nodes that are already out in the wild and downloading config from new nodes that are missing required fields. Compatibility issues like this drive issues in discord and we're already trying to do a ton of things at the same time.

Clients can choose to leave them frozen with latest speced values. But we remove from the specs for clarity. Do some clients use the consensus-specs file as is without modification?

@rolfyone
Copy link
Contributor

Clients can choose to leave them frozen with latest speced values. But we remove from the specs for clarity. Do some clients use the consensus-specs file as is without modification?

yes, where ever possible we attempt to use the actual files.

Copy link
Member

@haxxpop haxxpop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that the config vars won't be anything else other than MAX_REQUEST_BLOCKS_DENEB * MAX_BLOBS_PER_BLOCK and
MAX_REQUEST_BLOCKS_DENEB * NUMBER_OF_COLUMNS, so it makes sense to remove them.

@jtraglia
Copy link
Member Author

This doesn't have enough support right now. Going to close this PR. Maybe we can do this in the future.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants