From 20534f97fd0bea5f1cd7b80b0f18530554c7999f Mon Sep 17 00:00:00 2001 From: Bryan Chen Date: Mon, 19 Dec 2022 23:21:55 +1300 Subject: [PATCH] fix pkg import --- 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' })