Commit f054b3b
committed
Add Calibur to EIP-7702 delegator whitelist
Add Uniswap Wallet's EIP-7702 delegator contract (Calibur) to the
on-device whitelist, allowing Ledger users to delegate their EOA to
the Calibur implementation with a recognizable name shown on the
device display.
The contract is deployed at the same deterministic address across all
supported chains, so a single chain_id = 0 (CHAIN_ID_ALL) entry covers
them all. The address was verified byte-by-byte against the upstream
deployment:
0x000000009B1D0aF20D8C6d0A44e162d11F9b8f00
Source and audits:
https://github.com/Uniswap/calibur
https://github.com/Uniswap/calibur/tree/main/audits
Changes:
- src/features/sign_authorization_eip7702/whitelist_7702.c: add a single
CHAIN_ID_ALL entry for "Calibur" with the verified 20-byte address array.
- tests/ragger/test_eip7702.py: add test_eip7702_calibur_in_whitelist,
which exercises the happy-path sign flow with the Calibur address on
chain_id 1, verifying the whitelist match and that the signed
authorization recovers to the device address.1 parent 3d653f8 commit f054b3b
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
0 commit comments