-
Notifications
You must be signed in to change notification settings - Fork 699
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
Arkworks Elliptic Curve utils overhaul #1870
Conversation
LGTM |
g1: Vec<u8>, | ||
g2: Vec<u8>, | ||
) -> Result<Vec<u8>, ()> { | ||
pub fn multi_miller_loop<Curve: Pairing>(g1: Vec<u8>, g2: Vec<u8>) -> Result<Vec<u8>, ()> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All these functions could have stayed pub(crate)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As they don't have any usage outside of this crate, I'd answer yes.
I removed pub(crate)
because the utils
module itself is not public.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah fine.
* master: (54 commits) Publish `xcm-emulator` crate (#1881) Adding migrations to clean Rococo Gov 1 storage & reserved funds (#1849) Arkworks Elliptic Curve utils overhaul (#1870) Fix typos (#1878) fix: GoAhead signal only set when runtime upgrade is enacted from parachain side (#1176) Refactor staking ledger (#1484) Paired-key Crypto Scheme (#1705) Include polkadot version in artifact path (#1828) add link to rfc-0001 in broker README (#1862) Discard `Executor` (#1855) Macros to use path instead of ident (#1474) Remove clippy clone-double-ref lint noise (#1860) Refactor alliance benchmarks to v2 (#1868) Check executor params coherence (#1774) frame: use derive-impl for beefy and mmr pallets (#1867) sc-consensus-beefy: improve gossip logic (#1852) Adds instance support for composite enums (#1857) Fix links to implementers' guide (#1865) Disabled validators runtime API (#1257) Adding `try_state` hook for `Treasury` pallet (#1820) ...
…ribution * tsv-disabling-backing: (54 commits) Publish `xcm-emulator` crate (#1881) Adding migrations to clean Rococo Gov 1 storage & reserved funds (#1849) Arkworks Elliptic Curve utils overhaul (#1870) Fix typos (#1878) fix: GoAhead signal only set when runtime upgrade is enacted from parachain side (#1176) Refactor staking ledger (#1484) Paired-key Crypto Scheme (#1705) Include polkadot version in artifact path (#1828) add link to rfc-0001 in broker README (#1862) Discard `Executor` (#1855) Macros to use path instead of ident (#1474) Remove clippy clone-double-ref lint noise (#1860) Refactor alliance benchmarks to v2 (#1868) Check executor params coherence (#1774) frame: use derive-impl for beefy and mmr pallets (#1867) sc-consensus-beefy: improve gossip logic (#1852) Adds instance support for composite enums (#1857) Fix links to implementers' guide (#1865) Disabled validators runtime API (#1257) Adding `try_state` hook for `Treasury` pallet (#1820) ...
- Removal of Arkworks unit tests. These tests were just testing the arkworks upstream implementation which should be assumed correct. This is not the place to test well known dependencies. - Removal of some over-engineering. We just store the calls to Arkworks in one file. Per-curve sources are not required. - Docs formatting --- I also took the opportunity to bump the `bandersnatch-vrfs` crate revision internally providing some new shiny stuff.
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
* more tests for message pallet weights * move tests to ensure_weights_are_correct * removed extra tests
I also took the opportunity to bump the
bandersnatch-vrfs
crate revision internally providing some new shiny stuff.