Skip to content

Commit

Permalink
refactor(contract): change checkPublicInput to external in AlignedSer…
Browse files Browse the repository at this point in the history
…viceManager
  • Loading branch information
JuArce committed Feb 10, 2025
1 parent f009da5 commit 8f23174
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/src/core/AlignedLayerServiceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ contract AlignedLayerServiceManager is
function checkPublicInput(
bytes calldata publicInput,
bytes32 hash
) public pure returns (bool) {
) external pure returns (bool) {
return keccak256(publicInput) == hash;
}

Expand Down
2 changes: 2 additions & 0 deletions contracts/src/core/IAlignedLayerServiceManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,6 @@ interface IAlignedLayerServiceManager {
function enableVerifier(uint8 verifierIdx) external;

function setDisabledVerifiers(uint256 bitmap) external;

function checkPublicInput(bytes calldata publicInput, bytes32 hash) external pure returns (bool);
}

0 comments on commit 8f23174

Please sign in to comment.