Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Make it work as channel.read() #725

Open
recmo opened this issue Aug 18, 2020 · 0 comments
Open

Make it work as channel.read() #725

recmo opened this issue Aug 18, 2020 · 0 comments
Assignees
Labels
refactor Improves the code quality tracker Issues generated from source comments

Comments

@recmo
Copy link
Contributor

recmo commented Aug 18, 2020

On 2020-04-29 @pvienhage wrote in 7850bac “Smart contrat Recurance proof system impl (#677)”:

Make it work as channel.read()

    let mut channel = VerifierChannel::new(proof.to_vec());
    // TODO - Add method to seralize public input
    channel.initialize(constraints.channel_seed());

    // Get the low degree root commitment, and constraint root commitment
    // TODO: Make it work as channel.read()
    let low_degree_extension_root: Hash = channel.replay();
    result_string.push_str(&format!(
        "\"trace_commitment\": {}, \n",
        low_degree_extension_root.sol_encode()
    ));

From crypto/stark/src/solidity_seralizer.rs:75

@recmo recmo added refactor Improves the code quality tracker Issues generated from source comments labels Aug 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
refactor Improves the code quality tracker Issues generated from source comments
Projects
None yet
Development

No branches or pull requests

2 participants