Re-use ics02_client::Height
in ics24_host::Path
#1485
Labels
A: low-priority
Admin: low priority / non urgent issue, expect longer wait time for PR reviews
O: code-hygiene
Objective: cause to improve code hygiene
Crate
The
ics24_host
module in theibc
crate.Summary
Replace
Path::ClientConsensusState
epoch and height withics02_client::Height
.Problem Definition
Currently,
Path::ClientConsensusState
representsepoch
andheight
as plainu64
s. These should instead be encapsulated by aics02_client::Height
type.Proposal
Change
Path::ClientConsensusState { epoch: u64, height: u64 }
->Path::ClientConsensusState { height: Height }
.Acceptance Criteria
Change
Path::ClientConsensusState { epoch: u64, height: u64 }
->Path::ClientConsensusState { height: Height }
. Handle any ripple effects as appropriate.For Admin Use
The text was updated successfully, but these errors were encountered: