ethers-flashbots icon indicating copy to clipboard operation
ethers-flashbots copied to clipboard

Changed advance example to reflect set_simulation_relay and fn set_simulation_relay

Open da-bao-jian opened this issue 2 years ago • 1 comments

After the 0.12.0, to simulate the bundles, users are required to call the set_simulation_relay method to set a relay endpoint, otherwise it'll be None.

Additionally, I modified the set_simulation_relay method to take one more argument relay_signer, otherwise X-Flashbots-Signature header won't be set inside of relay::request

da-bao-jian avatar May 21 '23 01:05 da-bao-jian

Sorry for the delayed response, good catch, I only checked this for the middleware.

Once CI passes this is good to merge

onbjerg avatar May 31 '23 22:05 onbjerg