You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest changes in sovereign-sdk-wip makes Spec::Address conversion from arbitrary-sized byte array fallible.
We were using this to create escrow addresses corresponding to all ics20 channels in ibc-transfer module.
To keep this escrow address creation infallible across all Spec implementations, we need to create something else - that implements Payable<Spec>.
A suggestion from sovereign-sdk team is to use ModuleId - which offers infallible conversion from arbitrary-sized byte array and also implements Payable<Spec>.
ref: Sovereign-Labs/sovereign-sdk-wip#547
The text was updated successfully, but these errors were encountered:
The latest changes in sovereign-sdk-wip makes
Spec::Address
conversion from arbitrary-sized byte array fallible.We were using this to create escrow addresses corresponding to all ics20 channels in ibc-transfer module.
To keep this escrow address creation infallible across all
Spec
implementations, we need to create something else - that implementsPayable<Spec>
.A suggestion from sovereign-sdk team is to use
ModuleId
- which offers infallible conversion from arbitrary-sized byte array and also implementsPayable<Spec>
.ref: Sovereign-Labs/sovereign-sdk-wip#547
The text was updated successfully, but these errors were encountered: