Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
docs: improved natspec
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Nov 9, 2024
1 parent 91cbc54 commit 4be4fc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/src/SP1ICS07Tendermint.sol
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ contract SP1ICS07Tendermint is
/// @notice Gets the timestamp of the cached key-value pair from the transient storage.
/// @param proofHeight The height of the proof.
/// @param kvPair The key-value pair.
/// @return The timestamp of the cached key-value pair.
function getCachedKvPair(uint32 proofHeight, KVPair memory kvPair) private view returns (uint256) {
bytes32 kvPairHash = keccak256(abi.encode(proofHeight, kvPair));
uint256 timestamp = kvPairHash.asUint256().tload();
Expand Down

0 comments on commit 4be4fc5

Please sign in to comment.