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

Implement 4844 blob reading in replay binary #2093

Merged
merged 5 commits into from
Jan 23, 2024

Conversation

PlasmaPower
Copy link
Collaborator

I also added support for the node's inbox reader in this PR since it was a very small additional change (just creating the blob reader in node.go).

@cla-bot cla-bot bot added the s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA. label Jan 23, 2024
@@ -55,6 +58,10 @@ func IsZeroheavyEncodedHeaderByte(header byte) bool {
return (ZeroheavyMessageHeaderFlag & header) > 0
}

func IsBlobHashesHeaderByte(header byte) bool {
return (BlobHashesHeaderFlag & header) > 0
Copy link
Member

Choose a reason for hiding this comment

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

Is this right if the flag has more than one 1 bit, like 0x50?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good point, this isn't right

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed. Great catch

Copy link
Member

@Tristan-Wilson Tristan-Wilson left a comment

Choose a reason for hiding this comment

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

LGTM

@PlasmaPower PlasmaPower merged commit 367dfec into 4844-inbox-reader Jan 23, 2024
6 of 7 checks passed
@PlasmaPower PlasmaPower deleted the 4844-consensus branch January 23, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s Automatically added by the CLA bot if the creator of a PR is registered as having signed the CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants