Skip to content

Commit

Permalink
align transcript with 32byte word size
Browse files Browse the repository at this point in the history
  • Loading branch information
alxiong committed Aug 7, 2024
1 parent a2bd44a commit 4b53961
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plonk/src/transcript/solidity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ impl<F: PrimeField> PlonkTranscript<F> for SolidityTranscript {
b"input size",
vk.num_inputs.to_be_bytes().as_ref(),
)?;
<Self as PlonkTranscript<F>>::append_message(
self,
b"EVM word alignment padding",
&[0u8; 12],
)?;

// include [x]_2 G2 point from SRS
// all G1 points from SRS are implicit reflected in committed polys
Expand Down

0 comments on commit 4b53961

Please sign in to comment.