@@ -19,13 +19,13 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
1919 /// @dev EIP-712 Type Hash for preconfirmation commitment
2020 bytes32 public constant EIP712_COMMITMENT_TYPEHASH =
2121 keccak256 (
22- "PreConfCommitment(string txnHash,uint64 bid,uint64 blockNumber,uint64 decayStartTimeStamp,uint64 decayEndTimeStamp,bytes32 bidHash,string signature,string sharedSecretKey) "
22+ "PreConfCommitment(string txnHash,uint256 bid,uint64 blockNumber,uint64 decayStartTimeStamp,uint64 decayEndTimeStamp,bytes32 bidHash,string signature,string sharedSecretKey) "
2323 );
2424
2525 /// @dev EIP-712 Type Hash for preconfirmation bid
2626 bytes32 public constant EIP712_BID_TYPEHASH =
2727 keccak256 (
28- "PreConfBid(string txnHash,uint64 bid,uint64 blockNumber,uint64 decayStartTimeStamp,uint64 decayEndTimeStamp) "
28+ "PreConfBid(string txnHash,uint256 bid,uint64 blockNumber,uint64 decayStartTimeStamp,uint64 decayEndTimeStamp) "
2929 );
3030
3131 // Represents the dispatch window in milliseconds
@@ -69,7 +69,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
6969 bool isUsed;
7070 address bidder;
7171 address commiter;
72- uint64 bid;
72+ uint256 bid;
7373 uint64 blockNumber;
7474 bytes32 bidHash;
7575 uint64 decayStartTimeStamp;
@@ -87,7 +87,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
8787 bytes32 indexed commitmentIndex ,
8888 address bidder ,
8989 address commiter ,
90- uint64 bid ,
90+ uint256 bid ,
9191 uint64 blockNumber ,
9292 bytes32 bidHash ,
9393 uint64 decayStartTimeStamp ,
@@ -122,7 +122,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
122122 event SignatureVerified (
123123 address indexed signer ,
124124 string txnHash ,
125- uint64 indexed bid ,
125+ uint256 indexed bid ,
126126 uint64 blockNumber
127127 );
128128
@@ -216,7 +216,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
216216 */
217217 function getBidHash (
218218 string memory _txnHash ,
219- uint64 _bid ,
219+ uint256 _bid ,
220220 uint64 _blockNumber ,
221221 uint64 _decayStartTimeStamp ,
222222 uint64 _decayEndTimeStamp
@@ -247,7 +247,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
247247 */
248248 function getPreConfHash (
249249 string memory _txnHash ,
250- uint64 _bid ,
250+ uint256 _bid ,
251251 uint64 _blockNumber ,
252252 uint64 _decayStartTimeStamp ,
253253 uint64 _decayEndTimeStamp ,
@@ -286,7 +286,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
286286 * @return recoveredAddress the address from the bid hash.
287287 */
288288 function verifyBid (
289- uint64 bid ,
289+ uint256 bid ,
290290 uint64 blockNumber ,
291291 uint64 decayStartTimeStamp ,
292292 uint64 decayEndTimeStamp ,
@@ -316,7 +316,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
316316 */
317317 function verifyPreConfCommitment (
318318 string memory txnHash ,
319- uint64 bid ,
319+ uint256 bid ,
320320 uint64 blockNumber ,
321321 uint64 decayStartTimeStamp ,
322322 uint64 decayEndTimeStamp ,
@@ -388,7 +388,7 @@ contract PreConfCommitmentStore is OwnableUpgradeable {
388388 */
389389 function openCommitment (
390390 bytes32 encryptedCommitmentIndex ,
391- uint64 bid ,
391+ uint256 bid ,
392392 uint64 blockNumber ,
393393 string memory txnHash ,
394394 uint64 decayStartTimeStamp ,
0 commit comments