-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
IBCbrainstormingbreaking-changebreaking:consensusConsensus breaking change that requires a hard-forkConsensus breaking change that requires a hard-forkenhancementNew feature or requestNew feature or request
Description
Problem statement
Right now, if an IBC transaction fails on Namada, especially due to VP errors, we do not emit any acknowledgement events to inform the counterparty. This leads to the funds only being recoverable on the source chain by waiting for the transfer to timeout, which in some cases (e.g. with Packet Forward Middleware retries) can take 10 minutes.
To considerably improve the UX, transfers (ideally) should fail immediately with an ack error being written to storage, accompanied by an event.
Proposed solutions
Define transaction epilogue
A generic solution could involve a tx epilogue, where additional logic can be executed at the end of VP execution.
yito88
Metadata
Metadata
Assignees
Labels
IBCbrainstormingbreaking-changebreaking:consensusConsensus breaking change that requires a hard-forkConsensus breaking change that requires a hard-forkenhancementNew feature or requestNew feature or request