Skip to content

fix(fee-abstraction): correct the Celo Sepolia USDC token and adapter addresses - #2273

Open
GigaHierz wants to merge 1 commit into
mainfrom
GigaHierz/2268-sepolia-usdc-address
Open

fix(fee-abstraction): correct the Celo Sepolia USDC token and adapter addresses#2273
GigaHierz wants to merge 1 commit into
mainfrom
GigaHierz/2268-sepolia-usdc-address

Conversation

@GigaHierz

Copy link
Copy Markdown
Contributor

The hole, and the fix

The Celo Sepolia USDC row on two guide pages was wrong in both columns:

was is
Token 0x2F25deB3848C207fc8E0c34035B3Ba7fC157602B — the mainnet USDC adapter; no code on Sepolia 0x01C5C0122039549AD1493B8220cABEdD739BC44Esymbol()=USDC, decimals()=6 on Sepolia
Adapter 0x4822e58de6f5e485eF90df51C41CE01721331dC0no code on Sepolia (an Alfajores-era address) 0xbf1441Ea57f43f35f713431001f35742c88071c7 — registered in the Sepolia FeeCurrencyDirectory; adaptedToken()0x01C5…BC44E

Files: build-on-celo/build-with-ai/overview.mdx:125 and build-on-celo/fee-abstraction/using-fee-abstraction.mdx:52. The canonical reference page tooling/contracts/fee-currencies.mdx:72 already had the correct pair; the guides had drifted from it. Explorer links switched to celo-sepolia.blockscout.com, the explorer the reference page and the network-overview page use for Sepolia.

What this does NOT do / residual risk

Judgement calls

Issues

Closes #2268 — the wrong rows are replaced and every address in them was verified on-chain (below). The OPEN item in the issue (verify the adapter column) is resolved: the old adapter had no code; the new one is the directory's.

Stacking / conflicts

Branched off main, independent of my other open PRs. No other open PR touches these two lines.

Verification evidence

Read straight from the chain on 2026-08-21 (FeeCurrencyDirectory resolved via the registry at 0x…ce10, then getCurrencies() and adaptedToken() / symbol() / decimals() on each):

SEPOLIA FeeCurrencyDirectory 0x9212Fb72ae65367A7c887eC4Ad9bE310BAC611BF: 21 currencies
0xbf1441Ea57f43f35f713431001f35742c88071c7  ADAPTER for 0x01C5C0122039549AD1493B8220cABEdD739BC44E (USDC/6)
0x2F25deB3848C207fc8E0c34035B3Ba7fC157602B  eth_getCode on Sepolia -> 0 bytes
0x4822e58de6f5e485eF90df51C41CE01721331dC0  eth_getCode on Sepolia -> 0 bytes

MAINNET FeeCurrencyDirectory 0x15F344b9E6c3Cb6F0376A36A64928b13F62C6276: 20 currencies
0x2F25deB3848C207fc8E0c34035B3Ba7fC157602B  ADAPTER for 0xcebA9300f2b948710d2653dD7B07f33A8B32118C (USDC/6)   # mainnet rows unchanged, correct
$ grep -rn 'sepolia' --include='*.mdx' . | grep -v legacy | grep -i '0x2F25deB3\|0x4822e58d'
(none)
$ mint broken-links   # on 10ee5c58
success no broken links found

Remaining ops steps

  • none

Checklist

  • Title is the commit message I want on main
  • Every address in the diff verified on-chain, not copied
  • mint broken-links passes
  • No secrets in the diff

… addresses

Both cells of the Sepolia USDC row on the AI overview and the fee-abstraction guide held the mainnet USDC adapter (as token) and an address with no code on Sepolia (as adapter). Replaced with the pair registered in the Celo Sepolia FeeCurrencyDirectory: token 0x01C5C0122039549AD1493B8220cABEdD739BC44E (USDC, 6 decimals), adapter 0xbf1441Ea57f43f35f713431001f35742c88071c7.

Closes #2268

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@GigaHierz
GigaHierz requested a review from palango August 22, 2026 10:27
@GigaHierz
GigaHierz marked this pull request as ready for review August 22, 2026 10:28
@GigaHierz
GigaHierz requested a review from a team as a code owner August 22, 2026 10:28
@GigaHierz
GigaHierz removed the request for review from a team August 22, 2026 10:28
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.

bug: Sepolia USDC token address in fee-abstraction tables is the mainnet adapter (no code on Sepolia)

1 participant