Move trie storage logic to accessors_trie.go; separate the operations into old hash based (for backward compatibility) and new path based.
Delete NodeScheme. scheme is no longer an interface, but just a string, which will be checked by the new logic in accessors_trie.go to choose the corresponding operations.
Reference: https://github.com/ethereum/go-ethereum/pull/26603
Changes:
accessors_trie.go
; separate the operations into old hash based (for backward compatibility) and new path based.NodeScheme
.scheme
is no longer an interface, but just a string, which will be checked by the new logic inaccessors_trie.go
to choose the corresponding operations.