Skip to content

Commit

Permalink
refactor: removing GetRoot from ConsensusState interface (cosmos#1186)
Browse files Browse the repository at this point in the history
* refactor: removing GetRoot from ConsensusState interface

* refactor: remove unnecessary GetRoot definitions

* chore: changelog
  • Loading branch information
seantking authored and seunlanlege committed Aug 9, 2022
1 parent f4d959e commit cfb8e49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
### State Machine Breaking

### Improvements
* [\#1186](https://github.com/cosmos/ibc-go/pull/1186/files) Removing `GetRoot` function from ConsensusState interface in `02-client`. `GetRoot` is unused by core IBC.

### Features

Expand Down
4 changes: 0 additions & 4 deletions modules/core/exported/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,6 @@ type ConsensusState interface {

ClientType() string // Consensus kind

// GetRoot returns the commitment root of the consensus state,
// which is used for key-value pair verification.
GetRoot() Root

// GetTimestamp returns the timestamp (in nanoseconds) of the consensus state
GetTimestamp() uint64

Expand Down

0 comments on commit cfb8e49

Please sign in to comment.