Skip to content

Commit

Permalink
chore(tm,solo): delete unused GetProofSpecs (#3571)
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
Co-authored-by: Jim Fasarakis-Hilliard <[email protected]>
  • Loading branch information
3 people authored May 15, 2023
1 parent 8e9d797 commit c377bcc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions modules/core/02-client/migrations/v7/solomachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
codectypes "github.com/cosmos/cosmos-sdk/codec/types"
cryptotypes "github.com/cosmos/cosmos-sdk/crypto/types"
sdk "github.com/cosmos/cosmos-sdk/types"
ics23 "github.com/cosmos/ics23/go"

"github.com/cosmos/ibc-go/v7/modules/core/exported"
)
Expand Down Expand Up @@ -69,11 +68,6 @@ func (cs ClientState) Validate() error {
panic("legacy solo machine is deprecated!")
}

// GetProofSpecs panics!
func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec {
panic("legacy solo machine is deprecated!")
}

// ZeroCustomFields panics!
func (cs ClientState) ZeroCustomFields() exported.ClientState {
panic("legacy solo machine is deprecated!")
Expand Down
6 changes: 0 additions & 6 deletions modules/light-clients/07-tendermint/client_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,6 @@ func (cs ClientState) Validate() error {
return nil
}

// GetProofSpecs returns the format the client expects for proof verification
// as a string array specifying the proof type for each position in chained proof
func (cs ClientState) GetProofSpecs() []*ics23.ProofSpec {
return cs.ProofSpecs
}

// ZeroCustomFields returns a ClientState that is a copy of the current ClientState
// with all client customizable fields zeroed out
func (cs ClientState) ZeroCustomFields() exported.ClientState {
Expand Down

0 comments on commit c377bcc

Please sign in to comment.