Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/drop-holesky-chain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@avaprotocol/protocols": major
---

Remove `Chains.Holesky` (17000). EigenLayer has sunset Holesky and Ava Protocol's testnet AVS moved to Sepolia, so the constant no longer names a chain anything in this catalog targets.

Nothing in the catalog covered it: no protocol module and no token declared a 17000 entry, so `dist/tokens/holesky.json` was never actually emitted despite the sidecar's filename map and README listing it. The removal drops the constant, its sidecar filename entry, and both doc references.

**Breaking:** `Chains.Holesky` no longer exists. Callers referencing it fail to compile. There is no replacement — use `Chains.Sepolia` (11155111) for testnet work.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ dist/tokens/
├── sepolia.json (chain 11155111)
├── base.json (chain 8453)
├── base-sepolia.json (chain 84532)
├── bnb-mainnet.json (chain 56)
└── holesky.json (chain 17000)
└── bnb-mainnet.json (chain 56)
```

Each file is a stable-sorted array of `{ id, name, symbol, decimals }` entries — the same schema the EigenLayer-AVS Go aggregator already consumes under `token_whitelist/*.json`, so a Go service can pick up the catalog without depending on the TS toolchain. `id` is the lowercased address (matching Go's read-side normalization). Metadata fields TS consumers use (`description`, `website`, `logoUrl`, `links`) are intentionally omitted; TS callers import the `Tokens` namespace from source instead.
Expand Down
2 changes: 0 additions & 2 deletions scripts/build-tokens-sidecar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* dist/tokens/base.json — chain 8453
* dist/tokens/base-sepolia.json — chain 84532
* dist/tokens/bnb-mainnet.json — chain 56
* dist/tokens/holesky.json — chain 17000
*
* File naming matches the convention EigenLayer-AVS already uses for
* its checked-in whitelists so the migration path is a one-line
Expand All @@ -45,7 +44,6 @@ const CHAIN_FILE_NAMES: Readonly<Record<number, string>> = Object.freeze({
[Chains.BaseMainnet]: "base",
[Chains.BaseSepolia]: "base-sepolia",
[Chains.BnbMainnet]: "bnb-mainnet",
[Chains.Holesky]: "holesky",
});

function buildSidecar(): Record<number, SidecarEntry[]> {
Expand Down
1 change: 0 additions & 1 deletion src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
export const Chains = Object.freeze({
EthereumMainnet: 1 as const,
Sepolia: 11_155_111 as const,
Holesky: 17_000 as const,
OptimismMainnet: 10 as const,
UnichainMainnet: 130 as const,
BaseMainnet: 8453 as const,
Expand Down
Loading