Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / SetupOptions

Type Alias: SetupOptions

SetupOptions: object

Type declaration

allowUnresolvedImports?

optional allowUnresolvedImports: boolean

block?

optional block: string | number | null

buildBlockMode?

optional buildBlockMode: BuildBlockMode

db?

optional db: Database

endpoint?

optional endpoint: string | string[]

genesis?

optional genesis: GenesisProvider

hooks?

optional hooks: object

hooks.apiFetching()?

optional apiFetching: () => void

Returns

void

maxMemoryBlockCount?

optional maxMemoryBlockCount: number

mockSignatureHost?

optional mockSignatureHost: boolean

offchainWorker?

optional offchainWorker: boolean

processQueuedMessages?

optional processQueuedMessages: boolean

registeredTypes?

optional registeredTypes: RegisteredTypes

runtimeLogLevel?

optional runtimeLogLevel: number

Defined in

packages/core/src/setup.ts:15