File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,7 @@ func (c *bn256AddIstanbul) Run(input []byte) ([]byte, error) {
606606}
607607
608608func (c * bn256AddIstanbul ) Name () string {
609- return "BN256_ADD "
609+ return "BN254_ADD "
610610}
611611
612612// bn256AddByzantium implements a native elliptic curve point addition
@@ -623,7 +623,7 @@ func (c *bn256AddByzantium) Run(input []byte) ([]byte, error) {
623623}
624624
625625func (c * bn256AddByzantium ) Name () string {
626- return "BN256_ADD "
626+ return "BN254_ADD "
627627}
628628
629629// runBn256ScalarMul implements the Bn256ScalarMul precompile, referenced by
@@ -652,7 +652,7 @@ func (c *bn256ScalarMulIstanbul) Run(input []byte) ([]byte, error) {
652652}
653653
654654func (c * bn256ScalarMulIstanbul ) Name () string {
655- return "BN256_MUL "
655+ return "BN254_MUL "
656656}
657657
658658// bn256ScalarMulByzantium implements a native elliptic curve scalar
@@ -669,7 +669,7 @@ func (c *bn256ScalarMulByzantium) Run(input []byte) ([]byte, error) {
669669}
670670
671671func (c * bn256ScalarMulByzantium ) Name () string {
672- return "BN256_MUL "
672+ return "BN254_MUL "
673673}
674674
675675var (
@@ -728,7 +728,7 @@ func (c *bn256PairingIstanbul) Run(input []byte) ([]byte, error) {
728728}
729729
730730func (c * bn256PairingIstanbul ) Name () string {
731- return "BN256_PAIRING "
731+ return "BN254_PAIRING "
732732}
733733
734734// bn256PairingByzantium implements a pairing pre-compile for the bn256 curve
@@ -745,7 +745,7 @@ func (c *bn256PairingByzantium) Run(input []byte) ([]byte, error) {
745745}
746746
747747func (c * bn256PairingByzantium ) Name () string {
748- return "BN256_PAIRING "
748+ return "BN254_PAIRING "
749749}
750750
751751type blake2F struct {}
You can’t perform that action at this time.
0 commit comments