Skip to content

Commit

Permalink
replace Vec<Vec<u8>>
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Schneider committed Mar 18, 2023
1 parent 4389714 commit 4d3b13c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions primitives/io/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1158,12 +1158,12 @@ pub trait EllipticCurves {
}

/// Compute a msm on G1 for bls12_377
fn bls12_377_msm_g1(bases: Vec<Vec<u8>>, scalars: Vec<Vec<u8>>) -> Vec<u8> {
fn bls12_377_msm_g1(bases: Vec<u8>, scalars: Vec<u8>) -> Vec<u8> {
sp_arkworks::bls12_377::msm_g1(bases, scalars)
}

/// Compute a msm on G2 for bls12_377
fn bls12_377_msm_g2(bases: Vec<Vec<u8>>, scalars: Vec<Vec<u8>>) -> Vec<u8> {
fn bls12_377_msm_g2(bases: Vec<u8>, scalars: Vec<u8>) -> Vec<u8> {
sp_arkworks::bls12_377::msm_g2(bases, scalars)
}

Expand Down

0 comments on commit 4d3b13c

Please sign in to comment.