Skip to content

Trie values returning null after reboot? #2056

Answered by acolytec3
faustbrian asked this question in Q&A
Discussion options

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

Comment options

You must be logged in to vote
5 replies
@faustbrian
Comment options

@g11tech
Comment options

@faustbrian
Comment options

@acolytec3
Comment options

@faustbrian
Comment options

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