Skip to content
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

Subspace v1 #1

Closed
wants to merge 29 commits into from
Closed

Subspace v1 #1

wants to merge 29 commits into from

Conversation

nazar-pc
Copy link
Member

Please take a look whether you see any major issues.

CI is happy, will start testing in monorepo now.

@nazar-pc nazar-pc requested a review from rahulksnv March 14, 2023 15:31
@nazar-pc nazar-pc marked this pull request as draft March 14, 2023 15:35
@nazar-pc
Copy link
Member Author

This PR is not meant to be merged, this is just for review purposes

@nazar-pc nazar-pc requested a review from dariolina March 14, 2023 16:10
fn basic() {
let table = Table::generate(&SEED);

assert!(table.find_quality(0).is_none());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A minor question: does quality/proof never exist for challenge_index = 0, or is it a coincidence? I'd add a note to the spec to have start_index and s-bucket numeration start at 1 or be one-off

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have not tried other seeds, why does it matter?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pedantry, mostly. If the table never has an entry at 0, it makes no sense to query for 0 for every record. According to design doc it should exist. This is not a concern for this PR just some minor thing to check.

@dariolina
Copy link
Member

Looks good to me functionality-wise

@nazar-pc nazar-pc force-pushed the subspace-v1 branch 2 times, most recently from a8ac93f to cf37dca Compare April 13, 2023 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants