Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fix ICS23-Proofs #6178

Closed
wants to merge 9 commits into from
Prev Previous commit
Next Next commit
add GetProofSpecs method to localhost clientstate
  • Loading branch information
AdityaSripal committed May 19, 2020
commit 4c38f3e8cfde21b217dcb01606367a521791175f
7 changes: 7 additions & 0 deletions x/ibc/09-localhost/types/client_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ import (
commitmenttypes "github.com/cosmos/cosmos-sdk/x/ibc/23-commitment/types"
host "github.com/cosmos/cosmos-sdk/x/ibc/24-host"
ibctypes "github.com/cosmos/cosmos-sdk/x/ibc/types"

ics23 "github.com/confio/ics23/go"
)

var _ clientexported.ClientState = ClientState{}
Expand Down Expand Up @@ -61,6 +63,11 @@ func (cs ClientState) GetLatestHeight() uint64 {
return uint64(cs.Height)
}

// GetProofSpecs implements ClientState interface
func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec {
return nil
}

// IsFrozen returns false.
func (cs ClientState) IsFrozen() bool {
return false
Expand Down