Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Polynomial Commitment -- arkworks-rs
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
STEVAN Antoine
Polynomial Commitment -- arkworks-rs
Commits
19fc0d4a
Commit
19fc0d4a
authored
2 years ago
by
STEVAN Antoine
Browse files
Options
Downloads
Patches
Plain Diff
CI: add same jobs as in original GitHub fork
parent
5d91c12b
No related branches found
No related tags found
1 merge request
!1
CI: add same jobs as in original GitHub fork
Pipeline
#2603
passed with stage
Stage:
in 7 minutes and 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+36
-0
36 additions, 0 deletions
.gitlab-ci.yml
src/kzg10/mod.rs
+5
-4
5 additions, 4 deletions
src/kzg10/mod.rs
with
41 additions
and
4 deletions
.gitlab-ci.yml
0 → 100644
+
36
−
0
View file @
19fc0d4a
image
:
"
rust:latest"
workflow
:
rules
:
-
if
:
$CI_COMMIT_MESSAGE =~ /^(draft|no-ci):/
when
:
never
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when
:
never
-
if
:
($CI_PIPELINE_SOURCE == "push") && ($CI_COMMIT_BRANCH == "master")
format
:
script
:
-
rustup component add rustfmt
-
cargo fmt --all --check
test_stable
:
script
:
-
cargo check --examples --all
-
cargo check --examples --all-features --all
-
cargo test --release
test_nightly
:
script
:
-
rustup install nightly
-
cargo +nightly check --examples --all
-
cargo +nightly check --all-features --examples --all --benches
-
cargo +nightly test --release
check_no_std
:
script
:
-
cargo check --examples --no-default-features --target aarch64-unknown-none
# build_no_std:
# script:
# - cargo build --no-default-features --target aarch64-unknown-none
This diff is collapsed.
Click to expand it.
src/kzg10/mod.rs
+
5
−
4
View file @
19fc0d4a
...
...
@@ -260,6 +260,7 @@ where
Ok
((
witness_polynomial
,
random_witness_polynomial
))
}
/// TODO: missing documentation
pub
fn
open_with_witness_polynomial
<
'a
>
(
powers
:
&
Powers
<
E
>
,
point
:
P
::
Point
,
...
...
@@ -410,6 +411,7 @@ where
Ok
(
result
)
}
/// TODO: missing documentation
pub
fn
check_degree_is_too_large
(
degree
:
usize
,
num_powers
:
usize
)
->
Result
<
(),
Error
>
{
let
num_coefficients
=
degree
+
1
;
if
num_coefficients
>
num_powers
{
...
...
@@ -422,10 +424,8 @@ where
}
}
pub
fn
check_hiding_bound
(
hiding_poly_degree
:
usize
,
num_powers
:
usize
,
)
->
Result
<
(),
Error
>
{
/// TODO: missing documentation
pub
fn
check_hiding_bound
(
hiding_poly_degree
:
usize
,
num_powers
:
usize
)
->
Result
<
(),
Error
>
{
if
hiding_poly_degree
==
0
{
Err
(
Error
::
HidingBoundIsZero
)
}
else
if
hiding_poly_degree
>=
num_powers
{
...
...
@@ -441,6 +441,7 @@ where
}
}
/// TODO: missing documentation
pub
fn
check_degrees_and_bounds
<
'a
>
(
supported_degree
:
usize
,
max_degree
:
usize
,
...
...
This diff is collapsed.
Click to expand it.
STEVAN Antoine
@a.stevan
mentioned in commit
dragoon/komodo@1d527542
·
8 months ago
mentioned in commit
dragoon/komodo@1d527542
mentioned in commit dragoon/komodo@1d5275423bd1e66f190d7c90670a42f4ecf3fde3
Toggle commit list
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment