Files
pezkuwi-sdk/bizinikiwi/pezframe/staking-async/runtimes/papi-tests/tests/signed-dcl.test.ts
T
pezkuwichain 954e2703e2 rebrand: kusama → dicle
- Replace all kusama/Kusama references with dicle/Dicle
- Rename weight files from ksm_size to dcl_size
- Update papi-tests files from ksm to dcl
- Remove chain-specs/kusama.json files
- cargo check --workspace successful (Finished output)
- Update MAINNET_ROADMAP.md: FAZ 8 completed
2026-01-07 09:41:15 +03:00

31 lines
820 B
TypeScript

import { test, expect } from "bun:test";
import { Presets } from "../src";
import { runPresetUntilLaunched, spawnMiner } from "../src/cmd";
import { EventOutcome, runTest, TestCase } from "../src/test-case";
import { getApis, GlobalTimeout } from "../src/utils";
import { commonSignedSteps } from "./common";
const PRESET: Presets = Presets.FakeKsm;
test(
`signed solution on ${PRESET}`,
async () => {
const { killZn, paraLog } = await runPresetUntilLaunched(PRESET);
const apis = await getApis();
const killMiner = await spawnMiner();
const testCase = new TestCase(
commonSignedSteps(16, 1000, apis),
true,
() => {
killMiner();
killZn();
}
);
const outcome = await runTest(testCase, apis, paraLog);
expect(outcome).toEqual(EventOutcome.Done);
},
{ timeout: GlobalTimeout }
);