Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peerdas Change csc types to uint64 #3908

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

pawanjay176
Copy link
Contributor

Reverts #3897

As discussed on discord:

Since ENRs are already rlp encoded, the csc field will get rlp encoded based on its size, so we can just keep it as a big endian integer value.

For metadata, I kept it as uint64 because its better to keep things consistent imo. And saving 6 bytes on metadata responses won't get us more than a couple hundred kilobytes savings per day which isn't significant

@jtraglia jtraglia added the EIP-7594 PeerDAS label Aug 30, 2024
Copy link
Member

@jtraglia jtraglia left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Co-authored-by: Anton Nashatyrev <Nashatyrev@users.noreply.github.com>
@hwwhww hwwhww merged commit 5111cbf into ethereum:dev Sep 3, 2024
26 checks passed
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.

8 participants