Skip to content

Conversation

@maximopalopoli
Copy link
Collaborator

@maximopalopoli maximopalopoli commented Jun 23, 2025

Description

This PR updates the RISC0 dependency on Rust crates to v2.1.0.

How to Test

Verification Layer

  1. Start Ethereum Package
make ethereum_package_start
  1. Start batcher
make batcher_start_ethereum_package
  1. Start aggregator
make aggregator_start_ethereum_package ENVIRONMENT=devnet
  1. Start operator

Note: You need to rebuild ffis

make build_all_ffi
make operator_full_registration CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml ENVIRONMENT=devnet
make operator_start CONFIG_FILE=config-files/config-operator-1-ethereum-package.yaml ENVIRONMENT=devnet
  1. Start explorer
make explorer_clean_db
make explorer_start
  1. Send proofs
make aligned_install_compiling
make batcher_send_risc0_task
make batcher_send_risc0_task_no_pub_input
  1. Check the proofs are verified in the explorer (http://localhost:4000/)

Note: Examples in docs won't work in Holesky until the deploy is done.

Aggregation Mode

  1. Run aggregation mode. Note: This step only will run on a linux server
make proof_aggregator_start AGGREGATOR=risc0

Type of change

  • New feature

Checklist

  • “Hotfix” to testnet, everything else to staging
  • Linked to Github Issue
  • This change depends on code or research by an external entity
    • Acknowledgements were updated to give credit
  • Unit tests added
  • This change requires new documentation.
    • Documentation has been added/updated.
  • This change is an Optimization
    • Benchmarks added/run
  • Has a known issue
  • If your PR changes the Operator compatibility (Ex: Upgrade prover versions)
    • This PR adds compatibility for operator for both versions and do not change batcher/docs/examples
    • This PR updates batcher and docs/examples to the newer version. This requires the operator are already updated to be compatible

@maximopalopoli maximopalopoli changed the title Bump risc zero version up to 2.1.0 update risc zero version up to 2.1.0 Jun 23, 2025
@JuArce JuArce changed the title update risc zero version up to 2.1.0 feat: update risc zero version up to 2.1.0 Jun 23, 2025
@JuArce JuArce marked this pull request as ready for review June 23, 2025 21:39
@github-actions
Copy link

github-actions bot commented Jun 24, 2025

Changes to gas cost

Generated at commit: 0e404f75c7b6faa29e188f931299e8f4d344a747, compared to commit: 72421b17482b788df9012d27d006d2559e033b22

🧾 Summary (10% most significant diffs)

Contract Method Avg (+/-) %
AlignedLayerServiceManager createNewTask -18 ✅ -0.02%

Full diff report 👇
Contract Deployment Cost (+/-) Method Min (+/-) % Avg (+/-) % Median (+/-) % Max (+/-) % # Calls (+/-)
AlignedLayerServiceManager 4,398,072 (0) createNewTask 56,934 (-84) -0.15% 77,020 (-18) -0.02% 77,038 (-12) -0.02% 77,860 (0) 0.00% 256 (0)

@JuArce JuArce added this pull request to the merge queue Jun 24, 2025
Merged via the queue into staging with commit 2e9d5db Jun 24, 2025
8 checks passed
@JuArce JuArce deleted the 1991-feat-update-risc0-to-v210 branch June 24, 2025 18:07
@JuArce JuArce linked an issue Jun 24, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: update Risc0 to v2.1.0

5 participants