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) {
606
606
}
607
607
608
608
func (c * bn256AddIstanbul ) Name () string {
609
- return "BN256_ADD "
609
+ return "BN254_ADD "
610
610
}
611
611
612
612
// bn256AddByzantium implements a native elliptic curve point addition
@@ -623,7 +623,7 @@ func (c *bn256AddByzantium) Run(input []byte) ([]byte, error) {
623
623
}
624
624
625
625
func (c * bn256AddByzantium ) Name () string {
626
- return "BN256_ADD "
626
+ return "BN254_ADD "
627
627
}
628
628
629
629
// runBn256ScalarMul implements the Bn256ScalarMul precompile, referenced by
@@ -652,7 +652,7 @@ func (c *bn256ScalarMulIstanbul) Run(input []byte) ([]byte, error) {
652
652
}
653
653
654
654
func (c * bn256ScalarMulIstanbul ) Name () string {
655
- return "BN256_MUL "
655
+ return "BN254_MUL "
656
656
}
657
657
658
658
// bn256ScalarMulByzantium implements a native elliptic curve scalar
@@ -669,7 +669,7 @@ func (c *bn256ScalarMulByzantium) Run(input []byte) ([]byte, error) {
669
669
}
670
670
671
671
func (c * bn256ScalarMulByzantium ) Name () string {
672
- return "BN256_MUL "
672
+ return "BN254_MUL "
673
673
}
674
674
675
675
var (
@@ -728,7 +728,7 @@ func (c *bn256PairingIstanbul) Run(input []byte) ([]byte, error) {
728
728
}
729
729
730
730
func (c * bn256PairingIstanbul ) Name () string {
731
- return "BN256_PAIRING "
731
+ return "BN254_PAIRING "
732
732
}
733
733
734
734
// bn256PairingByzantium implements a pairing pre-compile for the bn256 curve
@@ -745,7 +745,7 @@ func (c *bn256PairingByzantium) Run(input []byte) ([]byte, error) {
745
745
}
746
746
747
747
func (c * bn256PairingByzantium ) Name () string {
748
- return "BN256_PAIRING "
748
+ return "BN254_PAIRING "
749
749
}
750
750
751
751
type blake2F struct {}
You can’t perform that action at this time.
0 commit comments