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

state proofs: add block hash to LightBlockHeader #5663

Merged
merged 3 commits into from
Nov 17, 2023

Commits on Aug 14, 2023

  1. add block hash to state proof

    Replace the `Seed` value in the state proof light header with `BlockHash`.
    It serves a similar purpose in terms of the second-order consideration
    of defending against potential future hash-collision attacks (albeit a
    little bit weaker), but has the benefit of allowing validating the entire
    blockchain, by committing to the block hash itself in the state proof.
    zeldovich committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    69808d8 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. fix TestStateProofMessageCommitmentVerification

    The test set a configurable consensus protocol, "test-fast-stateproofs",
    and propagated the configuration to the child algod processes spawned
    by the test, but did not update the supported consensus params in
    the test process itself.  As a result, when the test code tried to
    compute the light block header, it didn't have the block protocol
    (test-fast-stateproofs) in its config.Consensus.
    zeldovich committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    55e05b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Configuration menu
    Copy the full SHA
    83f5c0f View commit details
    Browse the repository at this point in the history