Skip to content

@acala-network/chopsticks-core


@acala-network/chopsticks-core / calculateStateRoot

Function: calculateStateRoot()

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

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

Parameters

entries

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

trie_version

number

Returns

Promise<`0x${string}`>