flashbots / ethers-provider-flashbots-bundle

Flashbots provider for ethers.js
543 stars 212 forks source link

getConflictingBundle will fail if the block has a legacy tx bundle #92

Open prabhatverma286 opened 1 year ago

prabhatverma286 commented 1 year ago

The serialize method, used in getConfictingBundle here: https://github.com/flashbots/ethers-provider-flashbots-bundle/blob/master/src/index.ts#L835 fails for legacy tx with an error Error: invalid object key - from.

I am using ethers version 5.7.2. I believe this is also the cause for https://github.com/flashbots/ethers-provider-flashbots-bundle/issues/85

fran6brg commented 1 year ago

Hi @prabhatverma286 did you find a workaround ?