mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core/vm: enable modexp repricing on cancun
This commit is contained in:
parent
6a7f64e760
commit
c6ce2185ab
1 changed files with 2 additions and 2 deletions
|
|
@ -113,7 +113,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: true, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x5}): &bigModExp{eip2565: true, eip7823: true, eip7883: true},
|
||||
common.BytesToAddress([]byte{0x6}): &bn256AddIstanbul{},
|
||||
common.BytesToAddress([]byte{0x7}): &bn256ScalarMulIstanbul{},
|
||||
common.BytesToAddress([]byte{0x8}): &bn256PairingIstanbul{},
|
||||
|
|
@ -128,7 +128,7 @@ var PrecompiledContractsPrague = PrecompiledContracts{
|
|||
common.BytesToAddress([]byte{0x02}): &sha256hash{},
|
||||
common.BytesToAddress([]byte{0x03}): &ripemd160hash{},
|
||||
common.BytesToAddress([]byte{0x04}): &dataCopy{},
|
||||
common.BytesToAddress([]byte{0x05}): &bigModExp{eip2565: true, eip7823: false, eip7883: false},
|
||||
common.BytesToAddress([]byte{0x05}): &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