ethereum needs "index events middleware"

This commit is contained in:
Roy Crihfield 2022-05-14 03:02:24 +08:00
parent 075978b906
commit d9c6ab8740

View File

@ -71,6 +71,7 @@ func newEthAuthMiddleware(options HandlerOptions) tx.Middleware {
stack := []tx.Middleware{ stack := []tx.Middleware{
NewEthSetUpContextMiddleware(options.EvmKeeper), NewEthSetUpContextMiddleware(options.EvmKeeper),
NewEthMempoolFeeMiddleware(options.EvmKeeper), NewEthMempoolFeeMiddleware(options.EvmKeeper),
authmiddleware.NewIndexEventsTxMiddleware(options.IndexEvents),
NewEthValidateBasicMiddleware(options.EvmKeeper), NewEthValidateBasicMiddleware(options.EvmKeeper),
NewEthSigVerificationMiddleware(options.EvmKeeper), NewEthSigVerificationMiddleware(options.EvmKeeper),
NewEthAccountVerificationMiddleware(options.AccountKeeper, options.BankKeeper, options.EvmKeeper), NewEthAccountVerificationMiddleware(options.AccountKeeper, options.BankKeeper, options.EvmKeeper),