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 @@ -614,7 +614,7 @@ func (c *bn256AddIstanbul) Run(input []byte) ([]byte, error) {
614
614
}
615
615
616
616
func (c * bn256AddIstanbul ) Name () string {
617
- return "BN256_ADD "
617
+ return "BN254_ADD "
618
618
}
619
619
620
620
// bn256AddByzantium implements a native elliptic curve point addition
@@ -631,7 +631,7 @@ func (c *bn256AddByzantium) Run(input []byte) ([]byte, error) {
631
631
}
632
632
633
633
func (c * bn256AddByzantium ) Name () string {
634
- return "BN256_ADD "
634
+ return "BN254_ADD "
635
635
}
636
636
637
637
// runBn256ScalarMul implements the Bn256ScalarMul precompile, referenced by
@@ -660,7 +660,7 @@ func (c *bn256ScalarMulIstanbul) Run(input []byte) ([]byte, error) {
660
660
}
661
661
662
662
func (c * bn256ScalarMulIstanbul ) Name () string {
663
- return "BN256_MUL "
663
+ return "BN254_MUL "
664
664
}
665
665
666
666
// bn256ScalarMulByzantium implements a native elliptic curve scalar
@@ -677,7 +677,7 @@ func (c *bn256ScalarMulByzantium) Run(input []byte) ([]byte, error) {
677
677
}
678
678
679
679
func (c * bn256ScalarMulByzantium ) Name () string {
680
- return "BN256_MUL "
680
+ return "BN254_MUL "
681
681
}
682
682
683
683
var (
@@ -736,7 +736,7 @@ func (c *bn256PairingIstanbul) Run(input []byte) ([]byte, error) {
736
736
}
737
737
738
738
func (c * bn256PairingIstanbul ) Name () string {
739
- return "BN256_PAIRING "
739
+ return "BN254_PAIRING "
740
740
}
741
741
742
742
// bn256PairingByzantium implements a pairing pre-compile for the bn256 curve
@@ -753,7 +753,7 @@ func (c *bn256PairingByzantium) Run(input []byte) ([]byte, error) {
753
753
}
754
754
755
755
func (c * bn256PairingByzantium ) Name () string {
756
- return "BN256_PAIRING "
756
+ return "BN254_PAIRING "
757
757
}
758
758
759
759
type blake2F struct {}
You can’t perform that action at this time.
0 commit comments