arkworks-rs / arkworks-rs/poly-commit

Commitment and Commitment State for Linear Code PCS are private

Open
#168 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
440
Forks
160
PR merge metrics
No merged PRs in 30d

Description

## Summary of Bug

The data structures of poly-commit/src/linear_codes have restricted visibility. Specifically, the LinCodePCCommitment and LinCodePCCommitmentState data structures required to store the commitments are currently private.

## Version

0.5.0

## Steps to Reproduce

https://github.com/arkworks-rs/poly-commit/blob/a05ec99d0d3e46c8ba0d6d3592980777bc2847e8/poly-commit/src/linear_codes/mod.rs#L37C9-L37C24

We could just change it to
```
pub use data_structures::*;
```

if not to
```
pub use data_structures::{
BrakedownPCParams, LigeroPCParams,
LinCodePCProof, LinCodePCCommitment,
LinCodePCCommitmentState
};
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.