Skip to content

Commit 38dadf6

Browse files
committed
feat(Add.ts): add new method updateAddProgram to update the Add program with a proof argument
1 parent 8df361c commit 38dadf6

File tree

1 file changed

+2
-0
lines changed
  • templates/project-ts/src

1 file changed

+2
-0
lines changed

templates/project-ts/src/Add.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ export class Add extends SmartContract {
2323
const newState = currentState.add(2);
2424
this.num.set(newState);
2525
}
26+
27+
@method async updateAddProgram(proof: AddProgramProof) {}
2628
}

0 commit comments

Comments
 (0)