From 4523ec5e9b43aba636f1aeef3b8f87182ca5388f Mon Sep 17 00:00:00 2001 From: Anh Minh <1phamminh0811@gmail.com> Date: Fri, 26 Jul 2024 10:34:04 +0700 Subject: [PATCH] fix ante test --- x/tax2gas/ante/ante_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x/tax2gas/ante/ante_test.go b/x/tax2gas/ante/ante_test.go index cf9da82e..ca2f7331 100644 --- a/x/tax2gas/ante/ante_test.go +++ b/x/tax2gas/ante/ante_test.go @@ -52,7 +52,9 @@ func createTestApp(isCheckTx bool, tempDir string) (*terraapp.TerraApp, sdk.Cont app.TreasuryKeeper.SetParams(ctx, treasurytypes.DefaultParams()) app.DistrKeeper.SetParams(ctx, distributiontypes.DefaultParams()) app.DistrKeeper.SetFeePool(ctx, distributiontypes.InitialFeePool()) - app.Tax2gasKeeper.SetParams(ctx, tax2gastypes.DefaultParams()) + tax2gasParams := tax2gastypes.DefaultParams() + tax2gasParams.Enabled = true + app.Tax2gasKeeper.SetParams(ctx, tax2gasParams) return app, ctx }