Skip to content

feat/merged#80

Merged
8ball030 merged 108 commits intomainfrom
feat/merged
Aug 25, 2025
Merged

feat/merged#80
8ball030 merged 108 commits intomainfrom
feat/merged

Conversation

@8ball030
Copy link
Copy Markdown
Owner

  • fix: restore TxResult.tx_hash
  • feat: bump minimal required python version to 3.10
  • feat: poetry add returns
  • feat: modify bridging methods on BaseClient to return a Result
  • fix: update withdraw and deposit cli commands
  • feat: remove TxStatus.ERROR and TxResult.exception
  • fix: BridgeClient.poll_bridge_progress exception handling
  • fix: improve usage of custom exceptions in BridgeClient
  • fix: remove tx_result.exception from send_and_confirm_tx
  • fix: improve gas estimation using GAS_LIMIT_BUFFER
  • refactor: rename to ensure_token_balance and ensure_token_allowance
  • refactor: massively simplify Derive gas funding
  • chore: make fmt lint
  • fix: error handling in cli withdraw and deposit commands
  • feat: DrvWithdrawAmountBelowFee exception
  • Revert "fix: update withdraw and deposit cli commands"
  • feat: unwrap_or_raise
  • feat: Result-returning and unwrap-or-raise bridge methods
  • chore: poetry lock
  • feat: finality exceptions
  • feat: wait_for_tx_finality
  • fix: wait_for_tx_finality
  • feat: add BridgeTxDetails and PreparedBridgeTx
  • refactor: utils/w3.py
  • fix: _increase_token_allowance to wait for wait_for_tx_finality
  • refactor: BridgeClient methods, removing poll_bridge_progress and deriva gas funding
  • mend
  • fix: cli and BaseClient withdraw and deposit commands
  • refactor: BridgeClient functioo names and type annotations
  • refactor: no longer mutate BridgeTxResult internally
  • refactor: _load_deposit_helper
  • refactor: replace use of string Literal with Direction enum
  • feat: PartialBridgeResult
  • feat: introduce poll_bridge_progress on BridgeClient
  • fix: remove poll_bridge_progress call from submit_bridge_tx
  • chore: make bridge methods private
  • chore: remove wait_for_tx_receipt
  • chore: make deposit_helper and withdraw_wrapper loading lazy
  • chore: increase finality_blocks default 12 -> 120
  • feat: expose original exception via PartialBridgeResult.cause
  • feat: turn BridgeClient from sync to async
  • refactor: move w3 functionality used solely in bridge to _bridge module
  • fix: models
  • feat: BridgeClient.create
  • fix: models
  • fix: Web3 -> AsyncWeb3 in _bridge.w3
  • fix: async get_w3_connection
  • refactor: merge transactions.py into w3.py
  • fix: use TYPE_CHECKING for BridgeTxResult import
  • chore: cleanup BridgeClient
  • chore: update BaseClient
  • fix: type annotations
  • feat: make BridgeClient init indepedent of remote chain
  • feat: @future_safe on BridgeClient API interface
  • feat: integrate BridgeClient with AsyncClient
  • feat: to_base_units
  • fix: convert token units to base units in BridgeClient
  • docs: docstrings for bridge methods on AsyncClient
  • fix: restore wait_until async -> sync
  • fix: imports in test_w3
  • feat: fee estimation enum and models
  • fix: gas fee estimation
  • feat: preflight_native_balance_check
  • feat: encode_abi helper
  • feat: Standard bridge contract ABIs
  • chore: add BridgeType.STANDARD and Currency.ETH
  • feat: add data to InsufficientNativeBalance exception
  • feat: add amount field to PreparedBridgeTx and BridgeTxResult
  • chore: expose bridge_type on PreparedBridgeTx
  • fix: update BridgeClient
  • feat: StandardBridge
  • feat: expose prepare_standard_tx on AsyncClient
  • fix: fee estimation using MIN_PRIORITY_FEE as fallback
  • docs: update docstring for bridge methods in AsyncClient
  • fix: make FeeHistory.base_fee_per_blob_gas and .blob_gas_used_ratio optional
  • feat: run_coroutine_sync
  • feat: thin wrappers for AsyncClient bridge methods on HttpClient
  • fix: change subclass AsyncClient from WsClient to BaseClient
  • chore: remove bridging methods from BaseClient entirely
  • fix: type annotations on BridgeClient
  • fix: use HttpClient as base class for DeriveClient, and update cli command for deposit and withdraw
  • feat: StandardBridgeRelayFailed
  • feat: BridgeEventTimeout
  • chore: make fmt lint
  • feat: CURRENCY_DECIMALS
  • fix: to_base_units and from_base_units
  • feat: ETH_DEPOSIT_WRAPPER
  • feat: feat .value field and convenience properties on PreparedBridgeTx
  • fix: set both amount and value field on PreparedBridgeTx
  • refactor: rename token_amount to human_amount
  • feat: display prepared tx and ask for confirmation before execution in CLI tool
  • feat: verification of onchain decimals
  • chore: make fmt lint
  • refactor: BridgeTxResult
  • feat: check estimated fee and compare to amount on socket withdrawal
  • fix: check fee on socket withdrawal
  • fix: token balance check
  • fix: CLI display of prepared tx
  • chore: remove unused custom exceptions

rix: BridgeClient methods, removing poll_bridge_progress and deriva gas funding
Karrenbelt and others added 28 commits August 19, 2025 15:23
Integrate async client with bridge API
Converted sync bridge client to async
@8ball030 8ball030 merged commit ac6d6bc into main Aug 25, 2025
2 checks passed
@8ball030 8ball030 deleted the feat/merged branch August 25, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants