Open srdtrk opened 10 months ago
Rewiring transfer stack this way causes some unit tests in ibc_middleware_test.go
to fail. Since the middleware is initialised in the middle of the stack. There would be no way to unit test its SendPacket
without also testing other functions. I think we should address this after https://github.com/cosmos/ibc-go/issues/4329 and https://github.com/cosmos/ibc-go/issues/4328
Summary
Wire up the Callbacks Middleware so that it is the middle app in the middleware stack.
Problem Definition
See this thread for a detailed explanation. The main issue with the current setup is that it wouldn't have worked if callbacks had a version.
callbacks/simapp
callbacks/simapp
integration.md
Proposal
For example, the ICA controller stack would look like:
For Admin Use