setStateRoot
setStateRoot(
baseState): (stateRoot,clearCache?) =>Promise<void>
Changes the currently loaded state root
Parameters
• baseState: BaseState
Returns
Function
Parameters
• stateRoot: Uint8Array
• clearCache?: boolean
Returns
Promise<void>
Source
packages/state/src/actions/setStateRoot.js:23