From 50120367910b62e07feebf8ae7a229077d816427 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Wed, 6 Dec 2023 14:03:21 +0100 Subject: [PATCH] add option allow-unresolved-imports into config (#584) --- configs/moonbase-alpha.yml | 1 + configs/moonbeam.yml | 1 + configs/moonriver.yml | 1 + executor/package.json | 2 +- packages/chopsticks/package.json | 2 +- packages/chopsticks/src/schema/index.ts | 1 + packages/core/package.json | 2 +- packages/db/package.json | 2 +- packages/testing/package.json | 2 +- packages/utils/package.json | 2 +- 10 files changed, 10 insertions(+), 6 deletions(-) diff --git a/configs/moonbase-alpha.yml b/configs/moonbase-alpha.yml index 3b1dfde0..57316d21 100644 --- a/configs/moonbase-alpha.yml +++ b/configs/moonbase-alpha.yml @@ -1,5 +1,6 @@ endpoint: wss://wss.api.moonbase.moonbeam.network mock-signature-host: true +allow-unresolved-imports: true block: ${env.MOONBASE_BLOCK_NUMBER} db: ./db.sqlite diff --git a/configs/moonbeam.yml b/configs/moonbeam.yml index 3e35571c..c32e19e8 100644 --- a/configs/moonbeam.yml +++ b/configs/moonbeam.yml @@ -1,5 +1,6 @@ endpoint: wss://wss.api.moonbeam.network mock-signature-host: true +allow-unresolved-imports: true block: ${env.MOONBEAM_BLOCK_NUMBER} db: ./db.sqlite diff --git a/configs/moonriver.yml b/configs/moonriver.yml index 416001d9..9a4367c6 100644 --- a/configs/moonriver.yml +++ b/configs/moonriver.yml @@ -1,5 +1,6 @@ endpoint: wss://wss.moonriver.moonbeam.network mock-signature-host: true +allow-unresolved-imports: true block: ${env.MOONRIVER_BLOCK_NUMBER} db: ./db.sqlite diff --git a/executor/package.json b/executor/package.json index d9d7c86c..d6b44637 100644 --- a/executor/package.json +++ b/executor/package.json @@ -1,7 +1,7 @@ { "name": "@acala-network/chopsticks-executor", "description": "Chopsticks executor", - "version": "0.9.4-5", + "version": "0.9.4-6", "license": "Apache-2.0", "type": "module", "repository": { diff --git a/packages/chopsticks/package.json b/packages/chopsticks/package.json index b491db88..94627251 100644 --- a/packages/chopsticks/package.json +++ b/packages/chopsticks/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks", - "version": "0.9.4-5", + "version": "0.9.4-6", "author": "Acala Developers ", "license": "Apache-2.0", "bin": "./chopsticks.cjs", diff --git a/packages/chopsticks/src/schema/index.ts b/packages/chopsticks/src/schema/index.ts index a0acedab..cd85986d 100644 --- a/packages/chopsticks/src/schema/index.ts +++ b/packages/chopsticks/src/schema/index.ts @@ -17,6 +17,7 @@ export const configSchema = z block: z.union([z.string().length(66).startsWith('0x'), z.number(), z.null()]).optional(), 'build-block-mode': z.nativeEnum(BuildBlockMode).optional(), 'import-storage': z.any().optional(), + 'allow-unresolved-imports': z.boolean().optional(), 'mock-signature-host': z.boolean().optional(), 'max-memory-block-count': z.number().optional(), db: z.string().optional(), diff --git a/packages/core/package.json b/packages/core/package.json index 6ad06528..ab22afd5 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks-core", - "version": "0.9.4-5", + "version": "0.9.4-6", "author": "Acala Developers ", "license": "Apache-2.0", "type": "module", diff --git a/packages/db/package.json b/packages/db/package.json index 6f7e9893..9f3e4138 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks-db", - "version": "0.9.4-5", + "version": "0.9.4-6", "author": "Acala Developers ", "license": "Apache-2.0", "type": "module", diff --git a/packages/testing/package.json b/packages/testing/package.json index 0977b460..1b72cf1d 100644 --- a/packages/testing/package.json +++ b/packages/testing/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks-testing", - "version": "0.9.4-5", + "version": "0.9.4-6", "author": "Acala Developers ", "license": "Apache-2.0", "type": "module", diff --git a/packages/utils/package.json b/packages/utils/package.json index f7099056..f27558a7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@acala-network/chopsticks-utils", - "version": "0.9.4-5", + "version": "0.9.4-6", "author": "Acala Developers ", "license": "Apache-2.0", "type": "module",