From 0a0bfc528bacc37654705814708d29ea3b2cce86 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Mon, 26 Aug 2024 23:52:41 +0200 Subject: [PATCH] doc update --- x/auth/tx/config/module.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x/auth/tx/config/module.go b/x/auth/tx/config/module.go index d944b5a125eb..b62baa68fab8 100644 --- a/x/auth/tx/config/module.go +++ b/x/auth/tx/config/module.go @@ -16,6 +16,10 @@ var ( _ appmodulev2.HasTxValidator[transaction.Tx] = AppModule{} ) +// AppModule is a module that only implements tx validators. +// The goal of this module is to allow extensible registration of tx validators provided by chains without requiring a new modules. +// Additionally, it registers tx validators that do not really have a place in other modules. +// This module is only useful for chains using server/v2. Ante/Post handlers are setup via baseapp options in depinject. type AppModule struct { sigVerification ante.SigVerificationDecorator // txValidators contains tx validator that can be injected into the module via depinject.