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
Given that storing a block and it's associated storage changes are handled in one BlockImportOperation, we should remove the StoreTrie method entirely from StorageState. Rather BlockState.AddBlock should accept an introduced OverlayedChanges type analogous to the substrate primitive.
Acceptance Criteria
Modify AddBlock method in BlockState interface to accept OverlayedChanges
Implement AddBlock method in translation shim to take OverlayedChanges. Eventually call BlockImport methods from issue Implement BlockImport interface for Client type #4458 to taken in parent block hash, and storage changes from OverlayedChanges to import block.
Unit tests
The text was updated successfully, but these errors were encountered:
Issue Summary
Taken from design doc:
Acceptance Criteria
AddBlock
method inBlockState
interface to acceptOverlayedChanges
AddBlock
method in translation shim to takeOverlayedChanges
. Eventually callBlockImport
methods from issue ImplementBlockImport
interface forClient
type #4458 to taken in parent block hash, and storage changes fromOverlayedChanges
to import block.The text was updated successfully, but these errors were encountered: