Derive Clone
and Debug
on HostFunctionsManager
#299
Labels
rust
Issues pertaining to the Rust implementation
Clone
and Debug
on HostFunctionsManager
#299
Background
In
ibc-rs
, to accommodate users who wish to leverage a customHostFunctionsProvider
(Related issue) for utilizing custom hashing functions in verifying theirMerkleProof
, the approaches there involve introducing<H: HostFunctionsProvider>
as a generic type and making our TendermintClientState
definition generic overH
. However, since thatClientState
relies onClone
andDebug
traits in various parts of the ibc-rs implementation, The lack of these derivations on theHostFunctionsManager
limits our options.Proposal
At min, derive
Clone
andDebug
onHostFunctionsManager
, and see if it makes sense to require these two for theHostFunctionsProvider
trait as well.The text was updated successfully, but these errors were encountered: