Skip to content

Commit 5273993

Browse files
spencer-tblightclient
authored andcommitted
fix pe pc address.
1 parent 3f9b44a commit 5273993

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

core/vm/contracts.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,16 @@ var PrecompiledContractsBerlin = map[common.Address]PrecompiledContract{
9595
// PrecompiledContractsCancun contains the default set of pre-compiled Ethereum
9696
// contracts used in the Cancun release.
9797
var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{
98-
common.BytesToAddress([]byte{1}): &ecrecover{},
99-
common.BytesToAddress([]byte{2}): &sha256hash{},
100-
common.BytesToAddress([]byte{3}): &ripemd160hash{},
101-
common.BytesToAddress([]byte{4}): &dataCopy{},
102-
common.BytesToAddress([]byte{5}): &bigModExp{eip2565: true},
103-
common.BytesToAddress([]byte{6}): &bn256AddIstanbul{},
104-
common.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{},
105-
common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
106-
common.BytesToAddress([]byte{9}): &blake2F{},
107-
common.BytesToAddress([]byte{20}): &kzgPointEvaluation{},
98+
common.BytesToAddress([]byte{1}): &ecrecover{},
99+
common.BytesToAddress([]byte{2}): &sha256hash{},
100+
common.BytesToAddress([]byte{3}): &ripemd160hash{},
101+
common.BytesToAddress([]byte{4}): &dataCopy{},
102+
common.BytesToAddress([]byte{5}): &bigModExp{eip2565: true},
103+
common.BytesToAddress([]byte{6}): &bn256AddIstanbul{},
104+
common.BytesToAddress([]byte{7}): &bn256ScalarMulIstanbul{},
105+
common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{},
106+
common.BytesToAddress([]byte{9}): &blake2F{},
107+
common.BytesToAddress([]byte{0x0A}): &kzgPointEvaluation{},
108108
}
109109

110110
// PrecompiledContractsBLS contains the set of pre-compiled Ethereum

0 commit comments

Comments
 (0)