chore: moves bls precompile to active berlin fork (#56)

This commit is contained in:
Kartik Chopra 2024-12-11 13:32:41 -05:00 committed by GitHub
parent 7cb1fc132d
commit 9992ef494e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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