-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't implement AnyClientState validation and execution Use Generics Context<T> #1117
Labels
A: bug
Admin: something isn't working
Comments
Hey @DaviRain-Su, Would you mind sharing the compiler error? Appreciate that. |
here.
|
Hmm. Apparently, the macro couldn't handle the following "where" clause: where
u64: std::convert::From<<T as pallet_timestamp::Config>::Moment>,
u64: std::convert::From<<<<T as frame_system::Config>::Block as frame_support::sp_runtime::traits::Block>::Header as frame_support::sp_runtime::traits::Header>::Number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Summary
Currently I am using the latest ibc version to upgrade substrate-ibc to implement the ibc protocol. During the implementation process, I am implementing the validation and Exection attributes for AnyClientState. It cannot support Context with generics very well.
Details
https://github.com/octopus-network/substrate-ibc/blob/81786952f83478606a5dc0136fbfe2601cba981a/core/src/client/mod.rs#L80
Version
ibc version 0.50
The text was updated successfully, but these errors were encountered: