SIGN IN SIGN UP
unionlabs / union UNCLAIMED

The trust-minimized, zero-knowledge bridging protocol, designed for censorship resistance, extremely high security, and usage in decentralized finance.

0 0 174 Rust

feat(zkgm): more fao v1/v2 compat tests (#4684)

## New Tests Added
- **Mixed V1/V2 batches** - Both order types in same transaction
- **Cross-version tokens** - Same base token, different metadata =
different
wrapped tokens
- **V1→V2 upgrades** - V2 can unwrap V1 tokens using compatibility mode
- **Balance isolation** - V1 and V2 track outstanding balances
separately
- **V2 timeouts** - Proper refunds and balance cleanup for V2 orders
- **Unwrap validation** - Rejects invalid baseAmount < quoteAmount
scenarios
H
hussein committed
5e49d6889439c5d291af9cb56a93a14ae7badc06
Committed by GitHub <noreply@github.com> on 6/11/2025, 5:12:29 PM