@@ -110,19 +110,19 @@ async fn start_mock_server() -> eyre::Result<(ServerHandle, MockFlashbotsBlockBu
110
110
111
111
#[ tokio:: test]
112
112
#[ ignore]
113
- async fn test_simulate_bundle_flashbots_goerli ( ) -> eyre:: Result < ( ) > {
113
+ async fn test_simulate_bundle_flashbots_sepolia ( ) -> eyre:: Result < ( ) > {
114
114
dotenv:: dotenv ( ) . ok ( ) ;
115
115
let eth_client_address = std:: env:: var ( "WS_RPC_URL" ) . expect ( "WS_RPC_URL env var not set" ) ;
116
116
let eth_client = Arc :: new ( Provider :: < Ws > :: connect ( eth_client_address) . await ?) ;
117
117
let dir = format ! (
118
118
"{}/.silius/0x129D197b2a989C6798601A49D89a4AEC822A17a3" ,
119
119
std:: env:: var( "HOME" ) . unwrap( )
120
120
) ;
121
- let wallet = Wallet :: from_file ( dir. into ( ) , 5 , true ) ?;
121
+ let wallet = Wallet :: from_file ( dir. into ( ) , 11155111 , true ) ?;
122
122
123
123
let client = FlashbotsClient :: new (
124
124
eth_client. clone ( ) ,
125
- Some ( vec ! [ flashbots_relay_endpoints:: FLASHBOTS_GOERLI . into( ) ] ) ,
125
+ Some ( vec ! [ flashbots_relay_endpoints:: FLASHBOTS_SEPOLIA . into( ) ] ) ,
126
126
wallet. clone ( ) ,
127
127
) ?;
128
128
@@ -145,7 +145,7 @@ async fn test_simulate_bundle_flashbots_goerli() -> eyre::Result<()> {
145
145
) ) ,
146
146
from : Some ( address) ,
147
147
data : Some ( approve_call_data. into ( ) ) ,
148
- chain_id : Some ( U64 :: from ( 5 ) ) ,
148
+ chain_id : Some ( U64 :: from ( 11155111 ) ) ,
149
149
max_fee_per_gas : Some ( max_fee_per_gas) ,
150
150
max_priority_fee_per_gas : Some ( max_priority_fee) ,
151
151
gas : Some ( U256 :: from ( 1000000u64 ) ) ,
0 commit comments