currently each payload build task retrieves the state for the given parent block hash (below).
https://github.com/jacobkaufmann/dark-builder/blob/170b23d9ead00eeaa24113affac0ca681014254a/src/builder.rs#L164
we should cache this state when the job is constructed instead.
state_by_block_hash returns a StateProviderBox which is not the most straightforward to work with.
currently each payload build task retrieves the state for the given parent block hash (below).
https://github.com/jacobkaufmann/dark-builder/blob/170b23d9ead00eeaa24113affac0ca681014254a/src/builder.rs#L164
we should cache this state when the job is constructed instead.
state_by_block_hashreturns aStateProviderBoxwhich is not the most straightforward to work with.