From 0795aa19516b5fc73a59294db289d69bd85342e7 Mon Sep 17 00:00:00 2001 From: Xiliang Chen Date: Mon, 19 Dec 2022 23:33:02 +1300 Subject: [PATCH] fix pkg import (#100) --- src/executor.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/executor.ts b/src/executor.ts index 7aa6954b..7a89ef73 100644 --- a/src/executor.ts +++ b/src/executor.ts @@ -11,7 +11,13 @@ import { } from '@polkadot/util' global.WebSocket = WebSocket -import { calculate_state_root, create_proof, decode_proof, get_runtime_version, run_task } from '../executor/pkg' +import { + calculate_state_root, + create_proof, + decode_proof, + get_runtime_version, + run_task, +} from '@acala-network/chopsticks-executor' import { defaultLogger, truncate, truncateStorageDiff } from './logger' const logger = defaultLogger.child({ name: 'executor' })