pm icon indicating copy to clipboard operation
pm copied to clipboard

Unable to decode bundle

Open aress31 opened this issue 2 years ago • 1 comments

Hey,

When simulating a bundle, everything works just fine, however, when submitting it using:

    const bundleReceipt = await flashbotsProvider.sendRawBundle(
      signedBundle,
      targetBlockNumber
    );

Then I get the following error message:

{ error: { message: 'unable to decode bundle', code: -32000 } }

I instantiate my flashbotsProvider as follows:

    const flashbotsProvider = await FlashbotsBundleProvider.create(
      await alchemy.config.getProvider(),
      new Wallet(process.env.SIGNER_PRIVATE_KEY, alchemy)
    );

Any thoughts?

aress31 avatar Dec 19 '22 23:12 aress31

Hey apologies for the late reply. Are you still getting this issue.If so please dm in Discord @Euler6.

bhakiyakalimuthu avatar Feb 14 '23 13:02 bhakiyakalimuthu