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
At the moment, we do not provide this method, and provide only HasEmptyStotage method that returns bool flag saying if the storage is empty or not.
GetStorageHash returns real Hash of the storge root.
Originally we thought that it is performance prohibitive to allow for computing the storage hash at any time. But Ethereum assures this value only for sealed blocks, and for intermediate results it uses statedb temporal values. We do it with the HasEmptyStorage the same anyway, i.e. it would have been no harm to return the hash and implement original GetStorageHash.
The text was updated successfully, but these errors were encountered:
At the moment, we do not provide this method, and provide only
HasEmptyStotage
method that returnsbool
flag saying if the storage is empty or not.GetStorageHash
returns realHash
of the storge root.Originally we thought that it is performance prohibitive to allow for computing the storage hash at any time. But Ethereum assures this value only for sealed blocks, and for intermediate results it uses
statedb
temporal values. We do it with theHasEmptyStorage
the same anyway, i.e. it would have been no harm to return the hash and implement originalGetStorageHash
.The text was updated successfully, but these errors were encountered: