Skip to content

Commit b01ba61

Browse files
authored
Update Chopsticks to 1.3.1 to fix Basilisk XCM tests (#596)
* Bump block numbers * Bump yarn version, dependencies (Chopsticks -> 1.3.1) * Remove unstalbe balance snapshots from nom. pools test Fees were included in snapshots by mistake. * Update nom. pools snapshots * Update Basilisk XCM snapshots * Update gitignore with Opencode * Remove mistakenly added test * Update People Kusama proxy snapshots * Update Karura <-> Shiden XCM test snaps * Update KAH <-> Karura XCM snaps * Update KAH Proxy snaps * Update Karura <-> Bifrost K XCM snaps * Update Bifrost K <-> KAH XCM snaps * Update Encointer Kusama <-> KAH XCM snaps There has been a change to HRMP data decoding, so one of the tests has been disabled. * Update KAH <-> People Kusama XCM snaps * Update KAH governance snaps * Update BHK proxy snaps * Update Coretime Kusama proxy snaps * Update remainder of Kusama proxy snaps * Update remote proxy snaps * Update KAH scheduler snaps * Update staking (P & K) snaps Remove `set_invulnerables` tests, as it has been removed. * Update bounties tests' snapshots with new bounty proposal amount * Update People Polkadot proxy block provider * Update multisig/multisig+proxy E2E snapshots * Update Kusama relay configuration E2E tests/snaps * Update KAH vesting snaps * Update KAH <-> Coretime Kusama XCM snaps * Update KAH <-> BHK XCM snaps * Bump block numbers * Skip KAH/PAH <-> BridgeHub XCM tests pending investigation * Update Polkadot XCM snapshots * Update remaining Polkadot e2e snapshots * Remove dead setInvulnerables code and unused schedulerTtl * Bump biome * Fix vitest config warnings: drop vite-tsconfig-paths plugin, set oxc:false * Update remaining PAH snaps * Update Collectives scheduler snapshots * UpdatePolkadot relay configuration's E2E snaps * notePreimage and ensureUpdated are no longer filtered on Polkadot relay * Remove stale comment from KAH postAhmFiltering test * Move preimage to commonUnfilteredTests, simplify postAhm test files
1 parent d434e6f commit b01ba61

86 files changed

Lines changed: 1363 additions & 2966 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ dist
120120
/.claude/settings.local.json
121121
*.local.md
122122
.sisyphus/*
123+
.opencode/*
Lines changed: 288 additions & 288 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-4.13.0.cjs
3+
yarnPath: .yarn/releases/yarn-4.14.1.cjs
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
ASSETHUBKUSAMA_BLOCK_NUMBER=15574522
2-
BASILISK_BLOCK_NUMBER=13861581
3-
BIFROSTKUSAMA_BLOCK_NUMBER=13405501
4-
BRIDGEHUBKUSAMA_BLOCK_NUMBER=7994810
5-
CORETIMEKUSAMA_BLOCK_NUMBER=4930183
6-
ENCOINTERKUSAMA_BLOCK_NUMBER=13264547
7-
KARURA_BLOCK_NUMBER=11360932
8-
KUSAMA_BLOCK_NUMBER=33088991
9-
MOONRIVER_BLOCK_NUMBER=15883530
10-
PEOPLEKUSAMA_BLOCK_NUMBER=8639534
11-
SHIDEN_BLOCK_NUMBER=14431788
1+
ASSETHUBKUSAMA_BLOCK_NUMBER=16006400
2+
BASILISK_BLOCK_NUMBER=13951593
3+
BIFROSTKUSAMA_BLOCK_NUMBER=13561899
4+
BRIDGEHUBKUSAMA_BLOCK_NUMBER=8072888
5+
CORETIMEKUSAMA_BLOCK_NUMBER=5008129
6+
ENCOINTERKUSAMA_BLOCK_NUMBER=13396610
7+
KARURA_BLOCK_NUMBER=11439274
8+
KUSAMA_BLOCK_NUMBER=33246271
9+
MOONRIVER_BLOCK_NUMBER=16030812
10+
PEOPLEKUSAMA_BLOCK_NUMBER=8796038
11+
SHIDEN_BLOCK_NUMBER=14559359
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
ACALA_BLOCK_NUMBER=10902025
2-
ASSETHUBPOLKADOT_BLOCK_NUMBER=14533018
3-
ASTAR_BLOCK_NUMBER=12990763
4-
BIFROSTPOLKADOT_BLOCK_NUMBER=11857098
5-
BRIDGEHUBPOLKADOT_BLOCK_NUMBER=7440339
6-
COLLECTIVESPOLKADOT_BLOCK_NUMBER=8646902
7-
CORETIMEPOLKADOT_BLOCK_NUMBER=4031499
8-
HYDRATION_BLOCK_NUMBER=12083573
9-
MOONBEAM_BLOCK_NUMBER=15213256
10-
PEOPLEPOLKADOT_BLOCK_NUMBER=4364097
11-
POLKADOT_BLOCK_NUMBER=30792329
1+
ACALA_BLOCK_NUMBER=10981609
2+
ASSETHUBPOLKADOT_BLOCK_NUMBER=14950250
3+
ASTAR_BLOCK_NUMBER=13117880
4+
BIFROSTPOLKADOT_BLOCK_NUMBER=11998294
5+
BRIDGEHUBPOLKADOT_BLOCK_NUMBER=7519403
6+
COLLECTIVESPOLKADOT_BLOCK_NUMBER=8726229
7+
CORETIMEPOLKADOT_BLOCK_NUMBER=4110309
8+
HYDRATION_BLOCK_NUMBER=12203899
9+
MOONBEAM_BLOCK_NUMBER=15363891
10+
PEOPLEPOLKADOT_BLOCK_NUMBER=4435926
11+
POLKADOT_BLOCK_NUMBER=30952026

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.12/schema.json",
33
"vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true },
44
"files": {
55
"ignoreUnknown": false,

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@
3838
"brace-expansion": "^5.0.2",
3939
"node-gyp": "^11.0.0"
4040
},
41-
"packageManager": "yarn@4.13.0",
41+
"packageManager": "yarn@4.14.1",
4242
"dependencies": {
4343
"@e2e-test/networks": "workspace:*",
44-
"@swc/core": "^1.15.24",
44+
"@swc/core": "^1.15.30",
4545
"lodash": "^4.18.1",
4646
"ts-pattern": "^5.9.0",
47-
"typescript": "^6.0.2",
48-
"vitest": "^4.1.4"
47+
"typescript": "^6.0.3",
48+
"vitest": "^4.1.5"
4949
},
5050
"devDependencies": {
51-
"@biomejs/biome": "2.4.11",
51+
"@biomejs/biome": "2.4.12",
5252
"@types/lodash": "^4.17.24",
5353
"@types/node": "^25.6.0",
54-
"@vitest/ui": "^4.1.4",
54+
"@vitest/ui": "^4.1.5",
5555
"dotenv": "^17.4.2",
5656
"husky": "^9.1.7",
5757
"lint-staged": "^16.4.0",

packages/kusama/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@e2e-test/kusama",
33
"type": "module",
44
"dependencies": {
5-
"@acala-network/chopsticks-testing": "^1.3.0",
5+
"@acala-network/chopsticks-testing": "^1.3.1",
66
"@e2e-test/shared": "workspace:*"
77
}
88
}

packages/kusama/src/__snapshots__/assetHubKusama.bounties.e2e.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ exports[`Kusama Asset Hub Bounties > All bounty success tests > Bounty Closure T
545545
[
546546
{
547547
"data": {
548-
"bond": "(rounded 72000000)",
548+
"bond": "(rounded 330000000000)",
549549
"index": "(redacted)",
550550
},
551551
"method": "BountyRejected",
@@ -558,7 +558,7 @@ exports[`Kusama Asset Hub Bounties > All bounty success tests > Bounty Closure T
558558
[
559559
{
560560
"data": {
561-
"amount": "(rounded 72000000)",
561+
"amount": "(rounded 330000000000)",
562562
"who": "(redacted)",
563563
},
564564
"method": "Slashed",

packages/kusama/src/__snapshots__/assetHubKusama.bridgeHubKusama.xcm.test.ts.snap

Lines changed: 10 additions & 158 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ exports[`assetHubKusama & bridgeHubKusama > assetHubKusama transfer KSM to bridg
44
{
55
"consumers": 0,
66
"data": {
7-
"flags": "0x80000000000000000000000000000000",
8-
"free": "(rounded 9000000000000)",
7+
"flags": 0,
8+
"free": 10000000000000,
99
"frozen": 0,
1010
"reserved": 0,
1111
},
12-
"nonce": 1,
12+
"nonce": 0,
1313
"providers": 1,
1414
"sufficients": 0,
1515
}
@@ -30,81 +30,7 @@ exports[`assetHubKusama & bridgeHubKusama > assetHubKusama transfer KSM to bridg
3030
}
3131
`;
3232

33-
exports[`assetHubKusama & bridgeHubKusama > assetHubKusama transfer KSM to bridgeHubKusama > from chain hrmp messages 1`] = `
34-
[
35-
{
36-
"data": [
37-
"ConcatenatedVersionedXcm",
38-
{
39-
"v5": [
40-
{
41-
"receiveTeleportedAsset": [
42-
{
43-
"fun": {
44-
"fungible": 1000000000000,
45-
},
46-
"id": {
47-
"interior": {
48-
"here": null,
49-
},
50-
"parents": 1,
51-
},
52-
},
53-
],
54-
},
55-
{
56-
"clearOrigin": null,
57-
},
58-
{
59-
"buyExecution": {
60-
"fees": {
61-
"fun": {
62-
"fungible": 1000000000000,
63-
},
64-
"id": {
65-
"interior": {
66-
"here": null,
67-
},
68-
"parents": 1,
69-
},
70-
},
71-
"weightLimit": {
72-
"unlimited": null,
73-
},
74-
},
75-
},
76-
{
77-
"depositAsset": {
78-
"assets": {
79-
"wild": {
80-
"allCounted": 1,
81-
},
82-
},
83-
"beneficiary": {
84-
"interior": {
85-
"x1": [
86-
{
87-
"accountId32": {
88-
"id": "0x5e639b43e0052c47447dac87d6fd2b6ec50bdd4d0f614e4299c665249bbd09d9",
89-
"network": null,
90-
},
91-
},
92-
],
93-
},
94-
"parents": 0,
95-
},
96-
},
97-
},
98-
{
99-
"setTopic": "(redacted)",
100-
},
101-
],
102-
},
103-
],
104-
"recipient": 1002,
105-
},
106-
]
107-
`;
33+
exports[`assetHubKusama & bridgeHubKusama > assetHubKusama transfer KSM to bridgeHubKusama > from chain hrmp messages 1`] = `[]`;
10834

10935
exports[`assetHubKusama & bridgeHubKusama > assetHubKusama transfer KSM to bridgeHubKusama > to chain xcm events 1`] = `
11036
[
@@ -261,12 +187,12 @@ exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to asse
261187
{
262188
"consumers": 0,
263189
"data": {
264-
"flags": "0x80000000000000000000000000000000",
265-
"free": "(rounded 9000000000000)",
190+
"flags": 0,
191+
"free": 10000000000000,
266192
"frozen": 0,
267193
"reserved": 0,
268194
},
269-
"nonce": 1,
195+
"nonce": 0,
270196
"providers": 1,
271197
"sufficients": 0,
272198
}
@@ -287,81 +213,7 @@ exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to asse
287213
}
288214
`;
289215

290-
exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to assetHubKusama > from chain hrmp messages 1`] = `
291-
[
292-
{
293-
"data": [
294-
"ConcatenatedVersionedXcm",
295-
{
296-
"v5": [
297-
{
298-
"receiveTeleportedAsset": [
299-
{
300-
"fun": {
301-
"fungible": 1000000000000,
302-
},
303-
"id": {
304-
"interior": {
305-
"here": null,
306-
},
307-
"parents": 1,
308-
},
309-
},
310-
],
311-
},
312-
{
313-
"clearOrigin": null,
314-
},
315-
{
316-
"buyExecution": {
317-
"fees": {
318-
"fun": {
319-
"fungible": 1000000000000,
320-
},
321-
"id": {
322-
"interior": {
323-
"here": null,
324-
},
325-
"parents": 1,
326-
},
327-
},
328-
"weightLimit": {
329-
"unlimited": null,
330-
},
331-
},
332-
},
333-
{
334-
"depositAsset": {
335-
"assets": {
336-
"wild": {
337-
"allCounted": 1,
338-
},
339-
},
340-
"beneficiary": {
341-
"interior": {
342-
"x1": [
343-
{
344-
"accountId32": {
345-
"id": "0x5e639b43e0052c47447dac87d6fd2b6ec50bdd4d0f614e4299c665249bbd09d9",
346-
"network": null,
347-
},
348-
},
349-
],
350-
},
351-
"parents": 0,
352-
},
353-
},
354-
},
355-
{
356-
"setTopic": "(redacted)",
357-
},
358-
],
359-
},
360-
],
361-
"recipient": 1000,
362-
},
363-
]
364-
`;
216+
exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to assetHubKusama > from chain hrmp messages 1`] = `[]`;
365217

366218
exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to assetHubKusama > to chain xcm events 1`] = `
367219
[
@@ -373,7 +225,7 @@ exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to asse
373225
},
374226
"success": true,
375227
"weightUsed": {
376-
"proofSize": "(rounded 9000)",
228+
"proofSize": "(rounded 10000)",
377229
"refTime": "(rounded 300000000)",
378230
},
379231
},
@@ -391,7 +243,7 @@ exports[`assetHubKusama & bridgeHubKusama > bridgeHubKusama transfer KSM to asse
391243
"Complete": {
392244
"used": {
393245
"proofSize": "(rounded 4000)",
394-
"refTime": "(rounded 200000000)",
246+
"refTime": "(rounded 100000000)",
395247
},
396248
},
397249
},

0 commit comments

Comments
 (0)