From 36c4ec1b607975d782d1aaedf0ff2bbe7f2b8fc5 Mon Sep 17 00:00:00 2001 From: Conner Gallagher Date: Fri, 1 Jul 2022 15:48:00 -0600 Subject: [PATCH] TS: fixed crank push --- libraries/ts/src/sbv2.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libraries/ts/src/sbv2.ts b/libraries/ts/src/sbv2.ts index 0fcdb8c..3875ba7 100644 --- a/libraries/ts/src/sbv2.ts +++ b/libraries/ts/src/sbv2.ts @@ -2933,6 +2933,8 @@ export class CrankAccount { .crankPush({ stateBump, permissionBump, + nofitiRef: null, + notifiRef: null, }) .accounts({ crank: this.publicKey, @@ -3763,10 +3765,11 @@ export class VrfAccount { for (let i = 0; i < tryCount; ++i) { txs.push({ tx: await this.program.methods - .vrfVerify({ + .vrfProveAndVerify({ nonce: i, stateBump, idx, + proof: Buffer.from(""), }) .accounts({ vrf: this.publicKey,