Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to decode bundle #119

Open
aress31 opened this issue Dec 19, 2022 · 1 comment
Open

Unable to decode bundle #119

aress31 opened this issue Dec 19, 2022 · 1 comment

Comments

@aress31
Copy link

aress31 commented Dec 19, 2022

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?

@bhakiyakalimuthu
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants