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

Make it work as channel.read() #725

@recmo

Description

@recmo

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

Metadata

Metadata

Assignees

Labels

refactorImproves the code qualitytrackerIssues generated from source comments

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions