Skip to content

Add new BlockchainProvider type #9607

@mattsse

Description

@mattsse

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:

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions