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

add blob verification function + hash validation for blob tx parsing #5

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

roberto-bayardo
Copy link
Owner

  • tests


func (s blob) At(i int) [32]byte {
r := [32]byte{}
if i*32+32 > len(s) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

FieldElementSize = 32?

Copy link
Owner Author

Choose a reason for hiding this comment

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

done

@roberto-bayardo roberto-bayardo merged commit 60c64f4 into eip-4844 Jan 15, 2023
@roberto-bayardo roberto-bayardo deleted the verification branch January 15, 2023 16:10
roberto-bayardo added a commit that referenced this pull request Jan 17, 2023
roberto-bayardo added a commit that referenced this pull request Jan 17, 2023
roberto-bayardo added a commit that referenced this pull request Jan 20, 2023
roberto-bayardo added a commit that referenced this pull request Jan 25, 2023
roberto-bayardo added a commit that referenced this pull request Jan 26, 2023
roberto-bayardo added a commit that referenced this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants