Skip to content

Commit

Permalink
refactor: rename GetValsAtHeight to GetTrustedValidators (#5831)
Browse files Browse the repository at this point in the history
* refactor: rename GetValsAtHeight to GetTrustedValidators

* add migration doc entry

* Update testing/chain.go

* lint: make lint-fix to the rescue.

---------

Co-authored-by: DimitrisJim <d.f.hilliard@gmail.com>
  • Loading branch information
colin-axner and DimitrisJim committed Feb 15, 2024
1 parent 531cff9 commit 53c7a1a
Show file tree
Hide file tree
Showing 4 changed files with 121 additions and 120 deletions.
1 change: 1 addition & 0 deletions docs/docs/05-migrations/13-v8-to-v9.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Please use the new functions `path.Setup`, `path.SetupClients`, `path.SetupConne

- The `mock.PV` type has been removed in favour of [`cmttypes.MockPV`](https://github.com/cometbft/cometbft/blob/v0.38.5/types/priv_validator.go#L50) ([#5709](https://github.com/cosmos/ibc-go/pull/5709)).
- Functions `ConstructUpdateTMClientHeader` and `ConstructUpdateTMClientHeaderWithTrustedHeight` of `TestChain` type have been replaced with `IBCClientHeader`. This function will construct a `07-tendermint` header to update the light client on the counterparty chain. The trusted height must be passed in as a non-zero height.
- `GetValsAtHeight` has been renamed to `GetTrustedValidators`

## Relayers

Expand Down
Loading

0 comments on commit 53c7a1a

Please sign in to comment.