Amend GetTimestampAtHeight to accept ConnectionI interface #4021
Labels
03-connection
change: api breaking
Issues or PRs that break Go API (need to be release in a new major version)
type: code hygiene
Clean up code but without changing functionality or interfaces
Milestone
Summary
The
connectionKeeper
'sGetTimestampAtHeight
method currently expects aConnectionEnd
type. This is in contrast to the rest of the methods which are defined based on theConnectionI
interface defined inexported
.This results in a requirement to mix calls (see #3840) to access connection keeper methods since
channelKeeper.GetConnection
returns the interface whenGetTimestampAtHeight
requires the type (which is accessed viaconnectionKeeper.GetConnection
).Proposal
Change
GetTimestampAtHeight
's sig to accept the interface instead of the type.For Admin Use
The text was updated successfully, but these errors were encountered: