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

Support new circuit #47

Merged
merged 10 commits into from
Jan 5, 2024
Merged

Support new circuit #47

merged 10 commits into from
Jan 5, 2024

Conversation

qzhodl
Copy link
Contributor

@qzhodl qzhodl commented Dec 21, 2023

contracts/EthStorageContract.sol Outdated Show resolved Hide resolved
contracts/EthStorageContract.sol Outdated Show resolved Hide resolved
contracts/StorageContract.sol Outdated Show resolved Hide resolved
@qzhodl qzhodl requested a review from syntrust December 22, 2023 08:14
@qzhodl qzhodl changed the title (DRAFT) Support new circuit Support new circuit Jan 3, 2024
@qzhodl qzhodl requested a review from qizhou January 3, 2024 11:06
Copy link
Contributor

@qizhou qizhou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

hash0 = keccak256(abi.encode(hash0, encodedSamples[i]));
}

require(decodeSample(masks, decodeProof[0]), "decode failed");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is wrong somewhere

  • miner is not used in the decoding and proving (as part of the encodingKey).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants