jacobkaufmann / evangelion

a prototype ethereum block builder
Apache License 2.0
83 stars 10 forks source link

refactor: use EC-recovered tx in builder #21

Closed jacobkaufmann closed 1 year ago

jacobkaufmann commented 1 year ago

use TransactionSignedEcRecovered in the builder so that signer recovery is not necessary internally.

in the future there will be some conversion from some RPC representation of a bundle, and at that point, or some intermediate step before the builder sees it, we should perform the signer recovery for each transaction within the bundle.

jacobkaufmann commented 1 year ago

if we decide against this and continue to do signer recovery within the builder, then it should be done at the top level, so that each build job does not need to repeat the work