|
|
@ -111,15 +111,15 @@ var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{ |
|
|
|
// PrecompiledContractsBLS contains the set of pre-compiled Ethereum
|
|
|
|
// PrecompiledContractsBLS contains the set of pre-compiled Ethereum
|
|
|
|
// contracts specified in EIP-2537. These are exported for testing purposes.
|
|
|
|
// contracts specified in EIP-2537. These are exported for testing purposes.
|
|
|
|
var PrecompiledContractsBLS = map[common.Address]PrecompiledContract{ |
|
|
|
var PrecompiledContractsBLS = map[common.Address]PrecompiledContract{ |
|
|
|
common.BytesToAddress([]byte{10}): &bls12381G1Add{}, |
|
|
|
common.BytesToAddress([]byte{11}): &bls12381G1Add{}, |
|
|
|
common.BytesToAddress([]byte{11}): &bls12381G1Mul{}, |
|
|
|
common.BytesToAddress([]byte{12}): &bls12381G1Mul{}, |
|
|
|
common.BytesToAddress([]byte{12}): &bls12381G1MultiExp{}, |
|
|
|
common.BytesToAddress([]byte{13}): &bls12381G1MultiExp{}, |
|
|
|
common.BytesToAddress([]byte{13}): &bls12381G2Add{}, |
|
|
|
common.BytesToAddress([]byte{14}): &bls12381G2Add{}, |
|
|
|
common.BytesToAddress([]byte{14}): &bls12381G2Mul{}, |
|
|
|
common.BytesToAddress([]byte{15}): &bls12381G2Mul{}, |
|
|
|
common.BytesToAddress([]byte{15}): &bls12381G2MultiExp{}, |
|
|
|
common.BytesToAddress([]byte{16}): &bls12381G2MultiExp{}, |
|
|
|
common.BytesToAddress([]byte{16}): &bls12381Pairing{}, |
|
|
|
common.BytesToAddress([]byte{17}): &bls12381Pairing{}, |
|
|
|
common.BytesToAddress([]byte{17}): &bls12381MapG1{}, |
|
|
|
common.BytesToAddress([]byte{18}): &bls12381MapG1{}, |
|
|
|
common.BytesToAddress([]byte{18}): &bls12381MapG2{}, |
|
|
|
common.BytesToAddress([]byte{19}): &bls12381MapG2{}, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var ( |
|
|
|
var ( |
|
|
|