File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,9 @@ describe('generate an execution witness', () => {
180
180
)
181
181
const stem = bytesToHex ( getVerkleStem ( verkle , createAddressFromString ( tx . sender ) ) )
182
182
assert . ok ( executionWitness . stateDiff . findIndex ( ( diff ) => diff . stem === stem ) !== - 1 )
183
- const diff =
183
+ const stemDiff =
184
184
executionWitness . stateDiff [ executionWitness . stateDiff . findIndex ( ( diff ) => diff . stem === stem ) ]
185
- const suffixDiff = diff . suffixDiffs . find ( ( suffDiff ) => suffDiff . suffix === 0 )
185
+ const suffixDiff = stemDiff . suffixDiffs . find ( ( diff ) => diff . suffix === 0 )
186
186
assert . ok ( suffixDiff ?. newValue !== undefined )
187
187
// Ensure sender account nonce is 1 in execution witness
188
188
assert . equal ( decodeVerkleLeafBasicData ( hexToBytes ( suffixDiff ! . newValue ! ) ) . nonce , 1n )
You can’t perform that action at this time.
0 commit comments