Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / calculateStateRoot

Function: calculateStateRoot()

calculateStateRoot(entries, trie_version): Promise<`0x${string}`>

Parameters

entries: [`0x${string}`, `0x${string}`][]

trie_version: number

Returns

Promise<`0x${string}`>

Defined in

packages/core/src/wasm-executor/index.ts:99