Skip to content

Commit 42da1e1

Browse files
committed
fix: update risc0 program id
1 parent 48eed48 commit 42da1e1

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

aggregation_mode/aggregation_programs/risc0/src/chunk_aggregator_main.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ use risc0_zkvm::guest::env;
66

77
risc0_zkvm::guest::entry!(main);
88

9-
// Generated with `make agg_mode_write_program_ids` and copied from program_ids.json
9+
// Generated with `make proof_aggregator_write_program_ids` and copied from program_ids.json
1010
pub const USER_PROOFS_AGGREGATOR_PROGRAM_IMAGE_ID: [u8; 32] = [
11-
83, 145, 39, 254, 127, 217, 146, 127, 63, 217, 69, 190, 11, 204, 170, 138, 215, 35, 175, 246,
12-
209, 154, 52, 243, 85, 37, 177, 147, 22, 153, 155, 156,
11+
175, 145, 238, 43, 162, 202, 160, 191, 6, 143, 117, 138, 116, 252, 141, 190, 142, 207, 55, 244,
12+
195, 97, 136, 132, 37, 29, 123, 136, 87, 129, 46, 133,
1313
];
1414

1515
fn main() {

aggregation_mode/aggregation_programs/sp1/src/chunk_aggregator_main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use lambdaworks_crypto::merkle_tree::merkle::MerkleTree;
55
use sha2::{Digest, Sha256};
66
use sp1_aggregation_program::{ChunkAggregatorInput, Hash32};
77

8-
// Generated with `make agg_mode_write_program_ids` and copied from program_ids.json
8+
// Generated with `make proof_aggregator_write_program_ids` and copied from program_ids.json
99
pub const USER_PROOFS_AGGREGATOR_PROGRAM_VK_HASH: [u32; 8] = [
1010
680366333, 641426229, 1664630596, 666355318, 451221463, 289732250, 1301203111, 977136872,
1111
];

aggregation_mode/programs_ids.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"risc0_chunk_aggregator_image_id": "0xcee9c4f2e4758970c20676cc7bfd23a1640f18b8b025ed05be7330c9472aa65a",
3-
"risc0_user_proofs_aggregator_image_id": "0x539127fe7fd9927f3fd945be0bccaa8ad723aff6d19a34f35525b19316999b9c",
4-
"risc0_user_proofs_aggregator_image_id_bytes": "[83, 145, 39, 254, 127, 217, 146, 127, 63, 217, 69, 190, 11, 204, 170, 138, 215, 35, 175, 246, 209, 154, 52, 243, 85, 37, 177, 147, 22, 153, 155, 156]",
2+
"risc0_chunk_aggregator_image_id": "0xc898d738ac9d00f9ae46452b737f40926ddd67d595f3548aeb378cd43331e5a5",
3+
"risc0_user_proofs_aggregator_image_id": "0xaf91ee2ba2caa0bf068f758a74fc8dbe8ecf37f4c3618884251d7b8857812e85",
4+
"risc0_user_proofs_aggregator_image_id_bytes": "[175, 145, 238, 43, 162, 202, 160, 191, 6, 143, 117, 138, 116, 252, 141, 190, 142, 207, 55, 244, 195, 97, 136, 132, 37, 29, 123, 136, 87, 129, 46, 133]",
55
"sp1_chunk_aggregator_vk_hash": "0x00856d1f422b7919a4c37d912033a3a8404d2a19688769ad7b6095e16b3d7448",
66
"sp1_user_proofs_aggregator_vk_hash": "0x00511b21fa98ed8cd719c1fa227b7c67635ca2fae4513da6a6c76453ba3dece8",
77
"sp1_user_proofs_aggregator_vk_hash_words": "[680366333, 641426229, 1664630596, 666355318, 451221463, 289732250, 1301203111, 977136872]"

contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"programs_id": {
99
"sp1AggregationProgramVKHash": "0x00856d1f422b7919a4c37d912033a3a8404d2a19688769ad7b6095e16b3d7448",
10-
"risc0AggregationProgramImageId": "0xcee9c4f2e4758970c20676cc7bfd23a1640f18b8b025ed05be7330c9472aa65a"
10+
"risc0AggregationProgramImageId": "0xc898d738ac9d00f9ae46452b737f40926ddd67d595f3548aeb378cd43331e5a5"
1111
},
1212
"permissions": {
1313
"owner": "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"

contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.mock.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"programs_id": {
99
"sp1AggregationProgramVKHash": "0x00856d1f422b7919a4c37d912033a3a8404d2a19688769ad7b6095e16b3d7448",
10-
"risc0AggregationProgramImageId": "0xcee9c4f2e4758970c20676cc7bfd23a1640f18b8b025ed05be7330c9472aa65a"
10+
"risc0AggregationProgramImageId": "0xc898d738ac9d00f9ae46452b737f40926ddd67d595f3548aeb378cd43331e5a5"
1111
},
1212
"permissions": {
1313
"owner": "0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"

contracts/scripts/anvil/deploy_aligned_contracts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ rm -f "script/output/devnet/alignedlayer_deployment_output.temp2.json"
6565

6666
# Update Program IDs in anvil deployment
6767
cd ..
68-
make agg_mode_write_program_ids
68+
make proof_aggregator_write_program_ids
6969

7070
# Copy new values to config file
7171
jq '.programs_id.risc0AggregationProgramImageId = $input[0].risc0_chunk_aggregator_image_id | .programs_id.sp1AggregationProgramVKHash = $input[0].sp1_chunk_aggregator_vk_hash' \

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)