mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-20 01:50:40 +00:00
core/vm: fix cherry-picking
This commit is contained in:
parent
00f0d218d4
commit
07321c6d9c
1 changed files with 4 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ var PrecompiledContractsBerlin = PrecompiledContracts{
|
|||
common.BytesToAddress([]byte{0x2}): &sha256hash{},
|
||||
common.BytesToAddress([]byte{0x3}): &ripemd160hash{},
|
||||
common.BytesToAddress([]byte{0x4}): &dataCopy{},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: false, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: true, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x6}): &bn256AddIstanbul{},
|
||||
common.BytesToAddress([]byte{0x7}): &bn256ScalarMulIstanbul{},
|
||||
common.BytesToAddress([]byte{0x8}): &bn256PairingIstanbul{},
|
||||
|
|
@ -107,7 +107,7 @@ var PrecompiledContractsCancun = PrecompiledContracts{
|
|||
common.BytesToAddress([]byte{0x2}): &sha256hash{},
|
||||
common.BytesToAddress([]byte{0x3}): &ripemd160hash{},
|
||||
common.BytesToAddress([]byte{0x4}): &dataCopy{},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: false, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: true, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x6}): &bn256AddIstanbul{},
|
||||
common.BytesToAddress([]byte{0x7}): &bn256ScalarMulIstanbul{},
|
||||
common.BytesToAddress([]byte{0x8}): &bn256PairingIstanbul{},
|
||||
|
|
@ -122,7 +122,7 @@ var PrecompiledContractsPrague = PrecompiledContracts{
|
|||
common.BytesToAddress([]byte{0x02}): &sha256hash{},
|
||||
common.BytesToAddress([]byte{0x03}): &ripemd160hash{},
|
||||
common.BytesToAddress([]byte{0x04}): &dataCopy{},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: false, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: true, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x06}): &bn256AddIstanbul{},
|
||||
common.BytesToAddress([]byte{0x07}): &bn256ScalarMulIstanbul{},
|
||||
common.BytesToAddress([]byte{0x08}): &bn256PairingIstanbul{},
|
||||
|
|
@ -148,7 +148,7 @@ var PrecompiledContractsOsaka = PrecompiledContracts{
|
|||
common.BytesToAddress([]byte{0x02}): &sha256hash{},
|
||||
common.BytesToAddress([]byte{0x03}): &ripemd160hash{},
|
||||
common.BytesToAddress([]byte{0x04}): &dataCopy{},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: false, eip7823: true, eip7883: true},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: true, eip7823: true, eip7883: true},
|
||||
common.BytesToAddress([]byte{0x06}): &bn256AddIstanbul{},
|
||||
common.BytesToAddress([]byte{0x07}): &bn256ScalarMulIstanbul{},
|
||||
common.BytesToAddress([]byte{0x08}): &bn256PairingIstanbul{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue