Skip to content

Commit cfd1109

Browse files
Use zero as max fee per gas
1 parent ca83f7d commit cfd1109

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • crates/pallet-native-to-evm-currency-swap/src

crates/pallet-native-to-evm-currency-swap/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ pub mod pallet {
3333
},
3434
};
3535
use frame_system::pallet_prelude::*;
36-
use pallet_evm::FeeCalculator;
3736
use sp_core::{H160, H256, U256};
3837

3938
use super::*;
@@ -153,7 +152,7 @@ pub mod pallet {
153152
.0
154153
.nonce,
155154
max_priority_fee_per_gas: 0.into(),
156-
max_fee_per_gas: <T as pallet_evm::Config>::FeeCalculator::min_gas_price().0,
155+
max_fee_per_gas: 0.into(),
157156
gas_limit: 21000.into(), // simple transfer
158157
action: ethereum::TransactionAction::Call(to.clone().into()),
159158
value: U256::from(evm_balance_to_be_deposited),

0 commit comments

Comments
 (0)