Skip to content

Commit 6a2ccd6

Browse files
authored
update sm API to match interface (#4022)
1 parent 846fea7 commit 6a2ccd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/statemanager/src/statefulVerkleStateManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ export class StatefulVerkleStateManager implements StateManagerInterface {
622622
}
623623

624624
// Verifies that the witness post-state matches the computed post-state
625-
async verifyPostState(accessWitness: VerkleAccessWitnessInterface): Promise<boolean> {
625+
async verifyVerklePostState(accessWitness: VerkleAccessWitnessInterface): Promise<boolean> {
626626
// track what all chunks were accessed so as to compare in the end if any chunks were missed
627627
// in access while comparing against the provided poststate in the execution witness
628628
const accessedChunks = new Map<string, boolean>()

packages/statemanager/src/statelessVerkleStateManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ export class StatelessVerkleStateManager implements StateManagerInterface {
499499
}
500500

501501
// Verifies that the witness post-state matches the computed post-state
502-
verifyPostState(accessWitness: VerkleAccessWitnessInterface): Promise<boolean> {
502+
verifyVerklePostState(accessWitness: VerkleAccessWitnessInterface): Promise<boolean> {
503503
// track what all chunks were accessed so as to compare in the end if any chunks were missed
504504
// in access while comparing against the provided poststate in the execution witness
505505
const accessedChunks = new Map<string, boolean>()

0 commit comments

Comments
 (0)