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

Commit

Permalink
Update WitnessGenerationArtifact definition
Browse files Browse the repository at this point in the history
  • Loading branch information
0xVolosnikov committed Aug 13, 2024
1 parent 7ed6111 commit 07b81bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/witness/oracle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,8 @@ fn process_memory_related_circuits<CB: FnMut(WitnessGenerationArtifact)>(
)
}

pub type MemoryQueueWitness<F: SmallField> =
Vec<(MemoryQueryWitness<F>, [F; FULL_SPONGE_QUEUE_STATE_WIDTH])>;
pub enum WitnessGenerationArtifact {
BaseLayerCircuit(ZkSyncBaseLayerCircuit),
RecursionQueue(
Expand All @@ -1398,8 +1400,8 @@ pub enum WitnessGenerationArtifact {
Vec<ClosedFormInputCompactFormWitness<GoldilocksField>>,
),
),
SortedMemoryQueueWitness(Vec<(MemoryQueryWitness<GoldilocksField>, [GoldilocksField; 12])>),
UnsortedMemoryQueueWitness(Vec<(MemoryQueryWitness<GoldilocksField>, [GoldilocksField; 12])>),
SortedMemoryQueueWitness(MemoryQueueWitness<GoldilocksField>),
UnsortedMemoryQueueWitness(MemoryQueueWitness<GoldilocksField>),
}

/// Make basic circuits instances and witnesses,
Expand Down

0 comments on commit 07b81bd

Please sign in to comment.