From eccfbd78928083476ece82beb2010858197b8dd2 Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Thu, 29 Aug 2024 05:50:42 +0400 Subject: [PATCH] fix(sui): fix sui gateway broadcast --- 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) {