arda-org / xSuite

🛠️ Init, Build, Test, Deploy MultiversX smart contracts in seconds. The full suite for efficiently developing high-quality contracts.
https://xsuite.dev
MIT License
13 stars 3 forks source link

Devnet: /transaction/send terminates before transaction is completely "integrated" in the blockchain #207

Closed nvergez closed 1 month ago

nvergez commented 1 month ago

The endpoint terminates too early, that means sometimes, the Proxy.awaitTx() receives a "transaction not found". Note: Even if the "transaction not found" error is raised, the transaction still goes through perfectly and finishes successfully.

Reproduction:

import { World } from "xsuite";

const main = async () => {
  const world = World.newDevnet();
  const wallet = world.newWalletFromFile(...);

  await wallet.executeTx({
    receiver: wallet,
    value: 10,
    gasLimit: 50_000,
  });
};

main();