forked from cerc-io/laconicd-deprecated
		
	remove TxFeeChecker
This commit is contained in:
		
							parent
							
								
									ded812f60c
								
							
						
					
					
						commit
						be3d3b7093
					
				| @ -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) | ||||
|  | ||||
| @ -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()) | ||||
|  | ||||
| @ -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()) | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user