oraichain / wasmd

Basic cosmos-sdk app with web assembly smart contracts
Other
4 stars 9 forks source link

Failed to prune store err=Value missing for key #27

Open ducphamle2 opened 4 days ago

ducphamle2 commented 4 days ago

Context

When starting a node with prune mode=default or mode=everything -> the node will show pruning errors like in the title. This bug is from the new IAVL 1.2.0 version and is patched in the release 1.2.x branch.

To Reproduce

  1. Set the prune mode=default or mode=everything.
  2. Start an Oraichain node version 0.50.
  3. Observe the logs and seek this error: Failed to prune store... or Error deleting legacy versions

Expected behavior

There shouldn't be any error logs

Screenshots

image image

Additional context

The bug is originally mentioned here: https://github.com/crypto-org-chain/cronos/issues/1672

How they resolved: https://github.com/crypto-org-chain/cronos/pull/1673

yihuang commented 4 days ago

How they resolved

not resolved actually, the sdk team is still working on it.

ducphamle2 commented 3 days ago

How they resolved

not resolved actually, the sdk team is still working on it.

really? thats sad. Does it work with custom pruning? Or it has to be prune=nothing

ducphamle2 commented 1 day ago

Current workaround: Use prune=nothing