From fab956f99c91eecaf5ac13b5b2e4a4ad8f5be0a3 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 13 Aug 2025 10:01:28 +0800 Subject: [PATCH 1/2] fix: align precompiles map with available static check for more info, https://github.com/cosmos/evm/blob/be2c215481ef1466328811d878675be75c90edf3/x/vm/keeper/static_precompiles.go#L46 --- evmd/precompiles.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evmd/precompiles.go b/evmd/precompiles.go index a27ab8d6b..b84977762 100644 --- a/evmd/precompiles.go +++ b/evmd/precompiles.go @@ -91,7 +91,7 @@ func NewAvailableStaticPrecompiles( opt(&options) } // Clone the mapping from the latest EVM fork. - precompiles := maps.Clone(vm.PrecompiledContractsBerlin) + precompiles := maps.Clone(vm.PrecompiledContractsPrague) // secp256r1 precompile as per EIP-7212 p256Precompile := &p256.Precompile{} From 94cb45fb0aaac449f44fcef0b3f1f337d98a5fac Mon Sep 17 00:00:00 2001 From: mmsqe Date: Wed, 13 Aug 2025 22:12:02 +0800 Subject: [PATCH 2/2] add doc --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9eeccc233..2ee92602a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ - [\#350](https://github.com/cosmos/evm/pull/350) Fix p256 precompile test flakiness - [\#376](https://github.com/cosmos/evm/pull/376) Fix precompile initialization for local node development script - [\#384](https://github.com/cosmos/evm/pull/384) Fix debug_traceTransaction RPC failing with block height mismatch errors +- [\#441](https://github.com/cosmos/evm/pull/441) Align precompiles map with available static check to Prague. ### IMPROVEMENTS