-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: docs #8
Conversation
There was a problem hiding this 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 { |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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>, |
There was a problem hiding this comment.
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>, |
There was a problem hiding this comment.
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
No description provided.