flashbots / flashbots/pm

Unable to decode bundle

Open
#119 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
2.6k
Forks
291
PR merge metrics
No merged PRs in 30d

Description

Hey,

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

```js
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:

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

Any thoughts?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.