Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
8078a05
fix: restore TxResult.tx_hash
Karrenbelt Aug 8, 2025
87838c7
feat: bump minimal required python version to 3.10
Karrenbelt Aug 8, 2025
06d63e3
feat: poetry add returns
Karrenbelt Aug 8, 2025
60c5454
feat: modify bridging methods on BaseClient to return a Result
Karrenbelt Aug 8, 2025
c095c4a
fix: update withdraw and deposit cli commands
Karrenbelt Aug 8, 2025
b5618a3
feat: remove TxStatus.ERROR and TxResult.exception
Karrenbelt Aug 8, 2025
a8a181e
fix: BridgeClient.poll_bridge_progress exception handling
Karrenbelt Aug 8, 2025
d96df23
fix: improve usage of custom exceptions in BridgeClient
Karrenbelt Aug 8, 2025
79efb5c
fix: remove tx_result.exception from send_and_confirm_tx
Karrenbelt Aug 8, 2025
c0c6ba5
fix: improve gas estimation using GAS_LIMIT_BUFFER
Karrenbelt Aug 8, 2025
a184cf8
refactor: rename to ensure_token_balance and ensure_token_allowance
Karrenbelt Aug 8, 2025
6377135
refactor: massively simplify Derive gas funding
Karrenbelt Aug 8, 2025
fbfe9b1
chore: make fmt lint
Karrenbelt Aug 8, 2025
d7e72e1
fix: error handling in cli withdraw and deposit commands
Karrenbelt Aug 8, 2025
2b247d4
feat: DrvWithdrawAmountBelowFee exception
Karrenbelt Aug 8, 2025
4fa51c7
Revert "fix: update withdraw and deposit cli commands"
Karrenbelt Aug 9, 2025
5c01e3c
feat: unwrap_or_raise
Karrenbelt Aug 9, 2025
cf251f5
feat: Result-returning and unwrap-or-raise bridge methods
Karrenbelt Aug 9, 2025
13b1006
Merge branch 'main' into fix/simulated-txns#
Karrenbelt Aug 9, 2025
d968142
chore: poetry lock
Karrenbelt Aug 9, 2025
bb42a2b
feat: finality exceptions
Karrenbelt Aug 10, 2025
852387a
feat: wait_for_tx_finality
Karrenbelt Aug 10, 2025
91610c8
fix: wait_for_tx_finality
Karrenbelt Aug 11, 2025
c25599e
feat: add BridgeTxDetails and PreparedBridgeTx
Karrenbelt Aug 12, 2025
bb6694f
refactor: utils/w3.py
Karrenbelt Aug 12, 2025
4e39201
fix: _increase_token_allowance to wait for wait_for_tx_finality
Karrenbelt Aug 12, 2025
6a71c58
refactor: BridgeClient methods, removing poll_bridge_progress and der…
Karrenbelt Aug 12, 2025
19f6c07
mend
Karrenbelt Aug 12, 2025
8a6b9a8
fix: cli and BaseClient withdraw and deposit commands
Karrenbelt Aug 12, 2025
e2c8802
refactor: BridgeClient functioo names and type annotations
Karrenbelt Aug 13, 2025
31a9cd6
refactor: no longer mutate BridgeTxResult internally
Karrenbelt Aug 13, 2025
a62fa0b
refactor: _load_deposit_helper
Karrenbelt Aug 13, 2025
76a50b9
refactor: replace use of string Literal with Direction enum
Karrenbelt Aug 13, 2025
df1f1d0
feat: PartialBridgeResult
Karrenbelt Aug 13, 2025
43a1af7
feat: introduce poll_bridge_progress on BridgeClient
Karrenbelt Aug 13, 2025
721ba79
fix: remove poll_bridge_progress call from submit_bridge_tx
Karrenbelt Aug 13, 2025
351c27c
chore: make bridge methods private
Karrenbelt Aug 13, 2025
4e60d1d
chore: remove wait_for_tx_receipt
Karrenbelt Aug 13, 2025
7629743
chore: make deposit_helper and withdraw_wrapper loading lazy
Karrenbelt Aug 13, 2025
c39ddf5
chore: increase finality_blocks default 12 -> 120
Karrenbelt Aug 13, 2025
9c426e3
feat: expose original exception via PartialBridgeResult.cause
Karrenbelt Aug 13, 2025
7a6fd1f
feat: turn BridgeClient from sync to async
Karrenbelt Aug 14, 2025
0909b0e
refactor: move w3 functionality used solely in bridge to _bridge module
Karrenbelt Aug 14, 2025
0704721
fix: models
Karrenbelt Aug 14, 2025
94cbf37
feat: BridgeClient.create
Karrenbelt Aug 14, 2025
455c367
fix: models
Karrenbelt Aug 14, 2025
2a8a8af
fix: Web3 -> AsyncWeb3 in _bridge.w3
Karrenbelt Aug 14, 2025
a94795a
fix: async get_w3_connection
Karrenbelt Aug 14, 2025
86d167f
refactor: merge transactions.py into w3.py
Karrenbelt Aug 14, 2025
31717ec
fix: use TYPE_CHECKING for BridgeTxResult import
Karrenbelt Aug 14, 2025
3f26c0c
chore: cleanup BridgeClient
Karrenbelt Aug 14, 2025
b4ec2f2
chore: update BaseClient
Karrenbelt Aug 14, 2025
d57a6b2
fix: type annotations
Karrenbelt Aug 14, 2025
33658f3
feat: make BridgeClient init indepedent of remote chain
Karrenbelt Aug 14, 2025
0376fd6
feat: @future_safe on BridgeClient API interface
Karrenbelt Aug 15, 2025
ef79324
feat: integrate BridgeClient with AsyncClient
Karrenbelt Aug 15, 2025
e34945b
feat: to_base_units
Karrenbelt Aug 15, 2025
4b85b4e
fix: convert token units to base units in BridgeClient
Karrenbelt Aug 15, 2025
5f5c310
docs: docstrings for bridge methods on AsyncClient
Karrenbelt Aug 15, 2025
7036839
fix: restore wait_until async -> sync
Karrenbelt Aug 15, 2025
a1f33de
fix: imports in test_w3
Karrenbelt Aug 15, 2025
ebe31e1
feat: fee estimation enum and models
Karrenbelt Aug 16, 2025
22a7194
fix: gas fee estimation
Karrenbelt Aug 16, 2025
8ed741d
feat: preflight_native_balance_check
Karrenbelt Aug 16, 2025
13eeb56
feat: encode_abi helper
Karrenbelt Aug 18, 2025
fa6ff97
feat: Standard bridge contract ABIs
Karrenbelt Aug 18, 2025
a95514e
chore: add BridgeType.STANDARD and Currency.ETH
Karrenbelt Aug 18, 2025
4d91434
feat: add data to InsufficientNativeBalance exception
Karrenbelt Aug 18, 2025
497c886
feat: add amount field to PreparedBridgeTx and BridgeTxResult
Karrenbelt Aug 18, 2025
ca199ea
chore: expose bridge_type on PreparedBridgeTx
Karrenbelt Aug 19, 2025
4c27429
fix: update BridgeClient
Karrenbelt Aug 19, 2025
889b238
feat: StandardBridge
Karrenbelt Aug 19, 2025
0d40e14
feat: expose prepare_standard_tx on AsyncClient
Karrenbelt Aug 19, 2025
4b8d836
fix: fee estimation using MIN_PRIORITY_FEE as fallback
Karrenbelt Aug 19, 2025
0ae5eef
docs: update docstring for bridge methods in AsyncClient
Karrenbelt Aug 19, 2025
7c78f78
fix: make FeeHistory.base_fee_per_blob_gas and .blob_gas_used_ratio o…
Karrenbelt Aug 19, 2025
7f1c72a
feat: run_coroutine_sync
Karrenbelt Aug 19, 2025
e2717b9
feat: thin wrappers for AsyncClient bridge methods on HttpClient
Karrenbelt Aug 19, 2025
b4f095c
fix: change subclass AsyncClient from WsClient to BaseClient
Karrenbelt Aug 19, 2025
c9b4dea
chore: remove bridging methods from BaseClient entirely
Karrenbelt Aug 19, 2025
c01164a
fix: type annotations on BridgeClient
Karrenbelt Aug 19, 2025
26beaf3
fix: use HttpClient as base class for DeriveClient, and update cli co…
Karrenbelt Aug 19, 2025
f21d374
feat: StandardBridgeRelayFailed
Karrenbelt Aug 19, 2025
991e2ae
feat: BridgeEventTimeout
Karrenbelt Aug 19, 2025
e26069e
chore: make fmt lint
Karrenbelt Aug 19, 2025
0430bef
feat: CURRENCY_DECIMALS
Karrenbelt Aug 19, 2025
1981c8d
fix: to_base_units and from_base_units
Karrenbelt Aug 19, 2025
1a430a7
feat: ETH_DEPOSIT_WRAPPER
Karrenbelt Aug 19, 2025
f94cb3b
feat: feat .value field and convenience properties on PreparedBridgeTx
Karrenbelt Aug 19, 2025
788cde0
fix: set both amount and value field on PreparedBridgeTx
Karrenbelt Aug 19, 2025
06e2341
refactor: rename token_amount to human_amount
Karrenbelt Aug 19, 2025
752b0ed
feat: display prepared tx and ask for confirmation before execution i…
Karrenbelt Aug 19, 2025
11653a4
feat: verification of onchain decimals
Karrenbelt Aug 19, 2025
8c4f131
chore: make fmt lint
Karrenbelt Aug 19, 2025
acc783b
refactor: BridgeTxResult
Karrenbelt Aug 20, 2025
3a5fda4
feat: check estimated fee and compare to amount on socket withdrawal
Karrenbelt Aug 20, 2025
bf52840
fix: check fee on socket withdrawal
Karrenbelt Aug 20, 2025
6825d5f
fix: token balance check
Karrenbelt Aug 20, 2025
ace4649
fix: CLI display of prepared tx
Karrenbelt Aug 20, 2025
453ec62
chore: remove unused custom exceptions
Karrenbelt Aug 20, 2025
0bd195c
Merge pull request #78 from 8ball030/feat/standard_bridge
8ball030 Aug 25, 2025
751b877
Merge pull request #77 from 8ball030/fix/gas_fee_estimation
8ball030 Aug 25, 2025
773f864
Merge pull request #76 from 8ball030/feat/update_async_client
8ball030 Aug 25, 2025
feeebe9
Merge pull request #75 from 8ball030/feat/async_bridge_client
8ball030 Aug 25, 2025
35b193c
Merge pull request #72 from 8ball030/feat/finality
8ball030 Aug 25, 2025
7bbb9dc
fix:workflows
Aug 25, 2025
738c397
chore:linters-typing
Aug 25, 2025
3c3ae6e
Merge branch 'main' into feat/merged
8ball030 Aug 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/common_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
fail-fast: false
matrix:
python-version:
# - "3.9"
- "3.10"
poetry-version: ["1.3.2"]
- "3.11"
poetry-version: ["2.0.1"]
os: [ubuntu-22.04,]
runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ jobs:
strategy:
matrix:
python-versions:
- 3.8
- 3.9
- 3.10
os:
- ubuntu-20.04
runs-on: ubuntu-20.04
- ubuntu-24.04
runs-on: ubuntu-24.04
env:
PYTHONPATH: .
steps:
Expand Down
Loading