Skip to content

fix: correct WBTC and vbWBTC decimals to 8 on X Layer and Ternoa#833

Merged
shan8851 merged 1 commit into
masterfrom
fix/agglayer-wbtc-decimals-ternoa
Jun 26, 2026
Merged

fix: correct WBTC and vbWBTC decimals to 8 on X Layer and Ternoa#833
shan8851 merged 1 commit into
masterfrom
fix/agglayer-wbtc-decimals-ternoa

Conversation

@shan8851

@shan8851 shan8851 commented Jun 25, 2026

Copy link
Copy Markdown

What

Corrects the decimals field on two agglayer token-list entries from 18 to 8:

  • X Layer (196) WBTC 0xea034fb02eb1808c2cc3adbc15f447b93cbe08e1
  • Ternoa (752025) vbWBTC 0x593A86cB824e0e3546fAE6bbC56e6f3f3EB6213E

WBTC is an 8-decimal token. Two agglayer token-list entries declared 18
decimals, which made the bridge UI misrender every amount and balance by
10^10 (e.g. 1 vbWBTC showed as 10,000,000,000 WBTC):

- X Layer (196) WBTC 0xea03...08e1
- Ternoa (752025) vbWBTC 0x593a...213e

Both contracts report decimals() == 8 on-chain; corrected to match. A full
158-token on-chain decimals audit across all 11 chains found no other
mismatches.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@shan8851 shan8851 marked this pull request as ready for review June 25, 2026 14:32
@shan8851 shan8851 requested review from grajat90 and py-zoid June 25, 2026 14:32
@shan8851 shan8851 merged commit 0625b7d into master Jun 26, 2026
3 checks passed
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