diff --git a/custom/auth/client/utils/feeutils.go b/custom/auth/client/utils/feeutils.go index 30123f82..2b107252 100644 --- a/custom/auth/client/utils/feeutils.go +++ b/custom/auth/client/utils/feeutils.go @@ -126,7 +126,6 @@ func CalculateGas( taxGas := simRes.GasInfo.GasUsed - simSpecialRes.GasInfo.GasUsed actualGas := uint64(txf.GasAdjustment() * float64(simSpecialRes.GasInfo.GasUsed)) - simRes.GasInfo = simSpecialRes.GasInfo return simRes, actualGas + taxGas, nil } diff --git a/go.mod b/go.mod index b9349f71..8dc3e2c1 100644 --- a/go.mod +++ b/go.mod @@ -225,9 +225,9 @@ replace ( replace ( github.com/CosmWasm/wasmd => github.com/classic-terra/wasmd v0.46.0-classic.1 // use cometbft - github.com/cometbft/cometbft => github.com/classic-terra/cometbft v0.37.4-terra1 + github.com/cometbft/cometbft => github.com/classic-terra/cometbft v0.37.4-terra.3 github.com/cometbft/cometbft-db => github.com/cometbft/cometbft-db v0.8.0 - github.com/cosmos/cosmos-sdk => github.com/classic-terra/cosmos-sdk v0.47.10-terra.2.0.20240918144429-8172e9bd2a8d + github.com/cosmos/cosmos-sdk => github.com/classic-terra/cosmos-sdk v0.47.10-terra.3 github.com/cosmos/ibc-go/v7 => github.com/classic-terra/ibc-go/v7 v7.4.0-terra.1 github.com/cosmos/ledger-cosmos-go => github.com/terra-money/ledger-terra-go v0.11.2 // replace goleveldb to optimized one diff --git a/go.sum b/go.sum index 6ef97ca1..03fb5f04 100644 --- a/go.sum +++ b/go.sum @@ -348,10 +348,10 @@ github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04= github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8= github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag= github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I= -github.com/classic-terra/cometbft v0.37.4-terra1 h1:eT5B2n5KKi5WVW+3ZNOVTmtfKKaZrXOLX9G80m9mhZo= -github.com/classic-terra/cometbft v0.37.4-terra1/go.mod h1:vFqj7Qe3uFFJvHZleTJPQDmJ/WscXHi4rKWqiCAaNZk= -github.com/classic-terra/cosmos-sdk v0.47.10-terra.2.0.20240918144429-8172e9bd2a8d h1:J/6Dh944Rbr8AZhBYYePLA2c4b0jyrIEQVlacoAEwFA= -github.com/classic-terra/cosmos-sdk v0.47.10-terra.2.0.20240918144429-8172e9bd2a8d/go.mod h1:Qgm2WbKtqHgE1v9eAra7Fos/zAcB7F4ikwwbDm9SV+o= +github.com/classic-terra/cometbft v0.37.4-terra.3 h1:BgypuUAhTYCrd/zPYxjGHRZVCbNRMq3dZCkxloMBTs8= +github.com/classic-terra/cometbft v0.37.4-terra.3/go.mod h1:vFqj7Qe3uFFJvHZleTJPQDmJ/WscXHi4rKWqiCAaNZk= +github.com/classic-terra/cosmos-sdk v0.47.10-terra.3 h1:k7JkvjbrbPDP9yiU8Bk+ToOCNy45nqV5oCmprR688bE= +github.com/classic-terra/cosmos-sdk v0.47.10-terra.3/go.mod h1:zLeT+gsBfIsOOeCOCCvNlvKvJPSwPkHxqnfT+qzxIdM= github.com/classic-terra/goleveldb v0.0.0-20230914223247-2b28f6655121 h1:fjpWDB0hm225wYg9vunyDyTH8ftd5xEUgINJKidj+Tw= github.com/classic-terra/goleveldb v0.0.0-20230914223247-2b28f6655121/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc= github.com/classic-terra/ibc-go/v7 v7.4.0-terra.1 h1:xPT04cguu/Tt//x8eOKQVZP3RfYh/JDaBS4jPexK/OM=