chore: Tx post-handler example snippet #3194

This commit is contained in:
Aleksandr Bezobchuk
2022-11-01 09:39:52 -04:00
committed by GitHub
parent 8cd07fdd28
commit 2620afd79a
2 changed files with 11 additions and 0 deletions

View File

@ -267,6 +267,8 @@ func NewOsmosisApp(
app.IBCKeeper,
),
)
// Uncomment to enable postHandlers:
// app.SetPostHandler(NewTxPostHandler())
app.SetEndBlocker(app.EndBlocker)
// Register snapshot extensions to enable state-sync for wasm.

9
app/tx_post_handler.go Normal file
View File

@ -0,0 +1,9 @@
package app
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
func NewTxPostHandler() sdk.AnteHandler {
panic("not implemented")
}