Skip to content
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

Light Client: Absence proof verification doesn't work #7640

Closed
ashcherbakov opened this issue Jan 19, 2022 · 2 comments · Fixed by #7639
Closed

Light Client: Absence proof verification doesn't work #7640

ashcherbakov opened this issue Jan 19, 2022 · 2 comments · Fixed by #7639

Comments

@ashcherbakov
Copy link

Tendermint version: v0.34.14 and master(233f40963f5e26ea34a8d546d83714dc96600d7f)
ABCI app: Cosmos-sdk and https://github.com/zigbee-alliance/distributed-compliance-ledger

What happened:

  • LightClient proxy is started
  • An ABCI query request is sent via light client proxy where there is no value for the given key in the store
  • Absence proof verification fails with the error: verify absence proof: key path string must start with a forward slash '/'

What you expected to happen:

  • No error. Absence proof is successfully verified.

Have you tried the latest version: yes

I believe the reason is that not a full path (without a store prefix) is passed to VerifyAbsence function in https://github.com/tendermint/tendermint/blob/master/light/rpc/client.go.

@ashcherbakov
Copy link
Author

Fix: #7639

@brennhill
Copy link

Is this still open?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants