Skip to content

Commit 7038413

Browse files
authored
refactor(contract): change checkPublicInput to external in AlignedServiceManager (#1792)
1 parent 677f9a9 commit 7038413

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
@@ -344,7 +344,7 @@ contract AlignedLayerServiceManager is
344344
function checkPublicInput(
345345
bytes calldata publicInput,
346346
bytes32 hash
347-
) public pure returns (bool) {
347+
) external pure returns (bool) {
348348
return keccak256(publicInput) == hash;
349349
}
350350

contracts/src/core/IAlignedLayerServiceManager.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,6 @@ interface IAlignedLayerServiceManager {
7878
function withdraw(uint256 amount) external;
7979

8080
function depositToBatcher(address account) external payable;
81+
82+
function checkPublicInput(bytes calldata publicInput, bytes32 hash) external pure returns (bool);
8183
}

0 commit comments

Comments
 (0)