From 393d5aa01f83c47053c8d333bec788806131c7dc Mon Sep 17 00:00:00 2001 From: highlander Date: Wed, 4 Mar 2026 12:26:17 -0700 Subject: [PATCH] fix: add WETH to uniswap token database The Uniswap approve liquidity handler (zxappliquid.c) calls tokenByTicker("WETH") to compute V2 pair addresses via CREATE2. Without WETH in the token table, the firmware returns false before any button prompt, causing "Signing cancelled by user" in tests. Co-Authored-By: Claude Opus 4.6 --- keepkeylib/eth/uniswap_tokens.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/keepkeylib/eth/uniswap_tokens.json b/keepkeylib/eth/uniswap_tokens.json index 565a6615..de2a2784 100644 --- a/keepkeylib/eth/uniswap_tokens.json +++ b/keepkeylib/eth/uniswap_tokens.json @@ -4542,5 +4542,13 @@ "contractAddress": "0x0Ae055097C6d159879521C384F1D2123D1f195e6", "precision": 18, "network": "ETH" + }, + { + "symbol": "WETH", + "identifier": "weth", + "displayName": "Wrapped Ether", + "contractAddress": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", + "precision": 18, + "network": "ETH" } ] \ No newline at end of file