Skip to content

Releases: flashbots/web3-flashbots

v2.0.0

31 Jul 23:43
d69f57b
Compare
Choose a tag to compare

web3.py v6 & goerli sunset

  1. Web3.py v6 Support

    • Updated code to be compatible with Web3.py v6
    • Adjusted type hints and function signatures to align with Web3.py
      v6 changes
    • Updated dependencies to include Web3.py v6
  2. Network Handling Refactor

    • Converted Network type to Enum for improved type safety
    • Updated FLASHBOTS_NETWORKS to use Network enum as keys
    • Added EnumAction class for argparse to handle Network enum
  3. Improved Transaction Handling

    • Updated create_transaction function for dynamic gas price
      calculation
    • Enhanced flashbot() function with better documentation
  4. Type Safety Enhancements

    • Introduced FlashbotsWeb3 class for better type checking
    • Updated type hints throughout the code to align with Web3.py v6
  5. Code Quality Improvements

    • Switched from Black to Ruff for code formatting and linting
    • Reordered and optimized imports across multiple files
  6. Enhanced Logging

    • Added logging to Flashbots class for key operations
    • Implemented dynamic logging configuration in simple.py example

v1.0.0 release

20 Apr 23:31
dde4a7d
Compare
Choose a tag to compare
  • adds new API methods to web3.flashbots:
    • get_bundle_stats
    • get_user_stats
    • send_private_transaction
    • cancel_private_transaction
  • fixes goerli middleware bug
  • FlashbotsTransactionResponse becomes FlashbotsBundleResponse, and FlashbotsPrivateTransactionResponse is added
    • sign_bundle and send_bundle are affected
  • adds EIP-1559 compatibility
  • corrects typos & formatting errors
  • upgrades dependencies
  • adds missing type hints