Skip to content

Commit

Permalink
Merge pull request #70 from AstarNetwork/fix/update-snaps
Browse files Browse the repository at this point in the history
update snapshots & deps
  • Loading branch information
ermalkaleci authored Sep 4, 2024
2 parents 8b11730 + 95d568f commit 0d68757
Show file tree
Hide file tree
Showing 9 changed files with 1,605 additions and 1,679 deletions.
894 changes: 0 additions & 894 deletions .yarn/releases/yarn-4.3.1.cjs

This file was deleted.

925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.1.cjs
yarnPath: .yarn/releases/yarn-4.4.1.cjs
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default tseslint.config(
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
Expand Down
5 changes: 4 additions & 1 deletion networks/astar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ export default {
},
kusama: {
name: 'shiden' as const,
endpoint: 'wss://shiden-rpc.dwellir.com',
endpoint: 'wss://rpc.shiden.astar.network',
relayToken: '340282366920938463463374607431768211455',
},
config: ({ alice, relayToken }) => ({
options: {
processQueuedMessages: false, // Astar & Shiden handles queued messages on-idle, no need to build extra block
},
storages: {
System: {
account: [[[alice.address], { providers: 1, data: { free: 10n * 10n ** 18n } }]],
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Stake Technologies <devops@stake.co.jp>",
"license": "MIT",
"private": true,
"packageManager": "yarn@4.3.1",
"packageManager": "yarn@4.4.1",
"scripts": {
"lint": "tsc --noEmit && eslint && prettier --check .",
"fix": "eslint --fix && prettier -w .",
Expand All @@ -14,29 +14,29 @@
"update-env": "tsx scripts/update-env.ts"
},
"dependencies": {
"@acala-network/chopsticks": "^0.12.2",
"@acala-network/chopsticks-testing": "^0.12.2",
"@polkadot/api": "^11.2.1",
"@acala-network/chopsticks": "^0.14.1",
"@acala-network/chopsticks-testing": "^0.14.1",
"@polkadot/api": "^12.2.1",
"@swc/core": "^1.6.13",
"axios": "^1.7.2",
"dotenv": "^16.4.5",
"lodash": "^4.17.21",
"typescript": "5.5.3",
"unplugin-swc": "^1.5.1",
"vitest": "^1.6.0"
"vitest": "^2.0"
},
"devDependencies": {
"@eslint/js": "^9.6.0",
"@eslint/js": "^9.9.1",
"@types/eslint__js": "^8.42.3",
"@types/lodash": "^4.17.6",
"@types/node": "^20.14.10",
"@vitest/ui": "^1.6.0",
"eslint": "^9.6.0",
"@types/node": "^22",
"@vitest/ui": "^2.0",
"eslint": "^9.9.1",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"tsx": "^4.16.2",
"typescript-eslint": "^7.15.0"
"typescript-eslint": "8.4"
},
"prettier": {
"tabWidth": 2,
Expand Down
4 changes: 2 additions & 2 deletions tests/xcm-transfer/__snapshots__/astar-asset-hub.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ exports[`Astar & AssetHub > 001: AssetHub transfer USDT to Astar > 002: astar ev
},
"success": true,
"weightUsed": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 990000000)",
"proofSize": "(rounded 9300)",
"refTime": "(rounded 890000000)",
},
},
"method": "Processed",
Expand Down
22 changes: 20 additions & 2 deletions tests/xcm-transfer/__snapshots__/polkadot-astar.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,32 @@ exports[`Polkadot & Astar > 001: Polkadot transfer DOT to Astar > 001: polkadot

exports[`Polkadot & Astar > 001: Polkadot transfer DOT to Astar > 002: astar event 1`] = `
[
{
"data": {
"count": 1,
},
"method": "DownwardMessagesReceived",
"section": "parachainSystem",
},
{
"data": {
"dmqHead": "(hash)",
"weightUsed": {
"proofSize": "(rounded 8000)",
"refTime": "(rounded 530000000)",
},
},
"method": "DownwardMessagesProcessed",
"section": "parachainSystem",
},
{
"data": {
"id": "(hash)",
"origin": "Parent",
"success": true,
"weightUsed": {
"proofSize": "(rounded 11000)",
"refTime": "(rounded 990000000)",
"proofSize": "(rounded 9300)",
"refTime": "(rounded 890000000)",
},
},
"method": "Processed",
Expand Down
Loading

0 comments on commit 0d68757

Please sign in to comment.