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

crypto/kzg4844: add helpers for versioned blob hashes #28827

Merged
merged 2 commits into from
Jan 19, 2024

Commits on Jan 17, 2024

  1. crypto/kzg4844: add helper function CalcBlobHashV1

    The code to compute a versioned hash was duplicated a couple times, and also had a small
    issue: if we ever change params.BlobTxHashVersion, it will most likely also cause changes
    to the actual hash computation. So it's a bit useless to have this constant in params.
    fjl committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    7cdd355 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aab6989 View commit details
    Browse the repository at this point in the history