Skip to content

Commit

Permalink
Use cometbft and cosmos-sdk terra.3
Browse files Browse the repository at this point in the history
  • Loading branch information
phamminh0811 committed Sep 21, 2024
1 parent 01991ce commit 757eb4e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion custom/auth/client/utils/feeutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit 757eb4e

Please sign in to comment.