cosmos-sdk/x/auth/posthandler/post.go
Federico Kunze Küllmer 551e8f9eb9
feat(app): Update post handlers to incorporate the runMsg success bool (#13940)
Co-authored-by: MalteHerrmann <42640438+MalteHerrmann@users.noreply.github.com>
Co-authored-by: Vladislav Varadinov <vladislav.varadinov@gmail.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
2023-01-12 09:37:29 +00:00

16 lines
411 B
Go

package posthandler
import (
sdk "github.com/cosmos/cosmos-sdk/types"
)
// HandlerOptions are the options required for constructing a default SDK PostHandler.
type HandlerOptions struct{}
// NewPostHandler returns an empty PostHandler chain.
func NewPostHandler(_ HandlerOptions) (sdk.PostHandler, error) {
postDecorators := []sdk.PostDecorator{}
return sdk.ChainPostDecorators(postDecorators...), nil
}