-
Notifications
You must be signed in to change notification settings - Fork 92
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
07-tendermint's verify membership doesn't allow custom paths #1255
Comments
Definitely need some discussion. For now, we just follow ibc spec and ibc-go paths. Do you think, it makes sense to make it a parameter to client state or part of the concrete light client implementation - possibly keeping it consistent using a Rust trait? |
I am also curious of an example - where this is really necessary. Is this something needed in rollkit-ibc? |
ICS-24 is meant to highlight what state the IBC protocol needs to store. And which of these states need to be provable. It is not meant to be an exhaustive list of all paths that Moreover, I'm not sure if any of the stated suggestions solve the issue completely. IBC-Go will be switching to using bytes instead of strings as path since some provable stores in CosmosSDK already cannot be parsed into valid strings, see cosmos/ibc-go#6496. I initially wanted this feature because I'm working on a CosmWasm POC implementation of Otherwise, this is necessary for key-value interchain queries (spec, implementation). There are other chains that use kv-icq, for example neutron. |
Thanks for contexts. Makes sense. This helps a lot. We would be happy to continue the discussion to support this properly. |
I have given this some thought and contemplated defining a type for the
Another approach is to simply (2) add a I am suggesting to use |
I tried testing #1273 and #1271. I found it quite hard to migrate my code to use PathBytes. Specifically because I couldn't find any constructor for Also, assume that I have two |
Hey @srdtrk, much appreciate the feedback. Didn't expect. Otherwise I would've definitely asked for your input before the merge.
Any specific details (if possible with pointers) would be super helpful. If the info above didn’t quite do the trick, let me know. Happy to tweak things! |
Bug Summary
Whether or not this is a bug needs discussion.
While using the
07-tendermint
client from a cosmwasm context to verify membership. I noticed that unless the path is one of the paths defined in here, verify membership fails due to this. This makes implementing features such as icq difficult.The text was updated successfully, but these errors were encountered: