Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / setStorage

Function: setStorage()

setStorage(chain, storage, blockHash?): Promise<`0x${string}`>

Parameters

chain: Blockchain

storage: StorageValues

blockHash?: `0x${string}`

Returns

Promise<`0x${string}`>

Defined in

packages/core/src/utils/set-storage.ts:67