File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed
substrate/frame/revive/src/evm Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -413,12 +413,6 @@ pub trait EthExtra {
413
413
return Err ( InvalidTransaction :: Payment . into ( ) )
414
414
}
415
415
416
- if eth_fee_no_tip > actual_fee. saturating_mul ( 2u32 . into ( ) ) {
417
- log:: debug!( target: LOG_TARGET , "actual fees: {actual_fee:?} too high, base eth fees:
418
- {eth_fee_no_tip:?}" ) ;
419
- return Err ( InvalidTransaction :: Call . into ( ) )
420
- }
421
-
422
416
let tip = eth_fee. saturating_sub ( eth_fee_no_tip) ;
423
417
log:: debug!( target: LOG_TARGET , "Created checked Ethereum transaction with nonce: {nonce:?} and tip: {tip:?}" ) ;
424
418
Ok ( CheckedExtrinsic {
@@ -679,13 +673,6 @@ mod test {
679
673
} ) ,
680
674
InvalidTransaction :: Payment ,
681
675
) ,
682
- (
683
- "Gas fees too high" ,
684
- Box :: new( |tx| {
685
- tx. gas = Some ( tx. gas. unwrap( ) * 2 ) ;
686
- } ) ,
687
- InvalidTransaction :: Call ,
688
- ) ,
689
676
(
690
677
"Gas fees too low" ,
691
678
Box :: new( |tx| {
You can’t perform that action at this time.
0 commit comments