From e06482f7d6daf588f06fcbb67df4208906898a5a Mon Sep 17 00:00:00 2001 From: Kartik Chopra Date: Wed, 11 Dec 2024 13:30:47 -0500 Subject: [PATCH] chore: moves bls precompile to active berlin fork --- core/vm/contracts.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/vm/contracts.go b/core/vm/contracts.go index b4ec87b580b6..3d10a74cd0ad 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -91,6 +91,9 @@ var PrecompiledContractsBerlin = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{}, common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{}, common.BytesToAddress([]byte{9}): &blake2F{}, + + // primev pre-compiles start at 0xf addresses + common.BytesToAddress([]byte{0xf0}): &bls12381SignatureVerification{}, } // PrecompiledContractsCancun contains the default set of pre-compiled Ethereum @@ -106,9 +109,6 @@ var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{}, common.BytesToAddress([]byte{9}): &blake2F{}, common.BytesToAddress([]byte{0x0a}): &kzgPointEvaluation{}, - - // primev pre-compiles start at 0xf addresses - common.BytesToAddress([]byte{0xf0}): &bls12381SignatureVerification{}, } // PrecompiledContractsBLS contains the set of pre-compiled Ethereum