From 1df2f731e635ba2bd2030c0cf3fba5ccf4e01ada Mon Sep 17 00:00:00 2001 From: Till Ziegler Date: Thu, 27 Jun 2024 09:30:44 +0200 Subject: [PATCH] fix: test tax exemption --- custom/auth/ante/fee_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/custom/auth/ante/fee_test.go b/custom/auth/ante/fee_test.go index 67d12cedd..0f30bf3ae 100644 --- a/custom/auth/ante/fee_test.go +++ b/custom/auth/ante/fee_test.go @@ -687,9 +687,12 @@ func (s *AnteTestSuite) TestTaxExemption() { ak := s.app.AccountKeeper bk := s.app.BankKeeper burnSplitRate := sdk.NewDecWithPrec(5, 1) + oracleSplitRate := sdk.ZeroDec() // Set burn split rate to 50% + // oracle split to 0% (oracle split is covered in another test) tk.SetBurnSplitRate(s.ctx, burnSplitRate) + tk.SetOracleSplit(s.ctx, oracleSplitRate) fmt.Printf("CASE = %s \n", c.name) s.txBuilder = s.clientCtx.TxConfig.NewTxBuilder()