Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use bls instead of blst to fix opBNB bls cgo issue #74

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

welkin22
Copy link

@welkin22 welkin22 commented Jul 4, 2024

Description

opBNB supported the pre-complied contract of greenfield at bnb-chain/op-geth#7, but the greenfield cometbft code introduced by this PR will prevent the compilation of the MIPS instruction set. It is necessary to solve this problem to support MIPS instruction set compilation in order to support Fault Proof.

Rationale

In fact, using bls instead of blst will give me the opportunity to compile the MIPS instruction set using a pure Go implementation instead of the CGO implementation inside blst. So I replaced the corresponding places with using bls. bls will call the same-named method in blst, so they are equivalent.

Example

none

Changes

Notable changes:

  • Use bls instead of blst
  • ...

@keefel keefel merged commit 7bd569a into bnb-chain:branch-v1.0.0 Jul 4, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants