Skip to content

Commit db841dd

Browse files
Update the aggregation service deployment
1 parent 4439998 commit db841dd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

contracts/script/deploy/AlignedProofAggregationServiceDeployer.s.sol

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
pragma solidity ^0.8.12;
22

33
import {AlignedProofAggregationService} from "../../src/core/AlignedProofAggregationService.sol";
4+
import {IAlignedProofAggregationService} from "../../src/core/IAlignedProofAggregationService.sol";
45
import {ERC1967Proxy} from "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
56

67
import "forge-std/Script.sol";
@@ -27,13 +28,13 @@ contract AlignedProofAggregationServiceDeployer is Script {
2728
ERC1967Proxy proxy = new ERC1967Proxy(
2829
address(alignedProofAggregationService),
2930
abi.encodeWithSignature(
30-
"initialize(address,address,address,address,bytes32,bytes32)",
31+
"initialize(address,address,address,address,bytes32[],uint8[])",
3132
ownerAddress,
3233
alignedAggregatorAddress,
3334
sp1VerifierAddress,
3435
risc0VerifierAddress,
35-
risc0AggregationProgramImageId,
36-
sp1AggregationProgramVKHash
36+
[risc0AggregationProgramImageId, sp1AggregationProgramVKHash],
37+
[uint8(IAlignedProofAggregationService.VerifierType.RISC0), uint8(IAlignedProofAggregationService.VerifierType.SP1)]
3738
)
3839
);
3940

0 commit comments

Comments
 (0)