You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bridge): harden tests, fix Go bugs A/B/C/F/H, clean up pallet and docs
Test improvements:
- Extract sendStellarPayment to shared bridge_helpers.js (DRY)
- Add MV6a below-minimum withdraw test (parity with SV test6)
- Increase MV5 batch size from 3 to 5 (match SV test2)
- Fix markTestPhase early-return bug with finally blocks
- Remove dead waitForValReady function
- Add bridge_instrumentation.js for event collection and analysis
Go bridge fixes (stellar.go):
- Issue A: fix && to || in deposit asset filter (creditedEffect check)
- Issue B: add per-payment asset validation with warning log for non-TFT
- Issue C: fix || to && in StatBridgeAccount balance filter
- Issue F: fix return nil,nil to continue in op loop (highest severity)
- Issue H: reuse HTTP client in StellarWallet instead of creating per-call
Pallet cleanup:
- Collapse redundant ensure!/get into single .ok_or() read in
set_stellar_burn_transaction_executed
Docs:
- Fix deposit fee "10 TFT" to "1 TFT" in bridging, multinode, single_node
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: bridge/docs/bridging.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ This document will explain how you can transfer TFT from TF Chain to Stellar and
11
11
12
12
## Stellar to TF Chain
13
13
14
-
Transfer the TFT from your Stellar wallet to bridge wallet address that you configured. A depositfee will be taken (10 TFT on mainnet/testnet by default), so make sure you send a larger amount than the fee.
14
+
Transfer the TFT from your Stellar wallet to bridge wallet address that you configured. A depositfee will be taken (1 TFT on mainnet/testnet by default), so make sure you send a larger amount than the fee.
15
15
16
16
### Transfer to TF Chain
17
17
@@ -29,7 +29,7 @@ To deposit to a TF Grid object, this object **must** exists. If the object is no
29
29
## TF Chain to Stellar
30
30
31
31
Browse to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Ftfchain.grid.tf#/extrinsics (for mainnet), select tftBridgeModule and extrinsic: `swap_to_stellar()`. Provide your stellar target address and amount and sign it with your account holding the tft balance.
32
-
Again, a withdrawfee will be taken (10 TFT on mainnet/testnet by default), so make sure you send a larger amount than the fee.
32
+
Again, a withdrawfee will be taken (1 TFT on mainnet/testnet by default), so make sure you send a larger amount than the fee.
33
33
34
34
The amount withdrawn from TF Chain will be sent to your Stellar wallet.
0 commit comments