Skip to content

Trie values returning null after reboot? #2056

Answered by acolytec3
faustbrian asked this question in Q&A

You must be logged in to vote

From looking at the base trie class constructor, you need to pass in a root hash or it defaults to KECCAK256_RLP. There's no logic in the trie class for finding the previously set root in the DB at present.

Replies: 1 comment 5 replies

You must be logged in to vote
5 replies
@faustbrian

@g11tech

g11tech Jul 20, 2022
Collaborator

@faustbrian

@acolytec3

@faustbrian

Answer selected by faustbrian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants