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
GetStorageXXX methods are easily accessible by translating and implementing the StorageProvider trait for Client.
GetStateRootFromBlock can be retrieved from already introduced HeaderBackend interface which db.Backend implements. Same for StorageRoot.
Entries should be refactored to utilize an iterator where Entries is called. I propose refactoring this method to return a PairsIter which iterates through the keys and values.
LoadCode and LoadCodeHash should be trivially implemented by accessing the state trie for a given hash and retrieving the entry with key ":code".
Acceptance Criteria
Implement GetXXX methods
Implement StorageRoot method
Revise Entries function call to return iterator.
Update all references to Entries to use iterator.
Implement LoadCode and LoadCodeHash.
Unit tests.
The text was updated successfully, but these errors were encountered:
Issue Summary
From design doc:
Acceptance Criteria
GetXXX
methodsStorageRoot
methodEntries
function call to return iterator.Entries
to use iterator.LoadCode
andLoadCodeHash
.The text was updated successfully, but these errors were encountered: