@@ -2239,9 +2239,10 @@ impl<P: Provider> EvmExecutionApi<P> {
22392239
22402240 // Configure chain settings
22412241 ctx. cfg . chain_id = self . chain_id ;
2242- // Disable nonce check for eth_call and eth_estimateGas
2243- // These are simulation calls that shouldn't require valid nonce
2242+ // Disable nonce and balance checks for eth_call and eth_estimateGas
2243+ // These are simulation calls that shouldn't require valid nonce or sufficient balance
22442244 ctx. cfg . disable_nonce_check = true ;
2245+ ctx. cfg . disable_balance_check = true ;
22452246
22462247 // Set up transaction environment
22472248 ctx. tx . caller = from. unwrap_or ( Address :: ZERO ) ;
@@ -2700,8 +2701,9 @@ where
27002701
27012702 // Configure chain settings
27022703 ctx. cfg . chain_id = self . chain_id ;
2703- // Disable nonce check for trace calls (simulation)
2704+ // Disable nonce and balance checks for trace calls (simulation)
27042705 ctx. cfg . disable_nonce_check = true ;
2706+ ctx. cfg . disable_balance_check = true ;
27052707
27062708 // Set up transaction environment
27072709 ctx. tx . caller = from. unwrap_or ( Address :: ZERO ) ;
@@ -2812,8 +2814,9 @@ where
28122814
28132815 // Configure chain settings
28142816 ctx. cfg . chain_id = self . chain_id ;
2815- // Disable nonce check for trace calls (simulation)
2817+ // Disable nonce and balance checks for trace calls (simulation)
28162818 ctx. cfg . disable_nonce_check = true ;
2819+ ctx. cfg . disable_balance_check = true ;
28172820
28182821 // Set up transaction environment
28192822 ctx. tx . caller = from. unwrap_or ( Address :: ZERO ) ;
0 commit comments