Skip to content

Unable to decode bundle #119

@aress31

Description

@aress31

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions