Skip to content

feat: make asm-keccak a default feature in all binaries#14389

Merged
mattsse merged 1 commit intomasterfrom
dani/asm-keccak-default
Apr 21, 2026
Merged

feat: make asm-keccak a default feature in all binaries#14389
mattsse merged 1 commit intomasterfrom
dani/asm-keccak-default

Conversation

@DaniPopes
Copy link
Copy Markdown
Member

Makes asm-keccak a default feature in all four binary crates (forge, anvil, cast, chisel), matching reth's approach where production binaries enable assembly-optimized keccak256 out-of-the-box.

Also forwards revm/asm-keccak where revm is a direct dependency (forge, anvil, cast) so the EVM executor also uses the fast path.

Since asm-keccak is now a default, it's removed from the explicit feature lists in the Makefile and CI workflows (release.yml, docker-publish.yml).

Enable asm-keccak by default in forge, anvil, cast, and chisel, matching
reth's approach. This ensures assembly-optimized keccak256 is always used
in production builds without requiring explicit feature flags.

Also forwards revm/asm-keccak where revm is a direct dependency (forge,
anvil, cast) to ensure the EVM executor also uses the fast path.

Removes the now-redundant asm-keccak from Makefile FEATURES and CI
workflow feature lists.
@DaniPopes DaniPopes force-pushed the dani/asm-keccak-default branch from 4d06664 to af0a6ca Compare April 21, 2026 11:41
@DaniPopes DaniPopes enabled auto-merge (squash) April 21, 2026 11:41
@mattsse mattsse disabled auto-merge April 21, 2026 12:02
@mattsse mattsse merged commit 9bb9269 into master Apr 21, 2026
16 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Foundry Apr 21, 2026
@mattsse mattsse deleted the dani/asm-keccak-default branch April 21, 2026 12:02
Copy link
Copy Markdown
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

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

makes sense 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants