moonwall 1.0.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/LICENSE +681 -0
  2. package/README.md +54 -0
  3. package/config_schema.json +811 -0
  4. package/dist/api/constants/accounts.d.ts +36 -0
  5. package/dist/api/constants/accounts.d.ts.map +1 -0
  6. package/dist/api/constants/accounts.js +67 -0
  7. package/dist/api/constants/chain.d.ts +134 -0
  8. package/dist/api/constants/chain.d.ts.map +1 -0
  9. package/dist/api/constants/chain.js +149 -0
  10. package/dist/api/constants/index.d.ts +4 -0
  11. package/dist/api/constants/index.d.ts.map +1 -0
  12. package/dist/api/constants/index.js +3 -0
  13. package/dist/api/constants/smartContract.d.ts +29 -0
  14. package/dist/api/constants/smartContract.d.ts.map +1 -0
  15. package/dist/api/constants/smartContract.js +118 -0
  16. package/dist/api/testing/blocks.d.ts +59 -0
  17. package/dist/api/testing/blocks.d.ts.map +1 -0
  18. package/dist/api/testing/blocks.js +147 -0
  19. package/dist/api/testing/contracts.d.ts +5 -0
  20. package/dist/api/testing/contracts.d.ts.map +1 -0
  21. package/dist/api/testing/contracts.js +32 -0
  22. package/dist/api/testing/ethers.d.ts +3 -0
  23. package/dist/api/testing/ethers.d.ts.map +1 -0
  24. package/dist/api/testing/ethers.js +38 -0
  25. package/dist/api/testing/events.d.ts +12 -0
  26. package/dist/api/testing/events.d.ts.map +1 -0
  27. package/dist/api/testing/events.js +23 -0
  28. package/dist/api/testing/extrinsics.d.ts +5 -0
  29. package/dist/api/testing/extrinsics.d.ts.map +1 -0
  30. package/dist/api/testing/extrinsics.js +10 -0
  31. package/dist/api/testing/index.d.ts +9 -0
  32. package/dist/api/testing/index.d.ts.map +1 -0
  33. package/dist/api/testing/index.js +8 -0
  34. package/dist/api/testing/jumping.d.ts +8 -0
  35. package/dist/api/testing/jumping.d.ts.map +1 -0
  36. package/dist/api/testing/jumping.js +78 -0
  37. package/dist/api/testing/providers.d.ts +18 -0
  38. package/dist/api/testing/providers.d.ts.map +1 -0
  39. package/dist/api/testing/providers.js +34 -0
  40. package/dist/api/testing/viem.d.ts +139 -0
  41. package/dist/api/testing/viem.d.ts.map +1 -0
  42. package/dist/api/testing/viem.js +247 -0
  43. package/dist/api/types/config.d.ts +609 -0
  44. package/dist/api/types/config.d.ts.map +1 -0
  45. package/dist/api/types/config.js +1 -0
  46. package/dist/api/types/context.d.ts +125 -0
  47. package/dist/api/types/context.d.ts.map +1 -0
  48. package/dist/api/types/context.js +1 -0
  49. package/dist/api/types/contracts.d.ts +66 -0
  50. package/dist/api/types/contracts.d.ts.map +1 -0
  51. package/dist/api/types/contracts.js +1 -0
  52. package/dist/api/types/eth.d.ts +3 -0
  53. package/dist/api/types/eth.d.ts.map +1 -0
  54. package/dist/api/types/eth.js +1 -0
  55. package/dist/api/types/foundations.d.ts +11 -0
  56. package/dist/api/types/foundations.d.ts.map +1 -0
  57. package/dist/api/types/foundations.js +1 -0
  58. package/dist/api/types/helpers.d.ts +7 -0
  59. package/dist/api/types/helpers.d.ts.map +1 -0
  60. package/dist/api/types/helpers.js +1 -0
  61. package/dist/api/types/index.d.ts +8 -0
  62. package/dist/api/types/index.d.ts.map +1 -0
  63. package/dist/api/types/index.js +7 -0
  64. package/dist/api/types/runner.d.ts +490 -0
  65. package/dist/api/types/runner.d.ts.map +1 -0
  66. package/dist/api/types/runner.js +1 -0
  67. package/dist/cli/cmds/components/LogViewer.d.ts +17 -0
  68. package/dist/cli/cmds/components/LogViewer.d.ts.map +1 -0
  69. package/dist/cli/cmds/components/LogViewer.js +171 -0
  70. package/dist/cli/cmds/entrypoint.d.ts +6 -0
  71. package/dist/cli/cmds/entrypoint.d.ts.map +1 -0
  72. package/dist/cli/cmds/entrypoint.js +192 -0
  73. package/dist/cli/cmds/interactiveCmds/chopsticksIntCmds.d.ts +2 -0
  74. package/dist/cli/cmds/interactiveCmds/chopsticksIntCmds.d.ts.map +1 -0
  75. package/dist/cli/cmds/interactiveCmds/chopsticksIntCmds.js +117 -0
  76. package/dist/cli/cmds/interactiveCmds/devIntCmds.d.ts +2 -0
  77. package/dist/cli/cmds/interactiveCmds/devIntCmds.d.ts.map +1 -0
  78. package/dist/cli/cmds/interactiveCmds/devIntCmds.js +103 -0
  79. package/dist/cli/cmds/interactiveCmds/index.d.ts +4 -0
  80. package/dist/cli/cmds/interactiveCmds/index.d.ts.map +1 -0
  81. package/dist/cli/cmds/interactiveCmds/index.js +3 -0
  82. package/dist/cli/cmds/interactiveCmds/zombieIntCmds.d.ts +2 -0
  83. package/dist/cli/cmds/interactiveCmds/zombieIntCmds.d.ts.map +1 -0
  84. package/dist/cli/cmds/interactiveCmds/zombieIntCmds.js +32 -0
  85. package/dist/cli/cmds/main.d.ts +2 -0
  86. package/dist/cli/cmds/main.d.ts.map +1 -0
  87. package/dist/cli/cmds/main.js +336 -0
  88. package/dist/cli/cmds/runNetwork.d.ts +3 -0
  89. package/dist/cli/cmds/runNetwork.d.ts.map +1 -0
  90. package/dist/cli/cmds/runNetwork.js +292 -0
  91. package/dist/cli/cmds/runTests.d.ts +12 -0
  92. package/dist/cli/cmds/runTests.d.ts.map +1 -0
  93. package/dist/cli/cmds/runTests.js +257 -0
  94. package/dist/cli/internal/cmdFunctions/downloader.d.ts +4 -0
  95. package/dist/cli/internal/cmdFunctions/downloader.d.ts.map +1 -0
  96. package/dist/cli/internal/cmdFunctions/downloader.js +49 -0
  97. package/dist/cli/internal/cmdFunctions/fetchArtifact.d.ts +10 -0
  98. package/dist/cli/internal/cmdFunctions/fetchArtifact.d.ts.map +1 -0
  99. package/dist/cli/internal/cmdFunctions/fetchArtifact.js +145 -0
  100. package/dist/cli/internal/cmdFunctions/index.d.ts +5 -0
  101. package/dist/cli/internal/cmdFunctions/index.d.ts.map +1 -0
  102. package/dist/cli/internal/cmdFunctions/index.js +4 -0
  103. package/dist/cli/internal/cmdFunctions/initialisation.d.ts +20 -0
  104. package/dist/cli/internal/cmdFunctions/initialisation.d.ts.map +1 -0
  105. package/dist/cli/internal/cmdFunctions/initialisation.js +150 -0
  106. package/dist/cli/internal/cmdFunctions/tempLogs.d.ts +3 -0
  107. package/dist/cli/internal/cmdFunctions/tempLogs.d.ts.map +1 -0
  108. package/dist/cli/internal/cmdFunctions/tempLogs.js +37 -0
  109. package/dist/cli/internal/commandParsers.d.ts +59 -0
  110. package/dist/cli/internal/commandParsers.d.ts.map +1 -0
  111. package/dist/cli/internal/commandParsers.js +305 -0
  112. package/dist/cli/internal/deriveTestIds.d.ts +8 -0
  113. package/dist/cli/internal/deriveTestIds.d.ts.map +1 -0
  114. package/dist/cli/internal/deriveTestIds.js +123 -0
  115. package/dist/cli/internal/effect/index.d.ts +6 -0
  116. package/dist/cli/internal/effect/index.d.ts.map +1 -0
  117. package/dist/cli/internal/effect/index.js +5 -0
  118. package/dist/cli/internal/fileCheckers.d.ts +11 -0
  119. package/dist/cli/internal/fileCheckers.d.ts.map +1 -0
  120. package/dist/cli/internal/fileCheckers.js +165 -0
  121. package/dist/cli/internal/foundations/index.d.ts +4 -0
  122. package/dist/cli/internal/foundations/index.d.ts.map +1 -0
  123. package/dist/cli/internal/foundations/index.js +4 -0
  124. package/dist/cli/internal/index.d.ts +12 -0
  125. package/dist/cli/internal/index.d.ts.map +1 -0
  126. package/dist/cli/internal/index.js +11 -0
  127. package/dist/cli/internal/launcherCommon.d.ts +4 -0
  128. package/dist/cli/internal/launcherCommon.d.ts.map +1 -0
  129. package/dist/cli/internal/launcherCommon.js +130 -0
  130. package/dist/cli/internal/localNode.d.ts +16 -0
  131. package/dist/cli/internal/localNode.d.ts.map +1 -0
  132. package/dist/cli/internal/localNode.js +362 -0
  133. package/dist/cli/internal/logging.d.ts +2 -0
  134. package/dist/cli/internal/logging.d.ts.map +1 -0
  135. package/dist/cli/internal/logging.js +26 -0
  136. package/dist/cli/internal/node.d.ts +33 -0
  137. package/dist/cli/internal/node.d.ts.map +1 -0
  138. package/dist/cli/internal/node.js +228 -0
  139. package/dist/cli/internal/processHelpers.d.ts +17 -0
  140. package/dist/cli/internal/processHelpers.d.ts.map +1 -0
  141. package/dist/cli/internal/processHelpers.js +56 -0
  142. package/dist/cli/internal/providerFactories.d.ts +48 -0
  143. package/dist/cli/internal/providerFactories.d.ts.map +1 -0
  144. package/dist/cli/internal/providerFactories.js +442 -0
  145. package/dist/cli/internal/testIdParser.d.ts +34 -0
  146. package/dist/cli/internal/testIdParser.d.ts.map +1 -0
  147. package/dist/cli/internal/testIdParser.js +167 -0
  148. package/dist/cli/lib/binariesHelpers.d.ts +15 -0
  149. package/dist/cli/lib/binariesHelpers.d.ts.map +1 -0
  150. package/dist/cli/lib/binariesHelpers.js +99 -0
  151. package/dist/cli/lib/configReader.d.ts +8 -0
  152. package/dist/cli/lib/configReader.d.ts.map +1 -0
  153. package/dist/cli/lib/configReader.js +115 -0
  154. package/dist/cli/lib/contractFunctions.d.ts +2 -0
  155. package/dist/cli/lib/contractFunctions.d.ts.map +1 -0
  156. package/dist/cli/lib/contractFunctions.js +2 -0
  157. package/dist/cli/lib/globalContext.d.ts +46 -0
  158. package/dist/cli/lib/globalContext.d.ts.map +1 -0
  159. package/dist/cli/lib/globalContext.js +710 -0
  160. package/dist/cli/lib/governanceProcedures.d.ts +27 -0
  161. package/dist/cli/lib/governanceProcedures.d.ts.map +1 -0
  162. package/dist/cli/lib/governanceProcedures.js +458 -0
  163. package/dist/cli/lib/handlers/index.d.ts +5 -0
  164. package/dist/cli/lib/handlers/index.d.ts.map +1 -0
  165. package/dist/cli/lib/handlers/index.js +5 -0
  166. package/dist/cli/lib/repoDefinitions/index.d.ts +6 -0
  167. package/dist/cli/lib/repoDefinitions/index.d.ts.map +1 -0
  168. package/dist/cli/lib/repoDefinitions/index.js +21 -0
  169. package/dist/cli/lib/repoDefinitions/moonbeam.d.ts +4 -0
  170. package/dist/cli/lib/repoDefinitions/moonbeam.d.ts.map +1 -0
  171. package/dist/cli/lib/repoDefinitions/moonbeam.js +30 -0
  172. package/dist/cli/lib/repoDefinitions/polkadot.d.ts +4 -0
  173. package/dist/cli/lib/repoDefinitions/polkadot.d.ts.map +1 -0
  174. package/dist/cli/lib/repoDefinitions/polkadot.js +11 -0
  175. package/dist/cli/lib/repoDefinitions/tanssi.d.ts +4 -0
  176. package/dist/cli/lib/repoDefinitions/tanssi.d.ts.map +1 -0
  177. package/dist/cli/lib/repoDefinitions/tanssi.js +14 -0
  178. package/dist/cli/lib/rpcFunctions.d.ts +2 -0
  179. package/dist/cli/lib/rpcFunctions.d.ts.map +1 -0
  180. package/dist/cli/lib/rpcFunctions.js +26 -0
  181. package/dist/cli/lib/runnerContext.d.ts +32 -0
  182. package/dist/cli/lib/runnerContext.d.ts.map +1 -0
  183. package/dist/cli/lib/runnerContext.js +156 -0
  184. package/dist/cli/lib/shardManager.d.ts +40 -0
  185. package/dist/cli/lib/shardManager.d.ts.map +1 -0
  186. package/dist/cli/lib/shardManager.js +80 -0
  187. package/dist/cli/lib/upgradeProcedures.d.ts +5 -0
  188. package/dist/cli/lib/upgradeProcedures.d.ts.map +1 -0
  189. package/dist/cli/lib/upgradeProcedures.js +221 -0
  190. package/dist/cli.d.ts +4 -0
  191. package/dist/cli.d.ts.map +1 -0
  192. package/dist/cli.js +3 -0
  193. package/dist/contracts/contractInteraction.d.ts +17 -0
  194. package/dist/contracts/contractInteraction.d.ts.map +1 -0
  195. package/dist/contracts/contractInteraction.js +170 -0
  196. package/dist/contracts/index.d.ts +2 -0
  197. package/dist/contracts/index.d.ts.map +1 -0
  198. package/dist/contracts/index.js +1 -0
  199. package/dist/foundations/chopsticks/handler.d.ts +3 -0
  200. package/dist/foundations/chopsticks/handler.d.ts.map +1 -0
  201. package/dist/foundations/chopsticks/handler.js +93 -0
  202. package/dist/foundations/chopsticks/helpers.d.ts +27 -0
  203. package/dist/foundations/chopsticks/helpers.d.ts.map +1 -0
  204. package/dist/foundations/chopsticks/helpers.js +133 -0
  205. package/dist/foundations/dev/handler.d.ts +3 -0
  206. package/dist/foundations/dev/handler.d.ts.map +1 -0
  207. package/dist/foundations/dev/handler.js +136 -0
  208. package/dist/foundations/dev/helpers.d.ts +27 -0
  209. package/dist/foundations/dev/helpers.d.ts.map +1 -0
  210. package/dist/foundations/dev/helpers.js +161 -0
  211. package/dist/foundations/read-only/handler.d.ts +3 -0
  212. package/dist/foundations/read-only/handler.d.ts.map +1 -0
  213. package/dist/foundations/read-only/handler.js +32 -0
  214. package/dist/foundations/zombie/handler.d.ts +3 -0
  215. package/dist/foundations/zombie/handler.d.ts.map +1 -0
  216. package/dist/foundations/zombie/handler.js +92 -0
  217. package/dist/foundations/zombie/helpers.d.ts +16 -0
  218. package/dist/foundations/zombie/helpers.d.ts.map +1 -0
  219. package/dist/foundations/zombie/helpers.js +97 -0
  220. package/dist/index.d.ts +17 -0
  221. package/dist/index.d.ts.map +1 -0
  222. package/dist/index.js +47 -0
  223. package/dist/internal/common.d.ts +3 -0
  224. package/dist/internal/common.d.ts.map +1 -0
  225. package/dist/internal/common.js +41 -0
  226. package/dist/internal/index.d.ts +4 -0
  227. package/dist/internal/index.d.ts.map +1 -0
  228. package/dist/internal/index.js +3 -0
  229. package/dist/internal/logger.d.ts +24 -0
  230. package/dist/internal/logger.d.ts.map +1 -0
  231. package/dist/internal/logger.js +66 -0
  232. package/dist/internal/logging.d.ts +7 -0
  233. package/dist/internal/logging.d.ts.map +1 -0
  234. package/dist/internal/logging.js +36 -0
  235. package/dist/moondebug.d.ts +3 -0
  236. package/dist/moondebug.d.ts.map +1 -0
  237. package/dist/moondebug.js +2 -0
  238. package/dist/services/cache/FileLock.d.ts +11 -0
  239. package/dist/services/cache/FileLock.d.ts.map +1 -0
  240. package/dist/services/cache/FileLock.js +68 -0
  241. package/dist/services/cache/StartupCacheService.d.ts +23 -0
  242. package/dist/services/cache/StartupCacheService.d.ts.map +1 -0
  243. package/dist/services/cache/StartupCacheService.js +159 -0
  244. package/dist/services/cache/index.d.ts +3 -0
  245. package/dist/services/cache/index.d.ts.map +1 -0
  246. package/dist/services/cache/index.js +2 -0
  247. package/dist/services/chopsticks/ChopsticksMultiChain.d.ts +158 -0
  248. package/dist/services/chopsticks/ChopsticksMultiChain.d.ts.map +1 -0
  249. package/dist/services/chopsticks/ChopsticksMultiChain.js +282 -0
  250. package/dist/services/chopsticks/ChopsticksService.d.ts +313 -0
  251. package/dist/services/chopsticks/ChopsticksService.d.ts.map +1 -0
  252. package/dist/services/chopsticks/ChopsticksService.js +77 -0
  253. package/dist/services/chopsticks/chopsticksConfigParser.d.ts +40 -0
  254. package/dist/services/chopsticks/chopsticksConfigParser.d.ts.map +1 -0
  255. package/dist/services/chopsticks/chopsticksConfigParser.js +201 -0
  256. package/dist/services/chopsticks/index.d.ts +5 -0
  257. package/dist/services/chopsticks/index.d.ts.map +1 -0
  258. package/dist/services/chopsticks/index.js +4 -0
  259. package/dist/services/chopsticks/launchChopsticksEffect.d.ts +225 -0
  260. package/dist/services/chopsticks/launchChopsticksEffect.d.ts.map +1 -0
  261. package/dist/services/chopsticks/launchChopsticksEffect.js +623 -0
  262. package/dist/services/config/configAccessors.d.ts +41 -0
  263. package/dist/services/config/configAccessors.d.ts.map +1 -0
  264. package/dist/services/config/configAccessors.js +149 -0
  265. package/dist/services/config/index.d.ts +2 -0
  266. package/dist/services/config/index.d.ts.map +1 -0
  267. package/dist/services/config/index.js +1 -0
  268. package/dist/services/errors.d.ts +72 -0
  269. package/dist/services/errors.d.ts.map +1 -0
  270. package/dist/services/errors.js +31 -0
  271. package/dist/services/index.d.ts +7 -0
  272. package/dist/services/index.d.ts.map +1 -0
  273. package/dist/services/index.js +6 -0
  274. package/dist/services/network/NodeReadinessService.d.ts +35 -0
  275. package/dist/services/network/NodeReadinessService.d.ts.map +1 -0
  276. package/dist/services/network/NodeReadinessService.js +120 -0
  277. package/dist/services/network/PortDiscoveryService.d.ts +22 -0
  278. package/dist/services/network/PortDiscoveryService.d.ts.map +1 -0
  279. package/dist/services/network/PortDiscoveryService.js +77 -0
  280. package/dist/services/network/RpcPortDiscoveryService.d.ts +25 -0
  281. package/dist/services/network/RpcPortDiscoveryService.d.ts.map +1 -0
  282. package/dist/services/network/RpcPortDiscoveryService.js +136 -0
  283. package/dist/services/network/index.d.ts +4 -0
  284. package/dist/services/network/index.d.ts.map +1 -0
  285. package/dist/services/network/index.js +3 -0
  286. package/dist/services/process/ProcessManagerService.d.ts +49 -0
  287. package/dist/services/process/ProcessManagerService.d.ts.map +1 -0
  288. package/dist/services/process/ProcessManagerService.js +162 -0
  289. package/dist/services/process/index.d.ts +3 -0
  290. package/dist/services/process/index.d.ts.map +1 -0
  291. package/dist/services/process/index.js +2 -0
  292. package/dist/services/process/launchNodeEffect.d.ts +40 -0
  293. package/dist/services/process/launchNodeEffect.d.ts.map +1 -0
  294. package/dist/services/process/launchNodeEffect.js +86 -0
  295. package/dist/util/functions/index.d.ts +3 -0
  296. package/dist/util/functions/index.d.ts.map +1 -0
  297. package/dist/util/functions/index.js +4 -0
  298. package/dist/util/index.d.ts +4 -0
  299. package/dist/util/index.d.ts.map +1 -0
  300. package/dist/util/index.js +2 -0
  301. package/package.json +157 -0
@@ -0,0 +1,609 @@
1
+ import type Bottleneck from "bottleneck";
2
+ import type { LogType } from "@zombienet/utils";
3
+ /**
4
+ * The main configuration object for Moonwall.
5
+ */
6
+ export type MoonwallConfig = {
7
+ /**
8
+ * The schema for the config.
9
+ * By default should use: "https://raw.githubusercontent.com/Moonsong-Labs/moonwall/main/config_schema.json"
10
+ */
11
+ $schema?: string;
12
+ /**
13
+ * A label for the config.
14
+ */
15
+ label: string;
16
+ /**
17
+ * The default timeout for tests.
18
+ */
19
+ defaultTestTimeout: number;
20
+ /**
21
+ * Optional path to a directory containing scripts.
22
+ */
23
+ scriptsDir?: string;
24
+ /**
25
+ * An array of Environment objects for testing.
26
+ */
27
+ environments: Environment[];
28
+ /**
29
+ * Use this to specify additional repos to download binaries from.
30
+ * Polkadot, Tanssi and Moonbeam are available by default.
31
+ **/
32
+ additionalRepos?: RepoSpec[];
33
+ };
34
+ /**
35
+ * The environment configuration for testing.
36
+ */
37
+ export type Environment = {
38
+ /**
39
+ * An optional array of reporter types e.g. html, basic, verbose, json etc
40
+ */
41
+ reporters?: string[];
42
+ /**
43
+ * Write test results to a file when the using JSON or HTML reporter.
44
+ * By providing an object instead of a string you can define individual outputs when using multiple reporters.
45
+ */
46
+ reportFile?: string | {
47
+ [reporterName: string]: string;
48
+ };
49
+ /**
50
+ * The name of the environment.
51
+ */
52
+ name: string;
53
+ /**
54
+ * Print vitest options to the console.
55
+ */
56
+ printVitestOptions?: boolean;
57
+ /**
58
+ * Description of the environment to display in menus.
59
+ */
60
+ description?: string;
61
+ /**
62
+ * The default timeout for tests and hooks
63
+ */
64
+ timeout?: number;
65
+ /**
66
+ * An array of directories with test files.
67
+ */
68
+ testFileDir: string[];
69
+ /**
70
+ * An optional array of environment variable names.
71
+ */
72
+ envVars?: string[];
73
+ /**
74
+ * The foundation configuration for the environment.
75
+ */
76
+ foundation: IFoundation;
77
+ /**
78
+ * An optional array of included files or directories.
79
+ */
80
+ include?: string[];
81
+ /**
82
+ * An optional array of ProviderConfig objects.
83
+ */
84
+ connections?: ProviderConfig[];
85
+ /**
86
+ * Multi-threading configuration for test execution.
87
+ * - `false`: Sequential execution (default)
88
+ * - `true`: Enable parallel execution with defaults
89
+ * - `number`: Enable parallel with specific maxWorkers count
90
+ * - `object`: Full Vitest 4 pool configuration
91
+ *
92
+ * Visit https://vitest.dev/config/#pool for more info
93
+ */
94
+ multiThreads?: boolean | number | MultiThreadConfig;
95
+ /**
96
+ * Enable Vitest's dependency optimizer to pre-bundle imports (viem, ethers).
97
+ * This can reduce test collection time by ~10% by caching bundled dependencies.
98
+ * @default false
99
+ */
100
+ cacheImports?: boolean;
101
+ /**
102
+ * Path to directory containing smart contracts for testing against.
103
+ */
104
+ contracts?: string;
105
+ /**
106
+ * An optional array of scripts to run before testing.
107
+ */
108
+ runScripts?: string[];
109
+ /**
110
+ * The privateKey with which to sign and send transactions in createBlock() function.
111
+ */
112
+ defaultSigner?: {
113
+ /**
114
+ * Substrate Keyring type
115
+ */
116
+ type: "ethereum" | "sr25519" | "ed25519";
117
+ /**
118
+ * Hex encoded private key to generate KeyringPair ("0x..")
119
+ */
120
+ privateKey: string;
121
+ };
122
+ /**
123
+ * Toggle whether createBlock() will throw when extrinsic errors inside.
124
+ */
125
+ defaultAllowFailures?: boolean;
126
+ /**
127
+ * Toggle whether createBlock() will finalize blocks by default or not.
128
+ */
129
+ defaultFinalization?: boolean;
130
+ /**
131
+ * A list of test to skip.
132
+ */
133
+ skipTests?: SkipTestSpec[];
134
+ /**
135
+ * An optional object to add extra arguments to the Vitest test runner.
136
+ * Use with caution as this will override the default arguments, which
137
+ * may cause unexpected behaviour.
138
+ *
139
+ * Visit https://vitest.dev/config/ for more info
140
+ */
141
+ vitestArgs?: Record<string, any>;
142
+ };
143
+ export type SkipTestSpec = {
144
+ /**
145
+ * The name of the test to skip. Eg. S22C500
146
+ */
147
+ name: string;
148
+ /**
149
+ * The reason for skipping the test. Must be provided. Eg. https://github.com/org/repo/issues/123.
150
+ */
151
+ reason: string;
152
+ /**
153
+ * The date when the test was skipped. Must be provided and be RFC3339 compliant. Eg. 2021-09-01T00:00:00Z
154
+ */
155
+ since: string;
156
+ };
157
+ /**
158
+ * @name IFoundation
159
+ * @description The foundation configuration for the environment. It can be of several types including "dev", "chopsticks", "zombie", "read_only", or "fork".
160
+ */
161
+ export type IFoundation = {
162
+ type: "dev";
163
+ launchSpec: DevLaunchSpec[];
164
+ } | {
165
+ type: "chopsticks";
166
+ rtUpgradePath?: string;
167
+ launchSpec: ChopsticksLaunchSpec[];
168
+ } | {
169
+ type: "zombie";
170
+ rtUpgradePath?: string;
171
+ zombieSpec: ZombieLaunchSpec;
172
+ } | {
173
+ type: "read_only";
174
+ launchSpec: ReadOnlyLaunchSpec;
175
+ };
176
+ /**
177
+ * @name EthTransactionType
178
+ * @description The type of Ethereum transaction. Can be "Legacy", "EIP2930", or "EIP1559".
179
+ */
180
+ export type EthTransactionType = (typeof EthTransactionTypes)[number];
181
+ export declare const EthTransactionTypes: readonly ["eip1559", "eip2930", "legacy"];
182
+ /**
183
+ * @name FoundationType
184
+ * @description The type of foundation configuration. It can be of several types including "dev", "chopsticks", "zombie", "read_only", or "fork".
185
+ */
186
+ export type FoundationType = IFoundation["type"];
187
+ /**
188
+ * A generic launch specification object.
189
+ */
190
+ export interface GenericLaunchSpec {
191
+ /**
192
+ * The name of the launch spec.
193
+ */
194
+ name: string;
195
+ /**
196
+ * UNUSED
197
+ */
198
+ running?: boolean;
199
+ /**
200
+ * An optional array of options for the launch spec.
201
+ */
202
+ options?: string[];
203
+ /**
204
+ * Whether to use the legacy way of launching nodes (directly via ChildProcess) or the new way (using Effect)
205
+ * Default: false (use Effect)
206
+ * NOTE: This is a temporary flag to ease the transition to Effect-based node management.
207
+ * It will be removed in a future release. This does not affect read-only foundations.
208
+ */
209
+ legacy?: boolean;
210
+ }
211
+ /**
212
+ * A launch specification object for the "read_only" foundation type.
213
+ * @extends GenericLaunchSpec
214
+ */
215
+ export interface ReadOnlyLaunchSpec extends GenericLaunchSpec {
216
+ /**
217
+ * Rate limiter options, on by default.
218
+ * Can be set to false to disable.
219
+ */
220
+ rateLimiter?: boolean | Bottleneck.ConstructorOptions;
221
+ /**
222
+ * Disable runtime version check.
223
+ * RT Version check is enabled by default.
224
+ */
225
+ disableRuntimeVersionCheck?: boolean;
226
+ }
227
+ /**
228
+ * A launch specification object for the "zombie" foundation type.
229
+ * @extends GenericLaunchSpec
230
+ */
231
+ export interface ZombieLaunchSpec extends GenericLaunchSpec {
232
+ /**
233
+ * Additional configuration for the zombie network
234
+ */
235
+ additionalZombieConfig?: OrcOptionsInterface;
236
+ /**
237
+ * Determines if the default Ethereum provider connections should be disabled.
238
+ * When set to true, the framework will not automatically connect the Ethereum providers.
239
+ * Default behavior (when unset or set to false) is to connect with Ethers, Viem & Web3 frameworks.
240
+ */
241
+ disableDefaultEthProviders?: boolean;
242
+ /**
243
+ * Specifies whether the framework should eavesdrop and log WARN, ERROR from the node logs.
244
+ * If set to true, the eavesdropping on node logs is disabled.
245
+ * Default behavior (when unset or set to false) is to listen to the logs.
246
+ */
247
+ disableLogEavesdropping?: boolean;
248
+ /**
249
+ * The path to the config file.
250
+ */
251
+ configPath: string;
252
+ /**
253
+ * An optional array of blocks to skip checking.
254
+ */
255
+ skipBlockCheck?: string[];
256
+ }
257
+ /**
258
+ * A launch specification object for the "chopsticks" foundation type.
259
+ * @extends GenericLaunchSpec
260
+ */
261
+ export interface ChopsticksLaunchSpec extends GenericLaunchSpec {
262
+ /**
263
+ * The path to the config file.
264
+ */
265
+ configPath: string;
266
+ /**
267
+ * An optional WebSocket port.
268
+ * Quirk of Chopsticks is that port option is only for single mode not xcm.
269
+ */
270
+ wsPort?: number;
271
+ /**
272
+ * An optional type of either "relaychain" or "parachain".
273
+ */
274
+ type?: "relaychain" | "parachain";
275
+ /**
276
+ * An optional WebAssembly override.
277
+ */
278
+ wasmOverride?: string;
279
+ /**
280
+ * An optional flag to NOT throw when the host fails to export a function expected by the runtime.
281
+ */
282
+ allowUnresolvedImports?: boolean;
283
+ /**
284
+ * An optional block building mode, can be "batch", "manual" or "instant".
285
+ * This is only supported for single mode chopsticks.
286
+ */
287
+ buildBlockMode?: "batch" | "manual" | "instant";
288
+ /**
289
+ * An optional flag to retain node logs from previous runs.
290
+ */
291
+ retainAllLogs?: boolean;
292
+ /**
293
+ * Server listening interface
294
+ * Added in: https://github.com/AcalaNetwork/chopsticks/pull/826
295
+ */
296
+ address?: string;
297
+ /**
298
+ * Optional timeout in milliseconds for new block operations.
299
+ * Defaults to 60000ms (60 seconds) if not specified.
300
+ * Increase this for chains with large storage migrations.
301
+ */
302
+ newBlockTimeout?: number;
303
+ }
304
+ /**
305
+ * A launch specification object for the "dev" foundation type.
306
+ * @extends GenericLaunchSpec
307
+ */
308
+ export interface DevLaunchSpec extends GenericLaunchSpec {
309
+ /**
310
+ * The path to the binary to execute OR the Docker image to use
311
+ */
312
+ binPath: string;
313
+ /**
314
+ * Cache startup artifacts for faster node launch (~10x improvement).
315
+ * When enabled, Moonwall will:
316
+ * 1. Precompile the runtime WASM to native code using `precompile-wasm`
317
+ * 2. Generate a raw chain spec to skip genesis WASM compilation
318
+ *
319
+ * Both artifacts are cached by binary hash and reused on subsequent runs.
320
+ *
321
+ * - true: Enable caching (recommended for faster startup)
322
+ * - false: Disable caching (default)
323
+ *
324
+ * @default false
325
+ */
326
+ cacheStartupArtifacts?: boolean;
327
+ /**
328
+ * Directory to cache startup artifacts (precompiled WASM and raw chain spec).
329
+ * Defaults to "./tmp/startup-cache" relative to the config file.
330
+ */
331
+ startupCacheDir?: string;
332
+ /**
333
+ * If true, binPath will be treated as a Docker image instead of a local binary
334
+ */
335
+ useDocker?: boolean;
336
+ /**
337
+ * Docker-specific configuration
338
+ */
339
+ dockerConfig?: {
340
+ /**
341
+ * Additional Docker run arguments (e.g. environment variables, volumes)
342
+ */
343
+ runArgs?: string[];
344
+ /**
345
+ * Docker container name. If not provided, one will be generated
346
+ */
347
+ containerName?: string;
348
+ /**
349
+ * Docker network to connect to. If not provided, the default network will be used
350
+ */
351
+ network?: string;
352
+ /**
353
+ * Port mappings from host to container
354
+ */
355
+ exposePorts?: {
356
+ hostPort: number;
357
+ internalPort: number;
358
+ }[];
359
+ };
360
+ /**
361
+ * Determines if the default Ethereum provider connections should be disabled.
362
+ * When set to true, the framework will not automatically connect the Ethereum providers.
363
+ * Default behavior (when unset or set to false) is to connect with Ethers, Viem & Web3 frameworks.
364
+ *
365
+ * Note: This also acts as a feature gate for context methods like createTxn and readPrecompile.
366
+ */
367
+ disableDefaultEthProviders?: boolean;
368
+ /**
369
+ * Launch node using rpc-port parameter instead of ws-port.
370
+ */
371
+ newRpcBehaviour?: boolean;
372
+ /**
373
+ * BETA: Default Fork options for the node (overriden by per-test fork options)
374
+ */
375
+ defaultForkConfig?: ForkConfig;
376
+ /**
377
+ * Port configuration
378
+ */
379
+ ports?: {
380
+ /**
381
+ * The port for peer-to-peer (P2P) communication.
382
+ */
383
+ p2pPort: number;
384
+ /**
385
+ * The port for remote procedure call (RPC).
386
+ */
387
+ rpcPort: number;
388
+ /**
389
+ * The port for WebSocket communication (soon deprecated)
390
+ */
391
+ wsPort: number;
392
+ };
393
+ /**
394
+ * An optional flag to retain node logs from previous runs.
395
+ */
396
+ retainAllLogs?: boolean;
397
+ }
398
+ /**
399
+ * The configuration object for a provider.
400
+ */
401
+ export interface ProviderConfig {
402
+ /**
403
+ * The name of the provider.
404
+ */
405
+ name: string;
406
+ /**
407
+ * The type of the provider.
408
+ */
409
+ type: ProviderType;
410
+ /**
411
+ * An array of endpoint URLs.
412
+ */
413
+ endpoints: string[];
414
+ /**
415
+ * An optional RPC bundle.
416
+ */
417
+ rpc?: IRpcBundle;
418
+ /**
419
+ * An optional collection of additional types.
420
+ */
421
+ additionalTypes?: TypesBundle;
422
+ /**
423
+ * Cache runtime metadata for faster PolkadotJS API connections.
424
+ * When enabled, metadata is cached after first connection and reused,
425
+ * significantly reducing connection time for subsequent runs.
426
+ *
427
+ * Only applies to "polkadotJs" provider type.
428
+ *
429
+ * @default true
430
+ */
431
+ cacheMetadata?: boolean;
432
+ }
433
+ /**
434
+ * @name ProviderType
435
+ * @description The type of provider. Can be "polkadotJs", "ethers", "web3", "viem", "papi"
436
+ */
437
+ export type ProviderType = "polkadotJs" | "ethers" | "web3" | "viem" | "papi";
438
+ /**
439
+ * @name ZombieNodeType
440
+ * @description The type of Zombie node. Can be "relaychain" or "parachain
441
+ */
442
+ export type ZombieNodeType = "relaychain" | "parachain";
443
+ /**
444
+ * @name IRpcParam
445
+ * @description Interface for defining RPC parameters.
446
+ * @property name - The name of the RPC parameter.
447
+ * @property type - The type of the RPC parameter.
448
+ * @property isOptional - A flag indicating whether the RPC parameter is optional.
449
+ */
450
+ export interface IRpcParam {
451
+ name: string;
452
+ type: string;
453
+ isOptional?: boolean;
454
+ }
455
+ /**
456
+ * @name IRpcMethod
457
+ * @description Interface for defining RPC methods.
458
+ * @property description - A brief description of the RPC method.
459
+ * @property params - An array of IRpcParam defining the parameters of the method.
460
+ * @property type - The return type of the RPC method.
461
+ */
462
+ export interface IRpcMethod {
463
+ description: string;
464
+ params: IRpcParam[];
465
+ type: string;
466
+ }
467
+ /**
468
+ * @name IRpcModule
469
+ * @description Interface for defining RPC modules.
470
+ * It is a dictionary where each key is a method name and the value is an IRpcMethod.
471
+ */
472
+ export interface IRpcModule {
473
+ [methodName: string]: IRpcMethod;
474
+ }
475
+ /**
476
+ * @name IRpcBundle
477
+ * @description Interface for defining RPC bundles.
478
+ * It is a dictionary where each key is a module name and the value is an IRpcModule.
479
+ */
480
+ export interface IRpcBundle {
481
+ [moduleName: string]: IRpcModule;
482
+ }
483
+ /**
484
+ * Represents a collection of GenericData.
485
+ * It's an object where each key is a string and the corresponding value is a GenericData object.
486
+ *
487
+ * @example
488
+ * ```typescript
489
+ * const example: TypesBundle = {
490
+ * ContainerChainGenesisData: {
491
+ * id: "Vec<u8>"
492
+ * }
493
+ * };
494
+ * ```
495
+ */
496
+ export type TypesBundle = {
497
+ [key: string]: GenericData;
498
+ };
499
+ export type GenericData = {
500
+ [key: string]: string;
501
+ };
502
+ export interface OrcOptionsInterface {
503
+ monitor?: boolean;
504
+ spawnConcurrency?: number;
505
+ inCI?: boolean;
506
+ dir?: string;
507
+ force?: boolean;
508
+ logType?: LogType;
509
+ setGlobalNetwork?: (network: object) => void;
510
+ }
511
+ /**
512
+ * `RepoSpec` type represents the configuration required to download binaries
513
+ * from a project's GitHub repository.
514
+ *
515
+ * @property {string} name - A unique identifier or name for the repo configuration.
516
+ * @property {string} ghAuthor - The GitHub username or organization under which the repository resides.
517
+ * @property {string} ghRepo - The GitHub repository name.
518
+ * @property {Bin[]} binaries - An array of binary configurations to be downloaded.
519
+ *
520
+ * @example
521
+ * {
522
+ * "name": "astar",
523
+ * "ghAuthor": "AstarNetwork",
524
+ * "ghRepo": "Astar",
525
+ * "binaries": [
526
+ * {
527
+ * "name": "astar-collator*ubuntu-x86*",
528
+ * "type": "tar",
529
+ * "defaultArgs": ["--dev", "--sealing=manual", "--no-hardware-benchmarks", "--no-telemetry"]
530
+ * }
531
+ * ]
532
+ * }
533
+ */
534
+ export type RepoSpec = {
535
+ name: string;
536
+ ghAuthor: string;
537
+ ghRepo: string;
538
+ binaries: Bin[];
539
+ };
540
+ /**
541
+ * `Bin` type defines the binary configurations within a `RepoSpec`.
542
+ *
543
+ * @property {string} name - The name or pattern to identify the binary.
544
+ * @property {string[]?} defaultArgs - An optional array of default arguments to be used with the binary.
545
+ *
546
+ * @example
547
+ * {
548
+ * "name": "hydration"
549
+ * }
550
+ *
551
+ * @example
552
+ * {
553
+ * "name": "astar-collator*ubuntu-x86*",
554
+ * "defaultArgs": ["--dev", "--sealing=manual", "--no-hardware-benchmarks", "--no-telemetry"]
555
+ * }
556
+ */
557
+ export type Bin = {
558
+ name: string;
559
+ defaultArgs?: string[];
560
+ };
561
+ export type ForkConfig = {
562
+ /**
563
+ * The URL to fork from
564
+ */
565
+ url: string;
566
+ /**
567
+ * The block hash to fork from
568
+ */
569
+ blockHash?: string;
570
+ /**
571
+ * The state override path (optional)
572
+ */
573
+ stateOverridePath?: string;
574
+ /**
575
+ * Turns on trace logging for LazyLoading service (optional)
576
+ */
577
+ verbose?: boolean;
578
+ };
579
+ /**
580
+ * Vitest 4 pool configuration for multi-threaded test execution.
581
+ * Pool-specific options are now top-level (no more nested poolOptions).
582
+ */
583
+ export type MultiThreadConfig = {
584
+ /**
585
+ * The pool type to use for test execution.
586
+ * - `threads`: Worker threads (default)
587
+ * - `forks`: Child processes
588
+ * - `vmThreads`: VM threads with isolated contexts
589
+ * - `typescript`: TypeScript worker threads
590
+ */
591
+ pool: "threads" | "forks" | "vmThreads" | "typescript";
592
+ /**
593
+ * Maximum number of workers to run tests in parallel.
594
+ * Use `1` to run tests sequentially within the pool.
595
+ */
596
+ maxWorkers?: number;
597
+ /**
598
+ * Isolate environment for each test file.
599
+ * @default true
600
+ */
601
+ isolate?: boolean;
602
+ /**
603
+ * Memory limit per worker as fraction of total memory (vmThreads only).
604
+ * Example: 0.25 = 25% of available memory.
605
+ * Maps to Vitest's vmMemoryLimit option.
606
+ */
607
+ memoryLimit?: number;
608
+ };
609
+ //# sourceMappingURL=config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/api/types/config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,UAAU,MAAM,YAAY,CAAC;AACzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEhD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,YAAY,EAAE,WAAW,EAAE,CAAC;IAE5B;;;QAGI;IACJ,eAAe,CAAC,EAAE,QAAQ,EAAE,CAAC;CAC9B,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG;QAAE,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEzD;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,EAAE,MAAM,EAAE,CAAC;IAEtB;;OAEG;IACH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