From be3d3b709305f9c5b415a00858e620acedc825c2 Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Thu, 5 Jan 2023 17:32:50 +0530 Subject: [PATCH] remove TxFeeChecker --- app/app.go | 4 ++-- cmd/laconicd/root.go | 4 ++-- x/auction/client/testutil/common.go | 4 +--- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/app.go b/app/app.go index fc42124c..ad6e6948 100644 --- a/app/app.go +++ b/app/app.go @@ -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) diff --git a/cmd/laconicd/root.go b/cmd/laconicd/root.go index 20f5f99b..77a6ad4c 100644 --- a/cmd/laconicd/root.go +++ b/cmd/laconicd/root.go @@ -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()) diff --git a/x/auction/client/testutil/common.go b/x/auction/client/testutil/common.go index 12d5a2d6..6b825a98 100644 --- a/x/auction/client/testutil/common.go +++ b/x/auction/client/testutil/common.go @@ -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()) }