anoma / namada

Rust implementation of Namada, a Proof-of-Stake L1 for interchain asset-agnostic privacy
https://namada.net
GNU General Public License v3.0
2.4k stars 956 forks source link

Refund failed when IBC unshielded transfer failed #3619

Closed yito88 closed 3 months ago

yito88 commented 3 months ago

When transferring an IBC token back to the source chain from a shielded account, the refund failed because the MASP VP rejected it. The token from the source chain was minted in Namada. So, when transferring back to the source chain, the token is burned on the source Namada. After the IBC transfer has failed by a timeout or a receiving error, it should be refunded by minting it again in Namada.

murisi commented 3 months ago

Agreed. The plan I'd had for resolving this was as follows: