Skip to content

Commit 8f23174

Browse files
committed
refactor(contract): change checkPublicInput to external in AlignedServiceManager
1 parent f009da5 commit 8f23174

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

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

contracts/src/core/AlignedLayerServiceManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ contract AlignedLayerServiceManager is
362362
function checkPublicInput(
363363
bytes calldata publicInput,
364364
bytes32 hash
365-
) public pure returns (bool) {
365+
) external pure returns (bool) {
366366
return keccak256(publicInput) == hash;
367367
}
368368

contracts/src/core/IAlignedLayerServiceManager.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,6 @@ interface IAlignedLayerServiceManager {
7474
function enableVerifier(uint8 verifierIdx) external;
7575

7676
function setDisabledVerifiers(uint256 bitmap) external;
77+
78+
function checkPublicInput(bytes calldata publicInput, bytes32 hash) external pure returns (bool);
7779
}

0 commit comments

Comments
 (0)