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.
- Added a broadcaster middleware (#54)
- Check the entire block to determine bundle inclusion. See #47 for more detail.
- Added
add_transaction
andadd_revertible_transaction
(#46)
- Bumped
ethers
to2.0.0
and 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_getUserStatsV2
andflashbots_getBundleStatsV2
endpoints. If you need the old endpoints, pin your version to 0.11.0.
- Addd a
rustls
feature flag to use native TLS over OpenSSL - Bumped
thiserror
to1.0.37
- Bumped
chrono
to0.4.22
- Bumped
url
to2.3.1
- Bumped
async-trait
to0.1.58
- Bumped
ethers
to1.0.0
- Replaced
anyhow
witheyre
- Updated to ethers
^0.17.0
- Updated to ethers
^0.13.0
Debug
is now implemented forUserStats
andBundleStats
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.
value
on 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_price
andSimulatedTransaction::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
SimulatedTransaction
will now have a destination (to
) ofNone
to 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.