File tree Expand file tree Collapse file tree 3 files changed +31
-14
lines changed
script/deploy/config/devnet Expand file tree Collapse file tree 3 files changed +31
-14
lines changed Original file line number Diff line number Diff line change 11{
2- "address" : {
3- "sp1VerifierAddress" : " 0xB146FbFdFeC2a5182b3Cef9becE03290224256D5" ,
4- "risc0VerifierAddress" : " 0x663F3ad617193148711d28f5334eE4Ed07016602" ,
5- "alignedAggregatorAddress" : " 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720" ,
6- "alignedAggregatorAddressPrivateKey" : " 0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6"
7- },
8- "programs_id" : {
9- "sp1AggregationProgramVKHash" : " 0x00eb8139c8360fc371b9a6decdec55ba01aaae0f4739f68139e0b3d40397d1d6" ,
10- "risc0AggregationProgramImageId" : " 0xa2966b3e63b5e73848dd3fb8ff1e03ac68ca10fa961ca0c0d8dbbb0a85b60acd"
11- },
12- "permissions" : {
13- "owner" : " 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"
14- }
2+ "address" : {
3+ "sp1VerifierAddress" : " 0xB146FbFdFeC2a5182b3Cef9becE03290224256D5" ,
4+ "risc0VerifierAddress" : " 0x663F3ad617193148711d28f5334eE4Ed07016602" ,
5+ "alignedAggregatorAddress" : " 0xa0Ee7A142d267C1f36714E4a8F75612F20a79720" ,
6+ "alignedAggregatorAddressPrivateKey" : " 0x2a871d0798f97d79848a013d4936a73bf4cc922c825d33c1cf7073dff6d409c6"
7+ },
8+ "programs_id" : {
9+ "sp1AggregationProgramVKHash" : " 0x00eb8139c8360fc371b9a6decdec55ba01aaae0f4739f68139e0b3d40397d1d6" ,
10+ "risc0AggregationProgramImageId" : " 0xa2966b3e63b5e73848dd3fb8ff1e03ac68ca10fa961ca0c0d8dbbb0a85b60acd"
11+ },
12+ "permissions" : {
13+ "owner" : " 0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"
14+ }
1515}
Original file line number Diff line number Diff line change @@ -65,6 +65,23 @@ rm -f "script/output/devnet/alignedlayer_deployment_output.temp1.json"
6565rm -f " script/output/devnet/alignedlayer_deployment_output.temp2.json"
6666
6767
68+ # Update Program IDs in anvil deployment
69+ cd ..
70+ make agg_mode_write_program_ids
71+
72+ # Copy new values to config file
73+ jq ' .programs_id.risc0AggregationProgramImageId = $input[0].risc0_image_id | .programs_id.sp1AggregationProgramVKHash = $input[0].sp1_vk_hash' \
74+ --slurpfile input aggregation_mode/programs_ids.json \
75+ contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.config.json \
76+ > temp.json && mv temp.json contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.config.json
77+
78+ jq ' .programs_id.risc0AggregationProgramImageId = $input[0].risc0_image_id | .programs_id.sp1AggregationProgramVKHash = $input[0].sp1_vk_hash' \
79+ --slurpfile input aggregation_mode/programs_ids.json \
80+ contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.mock.config.json \
81+ > temp.json && mv temp.json contracts/script/deploy/config/devnet/proof-aggregator-service.devnet.mock.config.json
82+
83+ cd contracts
84+
6885# Deploy proof aggregation service contract with SP1 Verifier
6986forge script script/deploy/AlignedProofAggregationServiceDeployer.s.sol \
7087 ./script/deploy/config/devnet/proof-aggregator-service.devnet.config.json \
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments