-
Notifications
You must be signed in to change notification settings - Fork 379
Compact proof decoding fails when using the child trie #598
Comments
Sounds like your runtime isn't using the 0.9.9 branch yet? |
@bkchr I do not think so, you may check our cargo lock file Btw, the call which triggers the error is (https://github.com/bifrost-finance/bifrost/blob/4e407dec25877805973a6e15cd3712fec11ff2ba/pallets/salp/src/lib.rs#L571) Please help to check if anything wrong. And My question is any possibility that collator will fail to create compact proof in some circumstances? |
@bkchr We find the cause. It will work after commenting these codes
So is the usage of child storages allowed in parachain? |
@cheme it seems that using the child trie breaks the compact proof? |
Looks like it. |
@cheme not sure fully catch what you mean. Maybe you can give some guidance about how to hack or produce detail logs which you think useful to debug. Btw, child trie struct in our parachain side is just same as crowdloan module, I think you can reproduce easily if more than one entry of child_info stored
|
By encoded proof I was thinking of a debug trace of the failing proof, for instance at bifrost-io@04262f9#r56045962. |
@yrong could you test the pr mentioned above? |
Nice (actually the bug was my fault). |
After upgrade to v0.9.9 we've encounted this error several times when sending multiple ump transacts to relaychain. And workround is to hack in cumulus to disable compact
We can reproduce the issue and provide more logs if required, would be appreciated if anybody can help to trace and diagnose the root cause
The text was updated successfully, but these errors were encountered: