{ "$schema": "https://raw.githubusercontent.com/Moonsong-Labs/moonwall/main/packages/types/config_schema.json", "label": "MasterConfig 🌔", "defaultTestTimeout": 120000, "scriptsDir": "scripts/", "additionalRepos": [ { "name": "polkadot-sdk", "ghAuthor": "paritytech", "ghRepo": "polkadot-sdk", "binaries": [ { "name": "polkadot", "defaultArgs": [] }, { "name": "polkadot-execute-worker", "defaultArgs": [] }, { "name": "polkadot-prepare-worker", "defaultArgs": [] } ] } ], "environments": [ { "name": "zombie_moonbeam", "testFileDir": ["suites/zombie"], "multiThreads": false, "runScripts": ["download-polkadot.sh"], "foundation": { "rtUpgradePath": "../target/debug/wbuild/moonbeam-runtime/moonbeam_runtime.compact.compressed.wasm", "type": "zombie", "zombieSpec": { "configPath": "./configs/zombieMoonbeam.json" } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "viem", "type": "viem", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "parachain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "relaychain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33356"] } ] }, { "name": "zombie_moonriver", "testFileDir": ["suites/zombie"], "multiThreads": false, "runScripts": ["download-polkadot.sh"], "foundation": { "rtUpgradePath": "../target/debug/wbuild/moonriver-runtime/moonriver_runtime.compact.compressed.wasm", "type": "zombie", "zombieSpec": { "configPath": "./configs/zombieMoonriver.json" } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "viem", "type": "viem", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "parachain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "relaychain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33356"] } ] }, { "name": "zombie_moonbase", "testFileDir": ["suites/zombie"], "multiThreads": false, "runScripts": ["download-polkadot.sh"], "foundation": { "rtUpgradePath": "../target/debug/wbuild/moonbase-runtime/moonbase_runtime.compact.compressed.wasm", "type": "zombie", "zombieSpec": { "configPath": "./configs/zombieAlphanet.json" } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "viem", "type": "viem", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "parachain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33048"] }, { "name": "relaychain", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:33356"] } ] }, { "name": "smoke_stagenet", "contracts": "contracts/", "testFileDir": ["/suites/smoke"], "runScripts": ["compile-contracts.ts compile"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResults.json" }, "multiThreads": false, "foundation": { "type": "read_only", "launchSpec": { "rateLimiter": { "minTime": 150, "maxConcurrent": 5 } } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["wss://wss.api.moondev.network"] }, { "name": "viem", "type": "viem", "endpoints": ["wss://wss.api.moondev.network"] }, { "name": "para", "type": "polkadotJs", "endpoints": ["wss://wss.api.moondev.network"], "rpc": { "moon": { "isBlockFinalized": { "params": [ { "name": "blockHash", "type": "Hash" } ], "type": "bool" } } } }, { "endpoints": [ "wss://asset-hub-polkadot-rpc.n.dwellir.com" ], "name": "asset-hub", "type": "polkadotJs" }, { "name": "relay", "type": "polkadotJs", "endpoints": ["wss://stagenet-relay.api.moondev.network"] } ] }, { "name": "smoke_moonriver", "testFileDir": ["/suites/smoke"], "contracts": "contracts/", "runScripts": ["compile-contracts.ts compile"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResults.json" }, "multiThreads": false, "foundation": { "type": "read_only", "launchSpec": { "rateLimiter": { "minTime": 150, "maxConcurrent": 5 } } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["wss://wss.moonriver.moonbeam.network"] }, { "name": "viem", "type": "viem", "endpoints": ["wss://wss.moonriver.moonbeam.network"] }, { "name": "para", "type": "polkadotJs", "endpoints": ["wss://wss.moonriver.moonbeam.network"], "rpc": { "moon": { "isBlockFinalized": { "params": [ { "name": "blockHash", "type": "Hash" } ], "type": "bool" } } } }, { "endpoints": [ "wss://asset-hub-polkadot-rpc.n.dwellir.com" ], "name": "asset-hub", "type": "polkadotJs" }, { "name": "relay", "type": "polkadotJs", "endpoints": ["wss://kusama-rpc.polkadot.io"] } ] }, { "name": "smoke_moonbeam", "testFileDir": ["/suites/smoke"], "contracts": "contracts/", "runScripts": ["compile-contracts.ts compile"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResults.json" }, "multiThreads": false, "foundation": { "type": "read_only", "launchSpec": { "rateLimiter": { "minTime": 150, "maxConcurrent": 5 } } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["wss://wss.api.moonbeam.network"] }, { "name": "viem", "type": "viem", "endpoints": ["wss://wss.api.moonbeam.network"] }, { "name": "para", "type": "polkadotJs", "endpoints": ["wss://wss.api.moonbeam.network"], "rpc": { "moon": { "isBlockFinalized": { "params": [ { "name": "blockHash", "type": "Hash" } ], "type": "bool" } } } }, { "endpoints": [ "wss://asset-hub-polkadot-rpc.n.dwellir.com" ], "name": "asset-hub", "type": "polkadotJs" }, { "name": "relay", "type": "polkadotJs", "endpoints": ["wss://rpc.polkadot.io"] } ] }, { "name": "smoke_alphanet", "testFileDir": ["/suites/smoke"], "contracts": "contracts/", "runScripts": ["compile-contracts.ts compile"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResults.json" }, "envVars": ["DEBUG_COLORS=1"], "multiThreads": false, "foundation": { "type": "read_only", "launchSpec": { "rateLimiter": { "minTime": 150, "maxConcurrent": 5 } } }, "connections": [ { "name": "ethers", "type": "ethers", "endpoints": ["wss://wss.api.moonbase.moonbeam.network"] }, { "name": "viem", "type": "viem", "endpoints": ["wss://wss.api.moonbase.moonbeam.network"] }, { "name": "para", "type": "polkadotJs", "endpoints": ["wss://wss.api.moonbase.moonbeam.network"], "rpc": { "moon": { "isBlockFinalized": { "description": "Just a test method", "params": [ { "name": "blockHash", "type": "Hash" } ], "type": "bool" } } } }, { "endpoints": [ "wss://asset-hub-polkadot-rpc.n.dwellir.com" ], "name": "asset-hub", "type": "polkadotJs" }, { "name": "relay", "type": "polkadotJs", "endpoints": ["wss://relay.api.moonbase.moonbeam.network"] } ] }, { "name": "lazy_loading_moonbeam", "testFileDir": ["suites/lazy-loading/common", "suites/lazy-loading/moonbeam"], "include": ["**/*test*.ts"], "timeout": 180000, "contracts": "contracts/", "runScripts": [ "compile-contracts.ts compile", "compile-wasm.ts compile -b ../target/debug/moonbeam -o wasm -c moonbeam-dev", "prepare-lazy-loading-overrides.ts process configs/lazyLoadingStateOverrides.json tmp/lazyLoadingStateOverrides.json ../target/debug/wbuild/moonbeam-runtime/moonbeam_runtime.compact.compressed.wasm" ], "multiThreads": false, "envVars": ["DEBUG_COLORS=1"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResultsLazyLoadingMoonbeam.json" }, "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "../target/debug/moonbeam", "newRpcBehaviour": true, "legacy": false, "options": [ "--lazy-loading-delay-between-requests=10", "--lazy-loading-max-retries-per-request=10", "--lazy-loading-cache-path=tmp/lazy-loading-cache-moonbeam", "--lazy-loading-startup-delay=0", "--ethapi=txpool", "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", "--force-authoring", "--rpc-cors=all", "--alice", "--sealing=manual", "--tmp", "--max-pov-percentage=100" ], "defaultForkConfig": { "url": "https://trace.api.moonbeam.network", "stateOverridePath": "tmp/lazyLoadingStateOverrides.json", "verbose": true } } ] } }, { "name": "dev_moonbeam", "testFileDir": ["suites/dev/moonbeam", "suites/dev/common"], "include": ["**/*test*.ts"], "timeout": 180000, "contracts": "contracts/", "runScripts": [ "compile-contracts.ts compile", "compile-wasm.ts compile -b ../target/debug/moonbeam -o wasm -c moonbeam-dev" ], "multiThreads": 4, "envVars": ["DEBUG_COLORS=1"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResultsMoonbeam.json" }, "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "../target/debug/moonbeam", "newRpcBehaviour": true, "legacy": false, "options": [ "--ethapi=txpool", "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", "--force-authoring", "--rpc-cors=all", "--alice", "--chain=tmp/moonbeam-dev-raw.json", "--sealing=manual", "--tmp", "--max-pov-percentage=100" ] } ] } }, { "name": "dev_moonriver", "testFileDir": ["suites/dev/common"], "include": ["**/*test*.ts"], "timeout": 180000, "contracts": "contracts/", "runScripts": [ "compile-contracts.ts compile", "compile-wasm.ts compile -b ../target/debug/moonbeam -o wasm -c moonriver-dev" ], "multiThreads": 8, "envVars": ["DEBUG_COLORS=1"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResultsMoonriver.json" }, "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "../target/debug/moonbeam", "newRpcBehaviour": true, "legacy": false, "options": [ "--ethapi=txpool", "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", "--force-authoring", "--rpc-cors=all", "--alice", "--chain=tmp/moonriver-dev-raw.json", "--sealing=manual", "--tmp", "--max-pov-percentage=100" ] } ] } }, { "name": "dev_moonbase", "testFileDir": ["suites/dev/moonbase", "suites/dev/common"], "include": ["**/*test*.ts"], "timeout": 180000, "contracts": "contracts/", "runScripts": [ "compile-contracts.ts compile", "compile-wasm.ts compile -b ../target/debug/moonbeam -o wasm -c moonbase-dev" ], "multiThreads": 4, "envVars": ["DEBUG_COLORS=1"], "reporters": ["basic", "html", "json"], "reportFile": { "json": "./tmp/testResultsMoonbase.json" }, "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "../target/debug/moonbeam", "newRpcBehaviour": true, "legacy": false, "options": [ "--ethapi=txpool", "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", "--force-authoring", "--rpc-cors=all", "--alice", "--chain=tmp/moonbase-dev-raw.json", "--sealing=manual", "--tmp", "--max-pov-percentage=100" ] } ] } }, { "name": "dev_moonbase_tracing", "testFileDir": ["suites/tracing-tests"], "include": ["**/*test*.ts"], "contracts": "contracts/", "runScripts": [ "compile-contracts.ts compile", "compile-wasm.ts compile -b ../target/debug/moonbeam -o wasm -c moonbase-dev" ], "multiThreads": 4, "envVars": ["DEBUG_COLORS=1"], "reporters": ["html", "basic"], "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "../target/debug/moonbeam", "newRpcBehaviour": true, "options": [ "--ethapi=txpool,debug,trace", "--no-hardware-benchmarks", "--no-telemetry", "--wasmtime-precompiled=wasm", "--unsafe-force-node-key-generation", "--reserved-only", "--no-grandpa", "--no-prometheus", "--force-authoring", "--rpc-cors=all", "--alice", "--chain=tmp/moonbase-dev-raw.json", "--sealing=manual", "--tmp", "--wasm-runtime-overrides=moonbase-overrides", "--blocks-pruning=archive", "--max-pov-percentage=100" ] } ] } }, { "name": "dev_moonbase_custom", "testFileDir": ["suites/dev/"], "contracts": "contracts/", "runScripts": ["compile-contracts.ts compile"], "envVars": ["DEBUG_COLORS=1"], "foundation": { "type": "dev", "launchSpec": [ { "name": "moonbeam", "binPath": "./tmp/moonbeam", "ports": { "p2pPort": 30333, "rpcPort": 9944 }, "newRpcBehaviour": true, "options": [ "--dev", "--no-hardware-benchmarks", "--no-telemetry", "--reserved-only", "--rpc-cors=all", "--no-grandpa", "--unsafe-force-node-key-generation", "--unsafe-rpc-external", "--sealing=manual", "--force-authoring", "--no-prometheus" ] } ] }, "connections": [ { "name": "w3", "type": "web3", "endpoints": ["ws://127.0.0.1:9944"] }, { "name": "ethers", "type": "ethers", "endpoints": ["ws://127.0.0.1:9944"] }, { "name": "mb", "type": "polkadotJs", "endpoints": ["ws://127.0.0.1:9944"] } ] }, { "name": "upgrade_moonbeam", "testFileDir": ["suites/chopsticks/"], "foundation": { "type": "chopsticks", "rtUpgradePath": "../target/debug/wbuild/moonbeam-runtime/moonbeam_runtime.compact.compressed.wasm", "launchSpec": [ { "name": "mb", "type": "parachain", "allowUnresolvedImports": true, "configPath": "./configs/moonbeam.yml", "newBlockTimeout": 300000 } ] }, "connections": [ { "name": "mb", "type": "polkadotJs", "endpoints": ["ws://localhost:8000"] } ] }, { "name": "upgrade_moonriver", "testFileDir": ["suites/chopsticks/"], "foundation": { "type": "chopsticks", "rtUpgradePath": "../target/debug/wbuild/moonriver-runtime/moonriver_runtime.compact.compressed.wasm", "launchSpec": [ { "name": "mb", "type": "parachain", "allowUnresolvedImports": true, "configPath": "./configs/moonriver.yml", "newBlockTimeout": 300000 } ] }, "connections": [ { "name": "mb", "type": "polkadotJs", "endpoints": ["ws://localhost:8000"] } ] }, { "name": "upgrade_moonbase", "testFileDir": ["suites/chopsticks/"], "foundation": { "type": "chopsticks", "rtUpgradePath": "../target/debug/wbuild/moonbase-runtime/moonbase_runtime.compact.compressed.wasm", "launchSpec": [ { "name": "mb", "type": "parachain", "allowUnresolvedImports": true, "configPath": "./configs/alphanet.yml", "newBlockTimeout": 300000 } ] }, "connections": [ { "name": "mb", "type": "polkadotJs", "endpoints": ["ws://localhost:8000"] } ] } ] }