What does 'conflictType: 5' mean in Flashbots getConflictingBundle?

Open
#105 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
api, blockchain

Research direction

Start by tracing the getConflictingBundle entry point and the FlashbotsBundleConflictType enum, then compare their behavior with the flashbots_getBundleStatsV2 response. Document what each conflict type and an empty conflictingBundle represent, and clarify how simulation, builder consideration, and sealing relate to inclusion in a target block.

Written by the indexing model from the issue text.

Description

Hi,

Hi, I'm stuck trying to figure out what the conflict is with my bundle, im using:
getConflictingBundle

And I get this answer:
{ initialSimulation: { bundleGasPrice: '41031065837', bundleHash: '0xf25eaeb1a54b96cc6214a83f4e828209068ae0f83a99ffa33d7ed59c2dca24f7', coinbaseDiff: '16674245565912306', ethSentToCoinbase: '0', gasFees: '16674245565912306', results: [ [Object], [Object], [Object] ], stateBlockNumber: 17365166, totalGasUsed: 406381, firstRevert: undefined }, conflictType: 5, conflictingBundle: [], targetBundleGasPricing: { gasUsed: 406381, gasFeesPaidBySearcher: '38374796447176465', priorityFeesReceivedByMiner: '16674245565912306', ethSentToCoinbase: '0', txCount: 3, effectiveGasPriceToSearcher: '94430587176', effectivePriorityFeeToMiner: '41031065837' }, conflictingBundleGasPricing: undefined }

Buy im not sure what is conflictType: 5.

Base on what i read in this function:

export enum FlashbotsBundleConflictType { NoConflict, NonceCollision, Error, CoinbasePayment, GasUsed, NoBundlesInBlock }

Update:
Based on what I understand, there are no other bundles in conflict, that's correct?

Also, i try the flashbots_getBundleStatsV2:
{ isSimulated: true, isHighPriority: true, simulatedAt: '2023-05-29T15:08:06.998Z', receivedAt: '2023-05-29T15:08:06.995Z', consideredByBuildersAt: [ { pubkey: '0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f', timestamp: '2023-05-29T15:08:07.003Z' }, .... ], sealedByBuildersAt: [ { pubkey: '0x81beef03aafd3dd33ffd7deb337407142c80fea2690e5b3190cfc01bde5753f28982a7857c96172a75a234cb7bcb994f', timestamp: '2023-05-29T15:08:07.103Z' }, ..... ],

So, if the bundle has no conflicts, and was simulated and submitted within those times, I don't understand why it has not been included in the target block
This happens to me with all the bundles I send to flashbots.

Any help would be appreciated.

Dominant language
TypeScript
Stars
566
Forks
212
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flashbots/ethers-provider-flashbots-bundle

All issues in flashbots/ethers-provider-flashbots-bundle

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.