Skip to content

Conversation

@lidarbtc
Copy link
Contributor

@lidarbtc lidarbtc commented Oct 1, 2025

After updating alloy to v2.10.0, rindexer started failing to build because
alloy_chains removed the NamedChain::PolygonZkEvm variant. This PR fixes the
build error by removing our reference to that variant.

Failure
Rust E0599 with message similar to:

no variant or associated item named `PolygonZkEvm` found for enum `NamedChain`

images

image

Changes

  • Delete the NamedChain::PolygonZkEvm match arm.

Why

  • Resolve the build failure introduced by the alloy v2.10.0 update.

Changelog reference

https://github.com/alloy-rs/chains/blob/d12dcd4542cf74dfd03ac185638cc68dd3662792/CHANGELOG.md?plain=1#L56

alloy_chains v2.10.0 removed the NamedChain::PolygonZkEvm variant.
Matching on it causes a compile-time failure (E0599). This change
deletes the match arm and makes no other behavioral adjustments.

See upstream changelog:
https://github.com/alloy-rs/chains/blob/d12dcd4542cf74dfd03ac185638cc68dd3662792/CHANGELOG.md?plain=1#L56
@vercel
Copy link

vercel bot commented Oct 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
rindexer-documentation Ready Ready Preview Comment Oct 1, 2025 9:24am

@lidarbtc
Copy link
Contributor Author

lidarbtc commented Oct 1, 2025

FYI there’s a Polygon forum post about sunsetting Polygon zkEVM mainnet beta in 2026.

Copy link
Owner

@joshstevens19 joshstevens19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@joshstevens19
Copy link
Owner

github runners for mac are down but i know this will work so can merge

@joshstevens19 joshstevens19 merged commit be28e24 into joshstevens19:master Oct 1, 2025
9 of 11 checks passed
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.

2 participants