onflow / flow-go

A fast, secure, and developer-friendly blockchain built to support the next generation of games, apps, and the digital assets that power them.
GNU Affero General Public License v3.0
532 stars 176 forks source link

Support bn254 #4006

Closed 4ever9 closed 3 weeks ago

4ever9 commented 1 year ago

Regarding this PR(https://github.com/onflow/flow-go/pull/3795), we may need to open an issue here for further discussion

4ever9 commented 1 year ago

@tarakby Thanks for your reply.

  1. bn254, bn256, and alt_bn128 are actually the same thing. To avoid misunderstandings, we will unify them as bn254.
  2. Our team is aware of the security issues related to bn254, but for the sake of ecosystem compatibility, we believe it is necessary to continue using it. As bls12-381 has not yet been widely adopted, many other ecosystem projects, including many Ethereum-based zk projects, still rely on bn254. Even when bls12-381 is introduced by Ethereum, it will take a significant amount of time for the broader EVM ecosystem to fully support it. Therefore, when we integrate with these ecosystems, we need to support bn254. In summary, bn254 is still widely used in many ecosystems, and we need to adapt and support it. However, as the ecosystem develops, we will upgrade to the more secure bls12-381.
github-actions[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.