Skip to content

Commit

Permalink
Merge pull request #1 from datachainlab/update-ibc-solidity
Browse files Browse the repository at this point in the history
update ibc-solidity to v0.3.17

Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele authored Nov 8, 2023
2 parents 1ad7f4e + bf95b92 commit bb16cd6
Show file tree
Hide file tree
Showing 3 changed files with 814 additions and 678 deletions.
8 changes: 8 additions & 0 deletions contracts/LCPClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,14 @@ 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 bb16cd6

Please sign in to comment.