Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: risc0/risc0-ethereum
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0638b73
Choose a base ref
...
head repository: risc0/risc0-ethereum
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 82a0ddf
Choose a head ref
  • 5 commits
  • 35 files changed
  • 2 contributors

Commits on Oct 3, 2024

  1. WEB3-165: Add JournalSeal struct to encode ffi prove output (#278)

    This PR fixes an Abu encoding/decoding issue on the ffi prove command by
    replacing the tuple `(Bytes, Bytes)` with a `JournalSeal` struct
    capossele authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    f3a5386 View commit details
    Browse the repository at this point in the history
  2. WEB3-162: Fix broken links (#277)

    Fixes #271
    Fixes WEB3-162
    Wollac authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ee1c455 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. WEB3-163: Adds try_call() method to CallBuilder for explicit erro…

    …r handling (#273)
    
    This PR introduces a new method, `try_call()`, to the `CallBuilder` API.
    This method returns a `Result` to allow users to handle potential errors
    during call execution. The existing `call()` method is retained for
    situations where panicking on failure is acceptable. Documentation has
    been updated to reflect these changes.
    Wollac authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3643483 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. WEB3-152: Generalized beacon commits (#265)

    This PR changes two aspects of how beacon block root commits are
    implemented:
    - Instead of having a `const` specifying the generalized Merkle index,
    we introduce a const generic for the index to make it part of the
    struct. This makes the code more robust against future protocol
    upgrades, and would also allow us to verify fields other than the
    `block_hash` in the future.
    - Instead of committing to the root of a beacon block referenced by its
    timestamp, we commit to the root of a beacon block referenced by its
    child timestamp, or equivalently, we commit to the root of the parent
    beacon block referenced by its timestamp. While this may sound
    counterintuitive, this is exactly how the
    [EIP-4788](https://eips.ethereum.org/EIPS/eip-4788) beacon root contract
    stores its data. This makes the verification side in Solidity much
    easier and less expensive, and gets rid of the weird code that was
    necessary to query the child of a beacon block during creation.
    
    This PR also adds much more documentation explaining that beacon
    commitment creation is currently only implemented for Daneb, and that
    the library needs to be updated to support future versions.
    
    It also introduces a wrapper around the Eth RPC block number tags,
    making it more convenient to specify the last block in the chain that
    still has a child.
    
    Resolves #258, resolves #260, resolves #262
    Resolves WEB3-150, resolves WEB3-152, resolves WEB3-154
    This PR also resolves #242 and resolves WEB3-123, as without the need to
    query for the child beacon node that api is not needed.
    Wollac authored Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e833bdd View commit details
    Browse the repository at this point in the history
  2. move beacon API into builder

    Wollac committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    82a0ddf View commit details
    Browse the repository at this point in the history
Loading