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

feat: docs #8

Merged
merged 7 commits into from
Feb 14, 2024
Merged

feat: docs #8

merged 7 commits into from
Feb 14, 2024

Conversation

rpalakkal
Copy link
Contributor

No description provided.

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

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

OK to merge after addressing comments on missing docs.

AxiomCompute missing doc

Each module in sdk should have a comment.

Make sure from docs it's easy to tell from top level what the main trait to implement is.

}

/// A trait for specifying an Axiom Compute function
pub trait AxiomComputeFn: AxiomComputeInput {
Copy link
Contributor

Choose a reason for hiding this comment

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

add comment that FirstPhasePayload is only for compute_phase1 is optional

sdk/src/api.rs Outdated
@@ -24,6 +24,7 @@ use crate::{
Fr,
};

/// Axiom Circuit API
Copy link
Contributor

Choose a reason for hiding this comment

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

a bit more commentary that this is the api for both Axiom calls and zk primitives

@@ -24,6 +24,7 @@ use crate::{
Fr,
};

/// Axiom Circuit API
pub struct AxiomAPI<'a> {
pub builder: &'a mut RlcCircuitBuilder<Fr>,
Copy link
Contributor

Choose a reason for hiding this comment

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

add basic comment this is an axiom-eth / halo2-lib struct

@@ -24,6 +24,7 @@ use crate::{
Fr,
};

/// Axiom Circuit API
pub struct AxiomAPI<'a> {
pub builder: &'a mut RlcCircuitBuilder<Fr>,
pub range: &'a RangeChip<Fr>,
Copy link
Contributor

Choose a reason for hiding this comment

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

comment this is main chip for zk primitives

@rpalakkal rpalakkal merged commit 335c559 into main Feb 14, 2024
1 check passed
@rpalakkal rpalakkal deleted the feat/docs branch February 14, 2024 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants