Skip to content

Commit 191952c

Browse files
authored
chore: bump op-succinct 3.5.0 (#330)
Upgrade of `op-succinct` to `3.5.0`
1 parent 67aec7a commit 191952c

File tree

6 files changed

+40
-15
lines changed

6 files changed

+40
-15
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install toolchain
2626
uses: dtolnay/rust-toolchain@master
2727
with:
28-
toolchain: nightly-2025-04-24
28+
toolchain: nightly
2929
components: clippy rustfmt llvm-tools-preview
3030

3131
- name: Set up rust cache

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ agglayer-tries = "0.13.0"
4949
unified-bridge = "0.13.0"
5050

5151
# Ecosystem dependencies
52-
op-succinct-elfs = { git = "https://github.com/agglayer/op-succinct.git", tag = "v3.4.0-rc.1-agglayer" }
52+
op-succinct-elfs = { git = "https://github.com/agglayer/op-succinct.git", tag = "v3.5.0-rc.1-agglayer" }
5353

5454
# SP1 dependencies
5555
# Please check if the toolchain image at the top `scripts/make/Makefile.elf.toml` could also be

README.md

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,22 @@ The <b>Agglayer</b> (<i>Aggregation layer</i>) provides a common language for se
3131

3232
## Table of Contents
3333

34+
- [Table of Contents](#table-of-contents)
3435
- [Overview](#overview)
3536
- [Repository Structure](#repository-structure)
3637
- [Prerequisites](#prerequisites)
3738
- [Succinct Prover Network](#succinct-prover-network)
3839
- [Software Requirements](#software-requirements)
39-
- [Hardware Requirements](#hardware-recommendations)
40+
- [Hardware Recommendations](#hardware-recommendations)
4041
- [Installation](#installation)
42+
- [Running the Test Suite](#running-the-test-suite)
4143
- [Modifying and building the Aggchain Proof](#modifying-and-building-the-aggchain-proof)
44+
- [Building Aggchain Proof one-off](#building-aggchain-proof-one-off)
45+
- [Turning on automatic proof rebuild](#turning-on-automatic-proof-rebuild)
46+
- [Check the vkey hash from the ELF binary](#check-the-vkey-hash-from-the-elf-binary)
47+
- [Proof versioning policy](#proof-versioning-policy)
4248
- [Development](#development)
4349
- [Support](#support)
44-
- [Resources](#resources)
4550
- [License](#license)
4651

4752
## Overview
@@ -142,6 +147,28 @@ It is mostly useful for debugging, the `update` is more suitable for regular dev
142147

143148
To get automatic rebuilds by default, set the variable in the shell init script.
144149

150+
### Check the vkey hash from the ELF binary
151+
152+
This command helps to retrieve the vkey hash from a given ELF binary:
153+
154+
```
155+
cargo prove vkey --elf <path-to-elf-file>
156+
```
157+
158+
Output example:
159+
160+
```
161+
Verification Key Hash:
162+
0x0077f45ec2258cc98fa879d13a2773190bffb9cafb9f428ce3c5718dc768f03e
163+
```
164+
165+
Which ELFs?
166+
167+
- `aggchain proof` ELF binary
168+
- lives in this present `provers` repository
169+
- `aggregation` and `range` ELF binaries for the op-succinct proofs
170+
- live in the `op-succinct` dependency repository
171+
145172
### Proof versioning policy
146173

147174
The proof binary to use is uniquely identified by a vkey selector on the L1.
@@ -156,8 +183,6 @@ Contributions are very welcomed, the guidelines are currently not available (WIP
156183

157184
Feel free to [open an issue](https://github.com/agglayer/agglayer/issues/new) if you have any feature request or bug report.<br />
158185

159-
## Resources
160-
161186
## License
162187
Copyright (c) 2024 PT Services DMCC
163188

@@ -166,6 +191,6 @@ Licensed under either of
166191
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
167192
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
168193

169-
at your option.
194+
at your option.
170195

171196
The SPDX license identifier for this project is `MIT OR Apache-2.0`.

crates/proposer-elfs/src/test/snapshots/proposer_elfs__test__aggregation_vkey.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ source: crates/proposer-elfs/src/test/mod.rs
33
expression: snap
44
---
55
aggregation vkey
6-
hash_u32 [1065281593, 1918965487, 143507916, 538488729, 1307528054, 990927305, 656662345, 602973261]
7-
bytes32 0x007efdd073c9845bbc446e0e62018af999bde96ecec416725391efa4a3f0a44d
8-
bytes 0x3f7ee839726116ef088dc1cc2018af994def4b763b1059c92723df4923f0a44d
6+
hash_u32 [1006251873, 157495907, 1963932199, 578236816, 1610468951, 1853688371, 1200284443, 1198059582]
7+
bytes32 0x0077f45ec2258cc98fa879d13a2773190bffb9cafb9f428ce3c5718dc768f03e
8+
bytes 0x3bfa2f6109633263750f3a27227731905ffdce576e7d0a33478ae31b4768f03e

crates/proposer-elfs/src/test/snapshots/proposer_elfs__test__range_vkey.snap

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ source: crates/proposer-elfs/src/test/mod.rs
33
expression: snap
44
---
55
range vkey
6-
hash_u32 [1266824388, 1988473654, 455227799, 37841536, 276314907, 1880827792, 1941237891, 508942947]
7-
bytes32 0x0097046989da16ccd8d911ccb82416a8020f07637c06c9e439da78419e55da63
8-
bytes 0x4b8234c47685b3361b22399702416a8010783b1b701b279073b4f0831e55da63
6+
hash_u32 [240212150, 1279656060, 82155303, 664969832, 842235838, 1985045033, 1259135469, 229863325]
7+
bytes32 0x001ca2b16d311801f0272cb93a7a2a2686466ff7dd94588a658670f68db36f9d
8+
bytes 0x0e5158b64c46007c04e5972727a2a26832337fbe765162294b0ce1ed0db36f9d

0 commit comments

Comments
 (0)