the current BlockchainProvider type is tied to the blockchaintree implementation.
this will change with the new inmemory state:
|
// TODO: replace chain_info with CanonicalInMemoryState. |
|
//canonical_in_memory_state: CanonicalInMemoryState, |
instead of modifying the existing one, we should roll a new type that will eventually replace BlockchainProvider once we do the transition.
#9606 allows us to do this without much hassle
TODO
first:
- duplicate
|
// TODO: replace chain_info with CanonicalInMemoryState. |
|
//canonical_in_memory_state: CanonicalInMemoryState, |
maybe we name it BlockchainProvider2 for now
- integrate InMemoryState, remove dyn tree
- update trait implementations
followup:
- update ethlauncher:
|
Provider = BlockchainProvider<<T as FullNodeTypes>::DB>, |
the current BlockchainProvider type is tied to the blockchaintree implementation.
this will change with the new inmemory state:
reth/crates/storage/provider/src/providers/mod.rs
Lines 77 to 78 in 42182f5
instead of modifying the existing one, we should roll a new type that will eventually replace
BlockchainProvideronce we do the transition.#9606 allows us to do this without much hassle
TODO
first:
reth/crates/storage/provider/src/providers/mod.rs
Lines 77 to 78 in 42182f5
BlockchainProvider2for nowfollowup:
reth/crates/ethereum/node/src/launch.rs
Line 53 in 42182f5