From 3b3f25a0d6ba23f4195d88e8cf120dcbc174fc6c Mon Sep 17 00:00:00 2001 From: Shawn <44221603+shaspitz@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:35:32 -0700 Subject: [PATCH] fix: restore original public functions --- contracts/contracts/PreConfCommitmentStore.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/contracts/PreConfCommitmentStore.sol b/contracts/contracts/PreConfCommitmentStore.sol index 9506fe9ed..ab51a7929 100644 --- a/contracts/contracts/PreConfCommitmentStore.sol +++ b/contracts/contracts/PreConfCommitmentStore.sol @@ -203,7 +203,7 @@ contract PreConfCommitmentStore is IPreConfCommitmentStore, Ownable2StepUpgradea bytes calldata bidSignature, bytes memory commitmentSignature, bytes memory sharedSecretKey - ) external returns (bytes32 commitmentIndex) { + ) public returns (bytes32 commitmentIndex) { require(decayStartTimeStamp < decayEndTimeStamp, "Invalid decay time"); (bytes32 bHash, address bidderAddress) = verifyBid( @@ -313,7 +313,7 @@ contract PreConfCommitmentStore is IPreConfCommitmentStore, Ownable2StepUpgradea bytes32 commitmentDigest, bytes memory commitmentSignature, uint64 dispatchTimestamp - ) external returns (bytes32 commitmentIndex) { + ) public returns (bytes32 commitmentIndex) { // Calculate the minimum valid timestamp for dispatching the commitment uint256 minTime = block.timestamp - commitmentDispatchWindow; // Check if the dispatch timestamp is within the allowed dispatch window