UNPKG

@zombienet/orchestrator

Version:

ZombieNet aim to be a testing framework for substrate based blockchains, providing a simple cli tool that allow users to spawn and test ephemeral Substrate based networks

6 lines (5 loc) 460 B
import { ApiPromise } from "@polkadot/api"; export declare function chainUpgradeFromUrl(api: ApiPromise, wasmFileUrl: string): Promise<string>; export declare function chainUpgradeFromLocalFile(api: ApiPromise, filePath: string): Promise<string>; export declare function chainCustomSectionUpgrade(api: ApiPromise): Promise<string>; export declare function validateRuntimeCode(api: ApiPromise, paraId: number, hash: string, timeout?: number): Promise<boolean>;