-
Notifications
You must be signed in to change notification settings - Fork 17
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
Swap claims not being detected #1054
Comments
@TalDerei might provide more color there but my understanding is that in penumbra-zone/penumbra#4312 we learned that the current wasm planner cannot balance |
Flagging this because I think the detection issue could be a surprising symptom of tx planning not working |
Could be related to #1003 After many attempts to debug #1003 I came up with nothing. It's like tendermint sometimes gives wrong transaction list for a block, but if you request transaction list for the same block after some time, everything is fine. I'll try to provide more details, maybe it will be useful for this issue |
Could it be that depending on where they are emitted from, the prepaid fee is different, causing the balancing problem in some cases and not others? It might just be easier to push on making both impl use the same code and see if this goes away |
Hmm good point, it looks hardcoded to zero in minifront, and computed from the on-chain gas prices in pcli (which should be zero) |
@erwanor if you look at this list, you'll notice some swaps are followed by a swap claim and others are not. The swaps that succeed and are followed by the swap claim have zero fees, while the swaps that succeed and are not followed by the swap claim have non-zero fees. It's a fee balancing bug, and we should push on penumbra-zone/penumbra#4332 and #876. |
Makes sense! nice sleuthing |
closing -- fixed in #1095 |
Can validate this with the testnet whale given it currently has a number of unclaimed swaps.
Can successfully build, but will hang indefinitely as it waits for it to be detected on chain.
After refreshing after a bit, it does seem to be removed from the unclaimed swaps list, however it's not found in tx details page.
The text was updated successfully, but these errors were encountered: