Skip to content

fix(starknet): Goerli is decommissioned; worked example returns SN_SEPOLIA - #213

Open
okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:fix-starknet-goerli-decommissioned
Open

okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:fix-starknet-goerli-decommissioned

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

The starknet CAIP-2 profile documents SN_GOERLI as the testnet identifier in three places, including the expected output of its worked example. Starknet Goerli has been decommissioned; the current public testnet reports SN_SEPOLIA.

Verified 2026-09-14 using this profile's own resolution method (starknet_chainId, then hex-decode the felt):

mainnet  -> 0x534e5f4d41494e        -> "SN_MAIN"
sepolia  -> 0x534e5f5345504f4c4941  -> "SN_SEPOLIA"

The chain-id rule itself is unchanged and correct — only the testnet example is stale. The felt in the code comment is updated alongside the string so the two no longer disagree with each other.

Found while writing a CAIP-19 asset profile for this namespace, as part of FAR, an open cross-reference between CAIP-19, CoinGecko and ISO 24165 identifiers.

This profile documents SN_GOERLI as the testnet chain identifier in three
places, including the worked example's expected output. Starknet Goerli was
decommissioned and the current public testnet reports SN_SEPOLIA.

Verified 2026-09-14 using this profile's own resolution method:

    mainnet  starknet_chainId -> 0x534e5f4d41494e         -> "SN_MAIN"
    sepolia  starknet_chainId -> 0x534e5f5345504f4c4941   -> "SN_SEPOLIA"

The chain-id rule itself is unchanged and correct — only the testnet example is
stale. The felt in the code comment is updated to match the string beside it, so
the two no longer disagree.

This branch has not been deployed

No deployments
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.

1 participant