All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix simulation for broadcaster middleware (#58)
- Added support for
replacementUuidfield ineth_sendBundle(#63) - Made response's data field optional to support some builders other than Flashbots (#76)
- Added a broadcaster middleware (#54)
- Check the entire block to determine bundle inclusion. See #47 for more detail.
- Added
add_transactionandadd_revertible_transaction(#46)
- Bumped
ethersto2.0.0and fixed middleware breaking changes
- Handle optional fields in the response of
flashbots_getBundleStatsV2.
- It is now possible to use your own endpoint for simulating bundles. Bundles will be sent over JSON-RPC to the given endpoint. The JSON-RPC method used is
eth_callBundle. SeeMiddleware::set_simulation_relay.
- The library now uses the new
flashbots_getUserStatsV2andflashbots_getBundleStatsV2endpoints. If you need the old endpoints, pin your version to 0.11.0.
- Addd a
rustlsfeature flag to use native TLS over OpenSSL - Bumped
thiserrorto1.0.37 - Bumped
chronoto0.4.22 - Bumped
urlto2.3.1 - Bumped
async-traitto0.1.58 - Bumped
ethersto1.0.0
- Replaced
anyhowwitheyre - Updated to ethers
^0.17.0
- Updated to ethers
^0.13.0
Debugis now implemented forUserStatsandBundleStats
PendingBundle::bundle_hash()is now deprecated
A small patch to fix the documentation on docs.rs.
- The basefee for a simulated block can now be specified.
- Updated to ethers
^0.6.0
- Relaxed version requirement for Ethers - version requirement is now
^0.5.0. - Disabled default Ethers features to allow for building on Windows (which lacks IPC support, see gakonst/ethers-rs#393)
- Revert reason is now parsed, if there is any.
valueon a simulated transaction was incorrectly assumed to be the amount of Ether sent in a transaction. It is now correctly parsed asBytes, since it represents the return data (if any) of the transaction.
- Parameters are now validated before bundles are sent to the relay. Check the documentation for more information.
- Bumped ethers to 0.5.1
- Added a helper to get the effective gas price of bundles and
bundle transactions (
SimulatedBundle::effective_gas_priceandSimulatedTransaction::effective_gas_price).
- Added a way to get stats about bundles (
FlashbotsMiddleware::get_bundle_stats) - Added a getter for the bundle hash of a pending bundle
- Added a way to get stats about your searcher identity (
FlashbotsMiddleware::get_user_stats)
- If your bundle contains a transaction that deploys a contract,
the
SimulatedTransactionwill now have a destination (to) ofNoneto distinguish this from the zero address.
- Handle non-JSONRPC errors from the Flashbots relay
- Correctly serializes bundle requests
NOTE: This release is unfortunately broken, please update to 0.2.1
- You can now wait for bundle inclusions (see
PendingBundle). - Added
BundleRequest::transaction_hashes
NOTE: This release is unfortunately broken, please update to 0.2.1
- Added a revert reason to simulated transactions
NOTE: This release is unfortunately broken, please update to 0.2.1
- Pinned ethers dependencies to specific versions
NOTE: This release is unfortunately broken, please update to 0.2.1
Initial release.