Skip to content

Commit b1596be

Browse files
committed
Remove non working sp1 contract
1 parent 0f07b05 commit b1596be

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

contracts/remappings.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ eigenlayer-scripts/=lib/eigenlayer-middleware/lib/eigenlayer-contracts/script/
55
forge-std/=lib/forge-std/src/
66
@openzeppelin/contracts/=lib/eigenlayer-middleware/lib/openzeppelin-contracts/contracts/
77
@openzeppelin-upgrades/contracts/=lib/eigenlayer-middleware/lib/openzeppelin-contracts-upgradeable/contracts/
8-
@sp1-contracts/=lib/sp1-contracts/contracts/src/

contracts/src/core/AlignedProofAggregationService.sol

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import {Initializable} from "@openzeppelin-upgrades/contracts/proxy/utils/Initia
55
import {OwnableUpgradeable} from "@openzeppelin-upgrades/contracts/access/OwnableUpgradeable.sol";
66
import {UUPSUpgradeable} from "@openzeppelin-upgrades/contracts/proxy/utils/UUPSUpgradeable.sol";
77
import {IAlignedProofAggregationService} from "./IAlignedProofAggregationService.sol";
8-
import {ISP1Verifier} from "@sp1-contracts/ISP1Verifier.sol";
98

9+
/// Template for contract, SP1 verifiers needs to be added
1010
contract AlignedProofAggregationService is
1111
IAlignedProofAggregationService,
1212
Initializable,
@@ -58,15 +58,6 @@ contract AlignedProofAggregationService is
5858
return;
5959
}
6060

61-
try ISP1Verifier(sp1VerifierAddress).verifyProof(sp1ProgramVKey, sp1PublicValues, sp1ProofBytes) {
62-
(bytes32 merkleRoot) = abi.decode(sp1PublicValues, (bytes32));
63-
_newAggregatedProof(merkleRoot, blobVersionedHash);
64-
} catch {
65-
AggregatedProof storage proof = aggregatedProofs[currentAggregatedProofNumber];
66-
proof.status = AggregatedProofStatus.Failed;
67-
emit NewAggregatedProof(currentAggregatedProofNumber, AggregatedProofStatus.Failed, 0x0, 0x0);
68-
currentAggregatedProofNumber += 1;
69-
}
7061
}
7162

7263
function markCurrentAggregatedProofAsMissed() public onlyAlignedAggregator {

0 commit comments

Comments
 (0)