Releases: sei-protocol/sei-cosmos
Releases · sei-protocol/sei-cosmos
v0.3.37-log
v0.3.37-log-2 logs
v0.3.37-log
Only apply DeliverTx hooks if there is no error (#544) ## Describe your changes and provide context Previously we only apply hooks if there is no error in DeliverTx response, which is changed by the [refactor](https://github.com/sei-protocol/sei-cosmos/pull/543/files). This PR fixes it ## Testing performed to validate your change integration test in sei-chain
Only apply DeliverTx hooks if there is no error
Refactor DeliverTx hook so that panics can be handled
Refactor DeliverTx hook so that panics can be handled (#543) ## Describe your changes and provide context Panics in tx handler is usually handled by a defer statement containing a `recover()` clause. Previously the call stack looks like: ``` func DeliverTx: func runTx: deferred recover (actual processing) DeliverTx hook ``` In the above structure, DeliverTx hooks are run on `DeliverTx` level, so they are outside the deferred recover clause which is within `runTx` level. This PR changes it to be: ``` func DeliverTx: func runTx: deferred recover (actual processing) DeliverTx hook ``` so that the hook can be recovered as well ## Testing performed to validate your change unit test
v0.3.30
Add DeliverTx hook
Add DeliverTx callback (#529) ## Describe your changes and provide context Add a field in context to set callbacks that would be run at the end of DeliverTx on the base store, regardless of the outcome of the transaction (e.g. bump nonce) ## Testing performed to validate your change integration test in sei-test
v0.3.27
v0.3.24
v0.3.19
add EVM event manager to context (#516) ## Describe your changes and provide context Add a new event manager for EVM events. This for now will only be used for handling EVM events generated during interop. ## Testing performed to validate your change sei-chain integration