flashbots / mev-geth

Go implementation of MEV-Auction for Ethereum
GNU Lesser General Public License v3.0
784 stars 197 forks source link

CallBundle question, why do we need *core.BlockChain #133

Open slawomir-pryczek opened 2 years ago

slawomir-pryczek commented 2 years ago

Hello, wanted to ask about CallBundle. Why does it need *core.BlockChain when normal call to "DoCall()" function does not. Seems it operates on state, so we could just call DoCall() twice without resetting state in between? What i'm missing.

Can it be skipped or replaced with null?