Skip to content
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

IBC error handling / dispatching #8

Open
Tracked by #84
maurolacy opened this issue Jul 31, 2024 · 0 comments
Open
Tracked by #84

IBC error handling / dispatching #8

maurolacy opened this issue Jul 31, 2024 · 0 comments

Comments

@maurolacy
Copy link
Collaborator

@maurolacy cloned issue babylonchain/babylon-contract#100 on 2024-05-15:

Currently the IBC handler is in babylon-contract. BTC staking messages are dispatched to the btc-staking contract for processing, by returning an execution message from the IBC handler destined to the staking contract.

What happens if that execution message fails in the staking contract, for whatever reason? My understanding is, that the error will be catch as part of return handler processing, and should be propagated the to calling IBC party. That is, the zoneconcierge module on the Provider.

But perhaps this is not the case. Or, our current IBC handler needs to be modified / adapted for this to be the case. Perhaps the error is just logged on the Consumer side, perhaps it's being silently ignored, etc.

Creating this issue to understand and document this process. And modify the IBC handler if needed.

Let's research / investigate how IBC error handling works, so that we know / understand how an error on a Consumer side contract is dispatched to the Provider, and confirm it's not being silently swallowed in the process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants