-
Notifications
You must be signed in to change notification settings - Fork 50
Optimize bls precompile by arkworks lib #993
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
Merged
Merged
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
b4fa892
Optimize bls precompile by arkworks lib
hujw77 6c222be
Pin bls-test precompose at `address(2017)`
hujw77 58bfdbc
Fmt
hujw77 039df8f
Update deps
hujw77 fb74aa4
Add openssl deps in nix
hujw77 807a0e6
Remove empty line
aurexav 979cfd3
Format and fix compile
aurexav 0667a74
Merge remote-tracking branch 'origin/main' into echo/bls-opt-ark
aurexav 2f26478
Fix
aurexav 578e325
Resolve conv
hujw77 ea00020
Fix conflicts
hujw77 6a1a534
Fix
hujw77 535e8f8
Use rustup on nixos
hujw77 ef27080
Fix
hujw77 5ef2033
Merge branch 'main' into echo/bls-opt-ark
boundless-forest 064f68a
Disable in the crab and darwinia network
boundless-forest 9a492be
Add `shell.nix` to .gitigore
hujw77 c0e8a91
Merge branch 'echo/bls-opt-ark' of https://github.com/darwinia-networ…
hujw77 4b53b72
Format
aurexav f4584e7
Format
aurexav 8ea7454
Merge branch 'main' into echo/bls-opt-ark
aurexav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| [package] | ||
| authors.workspace = true | ||
| description = "Arkworks BLS12-381 based precompile for EVM pallet." | ||
| edition.workspace = true | ||
| name = "darwinia-precompile-ark-bls12-381" | ||
| readme = "README.md" | ||
| version.workspace = true | ||
|
|
||
| [dependencies] | ||
| # crates.io | ||
| ark-bls12-381 = { version = "0.4.0", default-features = false, features = ["curve"] } | ||
| ark-ec = { version = "0.4.1", default-features = false } | ||
| ark-ff = { version = "0.4.1", default-features = false } | ||
| ark-serialize = { version = "0.4.1", default-features = false, features = ["derive"] } | ||
| ark-std = { version = "0.4.0", default-features = false } | ||
| sha2 = { version = "0.10.6", default-features = false } | ||
|
|
||
| # frontier | ||
| fp-evm = { workspace = true } | ||
| pallet-evm = { workspace = true } | ||
|
|
||
| # moonbeam | ||
| precompile-utils = { workspace = true } | ||
|
|
||
| # substrate | ||
| sp-std = { workspace = true } | ||
|
|
||
| [dev-dependencies] | ||
| rand = { version = "0.8.5" } | ||
|
|
||
| [features] | ||
| default = ["std"] | ||
| std = [ | ||
| # crates.io | ||
| "sha2/std", | ||
|
|
||
| # arkworks | ||
| "ark-bls12-381/std", | ||
| "ark-serialize/std", | ||
| "ark-std/std", | ||
| "ark-ec/std", | ||
| "ark-ff/std", | ||
|
|
||
| # frontier | ||
| "pallet-evm/std", | ||
| "fp-evm/std", | ||
|
|
||
| # moonbeam | ||
| "precompile-utils/std", | ||
|
|
||
| # substrate | ||
| "sp-std/std", | ||
| ] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.