-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
@@ -231,18 +256,18 @@ impl State { | |||
}); | |||
|
|||
quote! { | |||
fn verify_client_consensus_state<Ctx: ReaderContext>( | |||
fn verify_client_consensus_state<Ctx: #crate_::core::ics26_routing::context::ReaderContext>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't going to work for downstream crates, it should be
::ibc::core::ics26_routing::context::ReaderContext
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
crate_
here is an identifier of the ibc
crate defined by the user so that it will work (or crate
keyword in case of using the macro in the ibc
crate in mocks). The only difference is that there is no prepending ::
, I'll add it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok didn't know that, great thinking
closes #62