You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currentlty in our implementation of Block, where we don't know the actual trie root, we are ruturning some random value or 0x. This is not correct as some tools might need this information or at least require this to be in the correct format.
Solution
We can easly implement ethereum tree library, like this https://www.npmjs.com/package/@ethereumjs/trie. Using it we can define new empty trie and either populate or return actual emtpy root.
The text was updated successfully, but these errors were encountered:
Problem
Currentlty in our implementation of Block, where we don't know the actual trie root, we are ruturning some random value or 0x. This is not correct as some tools might need this information or at least require this to be in the correct format.
Solution
We can easly implement ethereum tree library, like this https://www.npmjs.com/package/@ethereumjs/trie. Using it we can define new empty trie and either populate or return actual emtpy root.
The text was updated successfully, but these errors were encountered: