Skip to content

Conversation

@futreall
Copy link
Contributor

The activePrecompiledContracts function handles rules.IsVerkle and returns PrecompiledContractsVerkle (which equals Berlin contracts), but ActivePrecompiles was missing this case entirely.

This could cause a mismatch when Verkle mode is enabled - one function returns Berlin-based contracts while the other would fall through to a different fork's addresses.

Added the missing IsVerkle case to return PrecompiledAddressesBerlin, keeping both functions in sync.

@gballet gballet closed this Nov 26, 2025
@futreall futreall deleted the fix-active-precompiles-verkle branch November 26, 2025 10:45
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