Skip to content

Commit

Permalink
fix(voyager): don't send batch transactions in aptos
Browse files Browse the repository at this point in the history
  • Loading branch information
aeryz committed Jan 22, 2025
1 parent 87db335 commit 321e4ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions voyager/plugins/transaction/aptos/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,16 +236,16 @@ impl PluginServer<ModuleCall, ModuleCallback> for Module {
let signed_tx = raw.sign(pk, pk.public_key()).unwrap();

dbg!(&signed_tx);
let res = self
.aptos_client
.submit(&signed_tx.clone().into_inner())
.await
.unwrap();

dbg!(&res);
txs.push(signed_tx.into_inner());
}

dbg!(&txs);

let res = self.aptos_client.submit_batch(&txs).await.unwrap();

dbg!(&res);

// res.into_inner().transaction_failures

Ok(noop())
Expand Down

0 comments on commit 321e4ec

Please sign in to comment.