File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/protocol/src/prover/statetransition Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,10 @@ export class StateTransitionProverProgrammable extends ZkProgrammable<
185
185
state : StateTransitionProverExecutionState ,
186
186
transition : ProvableStateTransition ,
187
187
type : ProvableStateTransitionType ,
188
- witness : RollupMerkleTreeWitness ,
188
+ merkleWitness : RollupMerkleTreeWitness ,
189
189
index = 0
190
190
) {
191
- const membershipValid = witness . checkMembership (
191
+ const membershipValid = merkleWitness . checkMembership (
192
192
state . stateRoot ,
193
193
transition . path ,
194
194
transition . from . value
@@ -203,7 +203,7 @@ export class StateTransitionProverProgrammable extends ZkProgrammable<
203
203
)
204
204
) ;
205
205
206
- const newRoot = witness . calculateRoot ( transition . to . value ) ;
206
+ const newRoot = merkleWitness . calculateRoot ( transition . to . value ) ;
207
207
208
208
state . stateRoot = Provable . if (
209
209
transition . to . isSome ,
You can’t perform that action at this time.
0 commit comments