Skip to content

Commit

Permalink
update ibc-solidity to v0.3.17
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Nov 8, 2023
1 parent 1ad7f4e commit 3473cb9
Show file tree
Hide file tree
Showing 3 changed files with 813 additions and 678 deletions.
7 changes: 7 additions & 0 deletions contracts/LCPClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@ contract LCPClient is ILightClient {
ClientState.Data storage clientState = clientStates[clientId];
return (clientState.latest_height, clientState.latest_height.revision_height != 0);
}
/**
* @dev getStatus returns the status of the client corresponding to `clientId`.
*/
function getStatus(string calldata) external view returns (ClientStatus) {
// TODO: should return the correct status after implementing the misbehavior detection
return ClientStatus.Active;
}

/**
* @dev updateClient updates the client corresponding to `clientId`.
Expand Down
Loading

0 comments on commit 3473cb9

Please sign in to comment.