[ICS02] Replace specific verify_functions
with generic verify_membership
and verify_non_membership
#530
Labels
A: breaking
Admin: breaking change that may impact operators
O: maintainability
Objective: cause to ease modification, fault corrections and improve code understanding
Milestone
Summary
In continuation of #404, part of #173, aiming toward cosmos/ibc#684 implementation in IBC-rs
Replace specific verify_functions of
ClientState
trait with genericverify_membership
andverify_non_membership
methodsProposal
By separating the
verify_conn_delay_passed
process from the proof verification steps and isolating the concern, it has become apparent that the proof verification method inics02-clienstate
is carrying out a very similar task. With some minor refactoring, we can make use of generic interfaces and impose fewer implementation requirements on the builders.The text was updated successfully, but these errors were encountered: