File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tycho-integration-test/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,10 +254,10 @@ async fn setup_user_overwrites(
254254 let mut overwrites = AddressHashMap :: default ( ) ;
255255 let mut metadata = tenderly:: OverwriteMetadata :: new ( ) ;
256256 let token_address = Address :: from_slice ( & solution. given_token [ ..20 ] ) ;
257- // If given token is ETH, add the given amount + 1 ETH for gas
257+ // If given token is ETH, add the given amount + 10 ETH for gas
258258 if solution. given_token == Bytes :: zero ( 20 ) {
259259 let eth_balance = biguint_to_u256 ( & solution. given_amount ) +
260- U256 :: from_str ( "1000000000000000000 " ) . unwrap ( ) ; // given_amount + 1 ETH for gas
260+ U256 :: from_str ( "10000000000000000000 " ) . unwrap ( ) ; // given_amount + 1 ETH for gas
261261 overwrites. insert ( user_address, AccountOverride :: default ( ) . with_balance ( eth_balance) ) ;
262262 // if the given token is not ETH, do balance and allowance slots overwrites
263263 } else {
@@ -364,8 +364,8 @@ async fn setup_user_overwrites(
364364 ) ;
365365 }
366366
367- // Add 1 ETH for gas for non-ETH token swaps
368- let eth_balance = U256 :: from_str ( "1000000000000000000 " ) . unwrap ( ) ; // 1 ETH for gas
367+ // Add 10 ETH for gas for non-ETH token swaps
368+ let eth_balance = U256 :: from_str ( "10000000000000000000 " ) . unwrap ( ) ; // 1 ETH for gas
369369 overwrites. insert ( user_address, AccountOverride :: default ( ) . with_balance ( eth_balance) ) ;
370370 info ! ( "Setting ETH balance override for user {user_address}: {eth_balance} (for gas)" ) ;
371371 }
You can’t perform that action at this time.
0 commit comments