diff --git a/.gitignore b/.gitignore index 125c90cf91..c593f8e49d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ bin/ build/ config/ !cmd/provenanced/config/ +!third_party/**/config/ data/ .idea/ *.swp diff --git a/third_party/proto/cosmos/tx/config/v1/config.proto b/third_party/proto/cosmos/tx/config/v1/config.proto new file mode 100644 index 0000000000..15553a2821 --- /dev/null +++ b/third_party/proto/cosmos/tx/config/v1/config.proto @@ -0,0 +1,20 @@ +syntax = "proto3"; + +package cosmos.tx.config.v1; + +import "cosmos/app/v1alpha1/module.proto"; + +// Config is the config object of the x/auth/tx package. +message Config { + option (cosmos.app.v1alpha1.module) = { + go_import: "github.com/cosmos/cosmos-sdk/x/auth/tx" + }; + + // skip_ante_handler defines whether the ante handler registration should be skipped in case an app wants to override + // this functionality. + bool skip_ante_handler = 1; + + // skip_post_handler defines whether the post handler registration should be skipped in case an app wants to override + // this functionality. + bool skip_post_handler = 2; +} \ No newline at end of file