Skip to content

Commit

Permalink
fix(sui): fix sui gateway proof submission (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
milapsheth authored Aug 29, 2024
1 parent 572ff80 commit 31ed935
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sui/gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 31ed935

Please sign in to comment.