remove TxFeeChecker

This commit is contained in:
0xmuralik 2023-01-05 17:32:50 +05:30
parent ded812f60c
commit be3d3b7093
3 changed files with 5 additions and 7 deletions

View File

@ -188,7 +188,7 @@ var (
stakingtypes.NotBondedPoolName: {authtypes.Burner, authtypes.Staking},
govtypes.ModuleName: {authtypes.Burner},
ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner},
evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, // used for secure addition and subtraction of balance using module account
evmtypes.ModuleName: {authtypes.Minter, authtypes.Burner}, //nolint:lll // used for secure addition and subtraction of balance using module account
auctiontypes.ModuleName: nil,
auctiontypes.AuctionBurnModuleAccountName: nil,
registrytypes.ModuleName: nil,
@ -715,7 +715,7 @@ func (app *EthermintApp) setAnteHandler(txConfig client.TxConfig, maxGasWanted u
FeeMarketKeeper: app.FeeMarketKeeper,
MaxTxGasWanted: maxGasWanted,
ExtensionOptionChecker: ethermint.HasDynamicFeeExtensionOption,
TxFeeChecker: ante.NewDynamicFeeChecker(app.EvmKeeper),
// TxFeeChecker: ante.NewDynamicFeeChecker(app.EvmKeeper),
})
if err != nil {
panic(err)

View File

@ -44,7 +44,7 @@ import (
ethermint "github.com/cerc-io/laconicd/types"
)
const EnvPrefix = "ETHERMINT"
const EnvPrefix = "LACONIC"
// NewRootCmd creates a new root command for simd. It is called once in the
// main function.
@ -66,7 +66,7 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
rootCmd := &cobra.Command{
Use: "laconicd",
Short: "Ethermint Daemon",
Short: "Laconic Daemon",
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
// set the default command outputs
cmd.SetOut(cmd.OutOrStdout())

View File

@ -57,10 +57,9 @@ func (s *IntegrationTestSuite) TearDownSuite() {
func (s *IntegrationTestSuite) createAccountWithBalance(accountName string, accountAddress *string) {
val := s.network.Validators[0]
fmt.Println("Validator===========", val.Address)
sr := s.Require()
info, _, err := val.ClientCtx.Keyring.NewMnemonic(accountName, keyring.English, sdk.FullFundraiserPath, keyring.DefaultBIP39Passphrase, hd.EthSecp256k1)
info, _, err := val.ClientCtx.Keyring.NewMnemonic(accountName, keyring.English, sdk.FullFundraiserPath, keyring.DefaultBIP39Passphrase, hd.EthSecp256k1) //nolint:lll
sr.NoError(err)
newAddr, _ := info.GetAddress()
@ -77,5 +76,4 @@ func (s *IntegrationTestSuite) createAccountWithBalance(accountName string, acco
)
sr.NoError(err)
*accountAddress = newAddr.String()
fmt.Println("Account address=====", newAddr.String())
}