sending raw bundle to MEX-Relay is not working,bundle are not including in blocks
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- backend-api-design, blockchain
Research direction
Start by reproducing the transaction-signing and sendRawBundle loop described in the issue, checking the target blocks and timestamp bounds used for each submission. Done means the reason the bundle is not included in blocks is identified and the issue has a reproducible correction or clarified usage guidance.
Written by the indexing model from the issue text.
Description
I have created a smart contract to pay a miner tip via a smart contract call to block.coinbase.transfer()
I have followed all required steps to send the bundle to MEV-Relay but still, it is not working.
I am following the below approach to make the transaction
populate contract transaction which contain block.coinbase.transfer().
sign the bundle transaction using populated
const signedBundle = await flashbotsProvider.sign bundle([
{
signer: wallet, // ethers signer
transaction: transaction // ethers populated transaction object
}
]);
send the raw bundle in a loop
for (var i = 1; i <= 10; i++) {
// const minTimestamp = (await provider.getBlock(blockNumber + i)).timestamp
const maxTimestamp = minTimestamp + 120
const bundleReceipt = await flashbotsProvider.sendRawBundle(
signedBundle, // bundle we signed above
blockNumber + i, // block number at which this bundle is valid
{
minTimestamp, // optional minimum timestamp at which this bundle is valid (inclusive)
maxTimestamp, // optional maximum timestamp at which this bundle is valid (inclusive)
}
);
- Dominant language
- TypeScript
- Stars
- 567
- Forks
- 211
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from flashbots/ethers-provider-flashbots-bundle
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flashbots/ethers-provider-flashbots-bundle#131 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
flashbots/ethers-provider-flashbots-bundle#128 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
flashbots/ethers-provider-flashbots-bundle#127 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
flashbots/ethers-provider-flashbots-bundle#124 · 1 comment ·
All issues in flashbots/ethers-provider-flashbots-bundle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
platformatic/mcp#208 ·
Maintainers usually reply within 1 day
-
🐛 bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
margelo/react-native-vision-camera#4211 ·
Maintainers usually reply within 4 days