From 31ed9354d5ccd2a8df6c291e34f03df2ae037226 Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Wed, 28 Aug 2024 22:17:57 -0400 Subject: [PATCH] fix(sui): fix sui gateway proof submission (#355) --- sui/gateway.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sui/gateway.js b/sui/gateway.js index 7425b786..dd1d6a07 100644 --- a/sui/gateway.js +++ b/sui/gateway.js @@ -224,10 +224,6 @@ async function submitProof(keypair, client, config, chain, contractConfig, args, const executeData = executeDataStruct.parse(arrayify('0x' + status.completed.execute_data)); - if (!payload.verifier_set) { - throw new Error('No signers to rotate'); - } - const tx = new Transaction(); if (payload.verifier_set) { @@ -259,7 +255,7 @@ async function submitProof(keypair, client, config, chain, contractConfig, args, const receipt = await broadcast(client, keypair, tx); - printInfo('Signers rotated', receipt.digest); + printInfo('Submitted Amplifier proof', receipt.digest); } async function rotate(keypair, client, config, chain, contractConfig, args, options) {