Skip to content

v0.49.0

Choose a tag to compare

@piotr-roslaniec piotr-roslaniec released this 07 Aug 16:28
· 29 commits to master since this release
40a158c

What's new

Subgraph mainnet deploy at commit 40a158c. Adds cross-chain redemption tracking, the FROST/Schnorr event surface mirrored from the tBTC monorepo, routed-deposit support for all five L2 depositors, and a sweep-fee/deposit-key fix that was previously corrupting on-chain data.

Changes by PR

  • #5 fix(swept): record real treasury fee and per-deposit minted amount — swept deposits now record the actual treasury fee charged (not zero) and the per-deposit minted amount on the redemption entity, so downstream queries can compute the realized fee correctly.
  • #3 feat: add cross-chain redemption tracking via Wormhole VAA parsing — indexes L1BTCRedeemerWormhole.RedemptionRequested plus the matching call-handler, and tracks Redemption, WormholeSender, and CrossChainRedemptionTracker entities from block 18500000 on mainnet.
  • #4 feat(subgraph): mirror FROST/Schnorr event surface from tBTC monorepo — adds the FROST-wallet registration and ECDSA/P2TR fraud-router event handlers, plus the lifecycle-router events. Mirrors tlabs-xyz/tbtc:feat/frost-schnorr-migration at the frozen frost-extraction-source-v1 tag.
    • Companion: scripts/verify-subgraph-abi-drift.mjs now includes the anonymous flag in event normalization, so two ABIs with same signature but different anonymous no longer hash identically.
  • #7 feat: index routed-deposit destinationOwner on Deposit — adds RoutedDeposit entity and indexes DepositInitialized / DepositFinalized from GaslessDepositor, ArbitrumDepositor, BaseDepositor, SuiDepositor, and StarkNetDepositor. Both legacy and current event formats handled. Bridge.deposits(depositKey) now resolves the routed-deposit destinationOwner when the matching routed event arrives first.
  • #8 fix: pass the correct deposit key to Bridge.deposits() — the prior code passed a corrupted key (lowercase a-f hex nibbles read as 0); now uses the same hexToBigint as everywhere else, which already handles lowercase hex correctly.

Networks

Network Studio subgraph Source build
Mainnet tbtc-mainnet this tag

Sepolia is compile-checked only (no Studio subgraph exists; see docs/deployment.md).

Deployment notes

Cut from master @ 40a158c. Triggered by pushing the v0.49.0 tag; passed the checks build gate and the production environment approval gate before deploying.