jacobkaufmann / evangelion

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

refactor: decompose payload build function #28

Closed jacobkaufmann closed 1 year ago

jacobkaufmann commented 1 year ago

refactor associated function Job::build into the following module-level functions:

add build_on_state so that the building logic does not require a StateProviderFactory. this should make it easier to isolate and test the building logic on a given state, moving in the direction of #13.