-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Compute size of Execution proof without needing to compute the proof #2949
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
Changes from 5 commits
5a19d81
5d27960
727b65f
68defa5
99c00bd
47acade
32f3ea1
3191b05
532cd3d
6841b97
49f0a3a
1ee7a72
d394f44
de62b52
edac4f1
5f966ad
795df43
1988927
d63394f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
vicsn marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -18,7 +18,8 @@ mod serialize; | |||||
mod string; | ||||||
|
||||||
use console::{network::prelude::*, program::Request, types::Field}; | ||||||
use snarkvm_ledger_block::{Transaction, Transition}; | ||||||
use snarkvm_algorithms::snark::varuna::{VarunaVersion, proof_size}; | ||||||
use snarkvm_ledger_block::{Input, Transaction, Transition}; | ||||||
use snarkvm_synthesizer_program::StackTrait; | ||||||
|
||||||
use indexmap::IndexMap; | ||||||
|
@@ -285,6 +286,66 @@ impl<N: Network> PartialEq for Authorization<N> { | |||||
|
||||||
impl<N: Network> Eq for Authorization<N> {} | ||||||
|
||||||
impl<N: Network> Authorization<N> { | ||||||
/// Returns the (exact) predicted size of the Varuna proof of an Authorization | ||||||
|
/// Returns the (exact) predicted size of the Varuna proof of an Authorization | |
/// Returns the size of the Varuna proof of an `Authorization` |
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.
(function gone in later commits)
Outdated
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.
/// Total number of inputs to the passed `Transition`s that are of type | |
/// Returns the total number of inputs to the passed `Transition`s that are of type |
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.
(addressed and also fixed other parts of the same documentation that had become outdated due to the interface change)
Uh oh!
There was an error while loading. Please reload this page.