Skip to content

Commit c5ca267

Browse files
authored
fix: align precompiles map with available static check (#441)
* 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 * add doc
1 parent be2c215 commit c5ca267

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
- [\#350](https://github.com/cosmos/evm/pull/350) Fix p256 precompile test flakiness
2222
- [\#376](https://github.com/cosmos/evm/pull/376) Fix precompile initialization for local node development script
2323
- [\#384](https://github.com/cosmos/evm/pull/384) Fix debug_traceTransaction RPC failing with block height mismatch errors
24+
- [\#441](https://github.com/cosmos/evm/pull/441) Align precompiles map with available static check to Prague.
2425

2526
### IMPROVEMENTS
2627

evmd/precompiles.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func NewAvailableStaticPrecompiles(
9191
opt(&options)
9292
}
9393
// Clone the mapping from the latest EVM fork.
94-
precompiles := maps.Clone(vm.PrecompiledContractsBerlin)
94+
precompiles := maps.Clone(vm.PrecompiledContractsPrague)
9595

9696
// secp256r1 precompile as per EIP-7212
9797
p256Precompile := &p256.Precompile{}

0 commit comments

Comments
 (0)