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: v2.1.0
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: v2.1.1
Choose a head ref
  • 10 commits
  • 51 files changed
  • 6 contributors

Commits on May 20, 2025

  1. [DOCS] reference Steel 2.0 blog post, simplify install command and bu…

    …mp create-steel-app (#584)
    
    - create-steel-app bumped to `release-2.1` branch
    - minor changes to crates/steel/README.md
    
    ---------
    
    Co-authored-by: Victor Graf <victor@risczero.com>
    sashaaldrick and nategraf authored May 20, 2025
    Configuration menu
    Copy the full SHA
    0f01a0f View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2025

  1. Configuration menu
    Copy the full SHA
    03e1265 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62424a8 View commit details
    Browse the repository at this point in the history
  3. WEB3-462: Migrate CI to cluster (#608)

    Co-authored-by: morgangibbs87 <133707571+morgangibbs87@users.noreply.github.com>
    2 people authored and nategraf committed Jun 7, 2025
    Configuration menu
    Copy the full SHA
    81241c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    51b57ab View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2a832a1 View commit details
    Browse the repository at this point in the history
  6. WEB3-458: Update the Steel beacon block commit validation to always r…

    …evert on invalid timestamps (#605)
    
    On `main`, the `Beacon.parentBlockRoot(uint256 timestamp)` function
    returns zero bytes if the timestamp given is invalid. This allows the
    `Steel.validateCommitment` to return true if given a commitment suchas
    `Commitment { id: Encoding.encodeVersionID(block.timestamp - 1, 1),
    bytes32(0), configID }` where the digest is zero and the timestamp is
    within the last ~24 hours but does not correspond to a valid block.
    
    This violates the semantics of `validateCommitment` in that this does
    not commitment to a block that is in the current chain. Because the
    digest is zero, it does not correspond to any block and there exist no
    known openings. As a result, this commitment will never be produced by a
    correct zkVM guest using Steel. As a result, leveraging this bug to
    compromise the soundness of a program using Steel would require a
    separate bug or misuse of the Steel API.
    
    As a fix for this issue, this PR checks whether the EIP-4788 contract
    call reverts, and reverts with `InvalidBlockTimestamp` if so. We choose
    this error message as this is the only case in which the EIP-4788
    contract will revert when called from the `Beacon` contract. With this,
    this PR removes the explicit check that the timestamp is recent, as it
    is redundant.
    
    As a drive-by change, this PR also drops the explicit check for the
    block number being too old when using execution block commitments.
    Instead, this checks the return value of the `blockhash` opcode, which
    will return zeroes if the block number is too old. This should not
    result in any change of behavior on Ethereum.
    
    ---------
    
    Co-authored-by: Angelo Capossele <angelocapossele@gmail.com>
    Co-authored-by: Wolfgang Welz <welzwo@gmail.com>
    3 people committed Jun 7, 2025
    Configuration menu
    Copy the full SHA
    7b759dc View commit details
    Browse the repository at this point in the history
  7. WEB3-456: Deploy SetVerifier 0.7 and add Etherscan verification script (

    #604)
    
    - **add contracts/script/verify-set-verifier.sh**
    - **add set verifier 0.7 to deployment.toml**
    nategraf committed Jun 7, 2025
    Configuration menu
    Copy the full SHA
    2b77055 View commit details
    Browse the repository at this point in the history
  8. update risc0-zkvm to 2.1

    nategraf committed Jun 7, 2025
    Configuration menu
    Copy the full SHA
    ea13061 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2025

  1. Prepare release 2.1.1 (#611)

    Co-authored-by: Angelo Capossele <angelocapossele@gmail.com>
    nategraf and capossele authored Jun 9, 2025
    Configuration menu
    Copy the full SHA
    0e450a7 View commit details
    Browse the repository at this point in the history
Loading