You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replace channel keeper with IBC keeper in AnteDecorator (#950) (#1096)
* replace channel keeper with IBC keeper in AnteDecorator and pass message to rpc handler
* fix error checking condition
* fix for proper way of getting go context
* refactor tests for ante handler
* review comment
* review comments and some fixes
* review comments
* execute message for update client as well
* add migration
Co-authored-by: Carlos Rodriguez <[email protected]>
(cherry picked from commit f0b94df)
Co-authored-by: Carlos Rodriguez <[email protected]>
* (testing) [\#776](https://github.com/cosmos/ibc-go/pull/776) Adding helper fn to generate capability name for testing callbacks
59
59
* (testing) [\#892](https://github.com/cosmos/ibc-go/pull/892) IBC Mock modules store the scoped keeper and portID within the IBCMockApp. They also maintain reference to the AppModule to update the AppModule's list of IBC applications it references. Allows for the mock module to be reused as a base application in middleware stacks.
60
60
* (channel) [\#882](https://github.com/cosmos/ibc-go/pull/882) The `WriteAcknowledgement` API now takes `exported.Acknowledgement` instead of a byte array
61
+
* (modules/core/ante) [\#950](https://github.com/cosmos/ibc-go/pull/950) Replaces the channel keeper with the IBC keeper in the IBC `AnteDecorator` in order to execute the entire message and be able to reject redundant messages that are in the same block as the non-redundant messages.
// AnteDecorator returns an error if a multiMsg tx only contains packet messages (Recv, Ack, Timeout) and additional update messages and all packet messages
20
-
// are redundant. If the transaction is just a single UpdateClient message, or the multimsg transaction contains some other message type, then the antedecorator returns no error
21
-
// and continues processing to ensure these transactions are included.
22
-
// This will ensure that relayers do not waste fees on multiMsg transactions when another relayer has already submitted all packets, by rejecting the tx at the mempool layer.
19
+
// AnteDecorator returns an error if a multiMsg tx only contains packet messages (Recv, Ack, Timeout) and additional update messages
20
+
// and all packet messages are redundant. If the transaction is just a single UpdateClient message, or the multimsg transaction
21
+
// contains some other message type, then the antedecorator returns no error and continues processing to ensure these transactions
22
+
// are included. This will ensure that relayers do not waste fees on multiMsg transactions when another relayer has already submitted
23
+
// all packets, by rejecting the tx at the mempool layer.
0 commit comments