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

chore: make function comments match function names #510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion prover/zkevm/prover/statemanager/mock/shomei.go
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ const (
ignorePosteriorLogAppMode
)

// applySquashedLog applies a "squashed" access Storage log (which are obtained
// applySquashedStorageLog applies a "squashed" access Storage log (which are obtained
// through the [squashLogsForShomei]) function (meaning the function expects
// only logs of type Storage). The function also admit an
// extra parameter `mode` which specifies how the log has to be interpreted.
Expand Down
4 changes: 2 additions & 2 deletions prover/zkevm/zkevm.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ func NewZkEVM(
return res
}

// Prove assigns and runs the inner-prover of the zkEVM and then, it returns the
// ProveInner assigns and runs the inner-prover of the zkEVM and then, it returns the
// inner-proof
func (z *ZkEvm) ProveInner(input *Witness) wizard.Proof {
return wizard.Prove(z.WizardIOP, z.prove(input))
}

// Verify verifies the inner-proof of the zkEVM
// VerifyInner verifies the inner-proof of the zkEVM
func (z *ZkEvm) VerifyInner(proof wizard.Proof) error {
return wizard.Verify(z.WizardIOP, proof)
}
Expand Down