Skip to content

Commit 2620afd

Browse files
authored
chore: Tx post-handler example snippet osmosis-labs#3194
1 parent 8cd07fd commit 2620afd

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

app/app.go

+2
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ func NewOsmosisApp(
267267
app.IBCKeeper,
268268
),
269269
)
270+
// Uncomment to enable postHandlers:
271+
// app.SetPostHandler(NewTxPostHandler())
270272
app.SetEndBlocker(app.EndBlocker)
271273

272274
// Register snapshot extensions to enable state-sync for wasm.

app/tx_post_handler.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package app
2+
3+
import (
4+
sdk "github.com/cosmos/cosmos-sdk/types"
5+
)
6+
7+
func NewTxPostHandler() sdk.AnteHandler {
8+
panic("not implemented")
9+
}

0 commit comments

Comments
 (0)