Skip to content

Commit a83920a

Browse files
committed
Rename all tests
1 parent 95b9649 commit a83920a

File tree

342 files changed

+342
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

342 files changed

+342
-342
lines changed

test/suites/chopsticks/test-upgrade-chain.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
55
import { parseEther } from "ethers";
66

77
describeSuite({
8-
id: "R01",
8+
id: "C01",
99
title: "Chopsticks Upgrade",
1010
foundationMethods: "chopsticks",
1111
testCases: ({ it, context, log }) => {

test/suites/dev/moonbase/sample/sample_basic.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { BN } from "@polkadot/util";
55
import { ApiPromise } from "@polkadot/api";
66

77
describeSuite({
8-
id: "D014001",
8+
id: "D014201",
99
title: "Dev test suite",
1010
foundationMethods: "dev",
1111
testCases: ({ it, context, log }) => {

test/suites/dev/moonbase/test-democracy/test-democracy-preimage.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { blake2AsHex } from "@polkadot/util-crypto";
55
import { generatePrivateKey, privateKeyToAccount } from "viem/accounts";
66

77
describeSuite({
8-
id: "D010902",
8+
id: "D010901",
99
title: "Democracy - Preimage",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-democracy/test-democracy-referendum.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { beforeEach, describeSuite, expect, instantFastTrack } from "@moonwall/c
33
import { ALITH_ADDRESS, GLMR, KeyringPair, VOTE_AMOUNT, generateKeyringPair } from "@moonwall/util";
44

55
describeSuite({
6-
id: "D010904",
6+
id: "D010902",
77
title: "Democracy - Referendum",
88
foundationMethods: "dev",
99
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-democracy/test-referenda-fast-general-admin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { alith } from "@moonwall/util";
44
import "@polkadot/api-augment";
55

66
describeSuite({
7-
id: "D4008",
7+
id: "D010903",
88
title: "Referenda - FastGeneralAdmin",
99
foundationMethods: "dev",
1010
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-democracy/test-referenda-general-admin.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { alith } from "@moonwall/util";
44
import "@polkadot/api-augment";
55

66
describeSuite({
7-
id: "D010905",
7+
id: "D010904",
88
title: "Referenda - GeneralAdmin",
99
foundationMethods: "dev",
1010
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-moonbeam-lazy-migrations/test-clear-suicided-contracts.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { expectOk } from "../../../../helpers";
1111
import { ApiPromise } from "@polkadot/api";
1212

1313
describeSuite({
14-
id: "D5001",
14+
id: "D012301",
1515
title: "Lazy Migrations Pallet - Clear Suicided Storage",
1616
foundationMethods: "dev",
1717
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-multisigs/test-multisigs.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
// TODO: Make the test cases atomic
1616

1717
describeSuite({
18-
id: "D012301",
18+
id: "D012401",
1919
title: "Multisigs - perform multisigs operations",
2020
foundationMethods: "dev",
2121
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-node-rpc/test-node-rpc-peer.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment";
22
import { customDevRpcRequest, describeSuite, expect } from "@moonwall/cli";
33

44
describeSuite({
5-
id: "D012401",
5+
id: "D012501",
66
title: "Node - RPC",
77
foundationMethods: "dev",
88
testCases: ({ context, it }) => {

test/suites/dev/moonbase/test-orbiters/test-orbiters.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { alith, baltathar, charleth, dorothy, ethan, faith, goliath } from "@moo
44
import { jumpRounds } from "../../../../helpers";
55

66
describeSuite({
7-
id: "TX01",
7+
id: "D012601",
88
title: "Orbiters",
99
foundationMethods: "dev",
1010
testCases: ({ it, context, log }) => {

test/suites/dev/moonbase/test-polkadot-js/test-polkadot-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describeSuite, expect } from "@moonwall/cli";
33
import { ALITH_ADDRESS, GLMR, generateKeyringPair } from "@moonwall/util";
44

55
describeSuite({
6-
id: "D012501",
6+
id: "D012701",
77
title: "Polkadot API",
88
foundationMethods: "dev",
99
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-polkadot-js/test-polkadot-chain-info.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import "@moonbeam-network/api-augment";
22
import { customDevRpcRequest, describeSuite, expect } from "@moonwall/cli";
33

44
describeSuite({
5-
id: "D012502",
5+
id: "D012702",
66
title: "Web3Api Information",
77
foundationMethods: "dev",
88
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-pov/test-evm-over-pov.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Abi, encodeFunctionData } from "viem";
55
import { expectEVMResult, HeavyContract, deployHeavyContracts } from "../../../../helpers";
66

77
describeSuite({
8-
id: "D012601",
8+
id: "D012801",
99
title: "PoV controlled by gasLimit",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-pov/test-evm-over-pov2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Abi, encodeFunctionData } from "viem";
55
import { HeavyContract, deployHeavyContracts } from "../../../../helpers";
66

77
describeSuite({
8-
id: "D012602",
8+
id: "D012802",
99
title: "PoV Limit (3.5Mb in Dev)",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-pov/test-lazy-migrations-storage-removal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
55
import { u128 } from "@polkadot/types";
66

77
describeSuite({
8-
id: "D012603",
8+
id: "D012803",
99
title: "Remove LocalAssets storage - PoV Size validation",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-pov/test-precompile-over-pov.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Abi, encodeFunctionData } from "viem";
1212
import { ALITH_ADDRESS, PRECOMPILE_BATCH_ADDRESS, createEthersTransaction } from "@moonwall/util";
1313

1414
describeSuite({
15-
id: "D012604",
15+
id: "D012804",
1616
title: "PoV precompile test - gasLimit",
1717
foundationMethods: "dev",
1818
testCases: ({ context, log, it }) => {

test/suites/dev/moonbase/test-pov/test-precompile-over-pov2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Abi, encodeFunctionData } from "viem";
1515
import { HeavyContract, deployHeavyContracts } from "../../../../helpers";
1616

1717
describeSuite({
18-
id: "D012605",
18+
id: "D012805",
1919
title: "PoV precompile test - PoV Limit (3.5Mb in Dev)",
2020
foundationMethods: "dev",
2121
testCases: ({ context, log, it }) => {

test/suites/dev/moonbase/test-pov/test-xcm-to-evm-pov.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
import { GAS_LIMIT_POV_RATIO } from "@moonwall/util";
1313

1414
describeSuite({
15-
id: "D012606",
15+
id: "D012806",
1616
title: "XCM to EVM - PoV tests",
1717
foundationMethods: "dev",
1818
testCases: ({ context, log, it }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-local-assets-removal.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Abi, encodeFunctionData } from "viem";
55
import { extractRevertReason } from "../../../../helpers";
66

77
describeSuite({
8-
id: "D012701",
8+
id: "D012901",
99
title: "Precompiles - Assets-ERC20 (LocalAssets Removal)",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20-low-level.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { Abi, encodeFunctionData } from "viem";
2020
import { mockAssetBalance } from "../../../../helpers";
2121

2222
describeSuite({
23-
id: "D012702",
23+
id: "D012902",
2424
title: "Precompiles - Low Level Transactions",
2525
foundationMethods: "dev",
2626
testCases: ({ context, log, it }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Abi, decodeAbiParameters, encodeFunctionData } from "viem";
77
import { mockAssetBalance } from "../../../../helpers";
88

99
describeSuite({
10-
id: "D012703",
10+
id: "D012903",
1111
title: "Precompiles - Assets-ERC20 Wasm",
1212
foundationMethods: "dev",
1313
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20a.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { mockAssetBalance } from "../../../../helpers";
88
import { Abi, encodeFunctionData } from "viem";
99

1010
describeSuite({
11-
id: "D012704",
11+
id: "D012904",
1212
title: "",
1313
foundationMethods: "dev",
1414
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20b.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { mockAssetBalance } from "../../../../helpers";
1616
import { Abi, encodeFunctionData } from "viem";
1717

1818
describeSuite({
19-
id: "D012705",
19+
id: "D012905",
2020
title: "Precompiles - Assets-ERC20 Wasm",
2121
foundationMethods: "dev",
2222
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20c.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Abi, encodeFunctionData } from "viem";
77
import { mockAssetBalance } from "../../../../helpers";
88

99
describeSuite({
10-
id: "D012706",
10+
id: "D012906",
1111
title: "Precompiles - Assets-ERC20 Wasm",
1212
foundationMethods: "dev",
1313
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Abi, encodeFunctionData } from "viem";
1313
import { mockAssetBalance } from "../../../../helpers";
1414

1515
describeSuite({
16-
id: "D012707",
16+
id: "D012907",
1717
title: "Precompiles - Assets-ERC20 Wasm",
1818
foundationMethods: "dev",
1919
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20e.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { Abi, encodeFunctionData } from "viem";
1313
import { mockAssetBalance } from "../../../../helpers";
1414

1515
describeSuite({
16-
id: "D012708",
16+
id: "D012908",
1717
title: "Precompiles - Assets-ERC20 Wasm",
1818
foundationMethods: "dev",
1919
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-assets-erc20f.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Abi, encodeFunctionData } from "viem";
77
import { mockAssetBalance } from "../../../../helpers";
88

99
describeSuite({
10-
id: "D012709",
10+
id: "D012909",
1111
title: "Precompiles - Assets-ERC20 Wasm",
1212
foundationMethods: "dev",
1313
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "../../../../helpers/precompiles.js";
99

1010
describeSuite({
11-
id: "D012710",
11+
id: "D012910",
1212
title: "Precompile Author Mapping - Set Faith first time keys",
1313
foundationMethods: "dev",
1414
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
} from "../../../../helpers/precompiles.js";
99

1010
describeSuite({
11-
id: "D012711",
11+
id: "D012911",
1212
title: "Precompile Author Mapping - Update Faith mapping to the same keys",
1313
foundationMethods: "dev",
1414
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys3.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from "../../../../helpers/precompiles.js";
1111

1212
describeSuite({
13-
id: "D012712",
13+
id: "D012912",
1414
title: "Precompile Author Mapping - Update different keys",
1515
foundationMethods: "dev",
1616
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys4.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const SELECTORS = {
1919
};
2020

2121
describeSuite({
22-
id: "D012713",
22+
id: "D012913",
2323
title: "Precompile Author Mapping - Remove Faith keys",
2424
foundationMethods: "dev",
2525
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys5.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import { encodeFunctionData } from "viem";
1010

1111
describeSuite({
12-
id: "D012714",
12+
id: "D012914",
1313
title: "Precompile Author Mapping - Removing non-existing author",
1414
foundationMethods: "dev",
1515
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys6.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { encodeFunctionData } from "viem";
1313
import { originalKeys, setAuthorMappingKeysViaPrecompile } from "../../../../helpers";
1414

1515
describeSuite({
16-
id: "D012715",
16+
id: "D012915",
1717
title: "Precompile Author Mapping - Update someone else nimbus key",
1818
foundationMethods: "dev",
1919
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys7.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FAITH_ADDRESS, FAITH_PRIVATE_KEY, getBlockExtrinsic } from "@moonwall/u
44
import { originalKeys, setAuthorMappingKeysViaPrecompile } from "../../../../helpers";
55

66
describeSuite({
7-
id: "D012716",
7+
id: "D012916",
88
title: "Precompile Author Mapping - Set Faith only 1 key",
99
foundationMethods: "dev",
1010
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping-keys8.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { FAITH_ADDRESS, FAITH_PRIVATE_KEY, getBlockExtrinsic } from "@moonwall/u
44
import { setAuthorMappingKeysViaPrecompile } from "../../../../helpers";
55

66
describeSuite({
7-
id: "D012717",
7+
id: "D012917",
88
title: "Precompile Author Mapping - Set Faith mapping with 0 keys",
99
foundationMethods: "dev",
1010
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { u8aToHex } from "@polkadot/util";
1111
import { encodeFunctionData } from "viem";
1212

1313
describeSuite({
14-
id: "D012718",
14+
id: "D012918",
1515
title: "Precompiles - author mapping",
1616
foundationMethods: "dev",
1717
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { u8aToHex } from "@polkadot/util";
1212
import { encodeFunctionData } from "viem";
1313

1414
describeSuite({
15-
id: "D012719",
15+
id: "D012919",
1616
title: "Precompiles - author mapping",
1717
foundationMethods: "dev",
1818
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-author-mapping3.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { u8aToHex } from "@polkadot/util";
1212
import { encodeFunctionData } from "viem";
1313

1414
describeSuite({
15-
id: "D012720",
15+
id: "D012920",
1616
title: "Precompiles - author mapping",
1717
foundationMethods: "dev",
1818
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-batch-gas-limit.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { extractRevertReason } from "../../../../helpers";
77
// Casting of type in solidity is performing truncation:
88
// https://docs.soliditylang.org/en/latest/types.html#conversions-between-elementary-types
99
describeSuite({
10-
id: "D012721",
10+
id: "D012921",
1111
title: "Precompile Batch - Overflowing gasLimit",
1212
foundationMethods: "dev",
1313
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-batch.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { encodeFunctionData, fromHex } from "viem";
1414
import { expectEVMResult, getSignatureParameters } from "../../../../helpers";
1515

1616
describeSuite({
17-
id: "D012722",
17+
id: "D012922",
1818
title: "Batch",
1919
foundationMethods: "dev",
2020
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-blake2.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { createViemTransaction } from "@moonwall/util";
77
import { encodeFunctionData } from "viem";
88

99
describeSuite({
10-
id: "D012723",
10+
id: "D012923",
1111
title: "Precompiles - blake2",
1212
foundationMethods: "dev",
1313
testCases: ({ context, log, it }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-bn128-bounds.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { createViemTransaction, sendRawTransaction } from "@moonwall/util";
1111
*/
1212

1313
describeSuite({
14-
id: "D012724",
14+
id: "D012924",
1515
title: "Precompiles - bn128",
1616
foundationMethods: "dev",
1717
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-bn128add.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { encodeFunctionData } from "viem";
55
import { expectEVMResult } from "../../../../helpers";
66

77
describeSuite({
8-
id: "D012725",
8+
id: "D012925",
99
title: "Precompiles - bn128add",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

test/suites/dev/moonbase/test-precompile/test-precompile-bn128mul.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { encodeFunctionData } from "viem";
55
import { expectEVMResult } from "../../../../helpers";
66

77
describeSuite({
8-
id: "D012726",
8+
id: "D012926",
99
title: "Precompiles - bn128mul",
1010
foundationMethods: "dev",
1111
testCases: ({ context, it, log }) => {

0 commit comments

Comments
 (0)