diff --git a/explorer/package-lock.json b/explorer/package-lock.json index 174b647736..fe2867e3fb 100644 --- a/explorer/package-lock.json +++ b/explorer/package-lock.json @@ -17,29 +17,29 @@ "devDependencies": { "@dusk-network/eslint-config": "3.1.0", "@dusk-network/prettier-config": "1.1.0", - "@sveltejs/adapter-static": "3.0.1", - "@sveltejs/kit": "2.5.10", + "@sveltejs/adapter-static": "3.0.2", + "@sveltejs/kit": "2.5.17", "@testing-library/jest-dom": "6.4.6", - "@testing-library/svelte": "4.1.0", + "@testing-library/svelte": "5.1.0", "@types/d3-geo": "3.1.0", - "@types/node": "20.14.2", + "@types/node": "20.14.8", "@vitest/browser": "1.6.0", "@vitest/coverage-istanbul": "1.6.0", "autoprefixer": "10.4.19", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-custom-alias": "1.3.2", - "eslint-plugin-svelte": "2.39.3", + "eslint-plugin-svelte": "2.41.0", "jsdom": "24.1.0", "jsdom-worker": "0.3.0", "lamb-types": "0.61.7", "postcss-nested": "6.0.1", "prettier": "3.3.2", - "prettier-plugin-svelte": "3.2.4", + "prettier-plugin-svelte": "3.2.5", "svelte": "4.2.18", - "svelte-check": "3.8.0", - "svelte-preprocess": "5.1.4", - "typescript": "5.4.5", + "svelte-check": "3.8.1", + "svelte-preprocess": "6.0.1", + "typescript": "5.5.2", "vite": "5.2.13", "vite-tsconfig-paths": "4.3.2", "vitest": "1.6.0" @@ -1388,9 +1388,9 @@ "license": "MIT" }, "node_modules/@sveltejs/adapter-static": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-3.0.1.tgz", - "integrity": "sha512-6lMvf7xYEJ+oGeR5L8DFJJrowkefTK6ZgA4JiMqoClMkKq0s6yvsd3FZfCFvX1fQ0tpCD7fkuRVHsnUVgsHyNg==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@sveltejs/adapter-static/-/adapter-static-3.0.2.tgz", + "integrity": "sha512-/EBFydZDwfwFfFEuF1vzUseBoRziwKP7AoHAwv+Ot3M084sE/HTVBHf9mCmXfdM9ijprY5YEugZjleflncX5fQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -1398,9 +1398,9 @@ } }, "node_modules/@sveltejs/kit": { - "version": "2.5.10", - "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.10.tgz", - "integrity": "sha512-OqoyTmFG2cYmCFAdBfW+Qxbg8m23H4dv6KqwEt7ofr/ROcfcIl3Z/VT56L22H9f0uNZyr+9Bs1eh2gedOCK9kA==", + "version": "2.5.17", + "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-2.5.17.tgz", + "integrity": "sha512-wiADwq7VreR3ctOyxilAZOfPz3Jiy2IIp2C8gfafhTdQaVuGIHllfqQm8dXZKADymKr3uShxzgLZFT+a+CM4kA==", "dev": true, "hasInstallScript": true, "license": "MIT", @@ -1574,9 +1574,9 @@ } }, "node_modules/@testing-library/svelte": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/@testing-library/svelte/-/svelte-4.1.0.tgz", - "integrity": "sha512-MJqe7x9WowkiAVdk9mvazEC2ktFZdmK2OqFVoO557PC37aBemQ4ozqdK3yrG34Zg9kuln3qgTVeLSh08e69AMw==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@testing-library/svelte/-/svelte-5.1.0.tgz", + "integrity": "sha512-8GW+rBR72U7Qql0Glxl4CtVTr6GPotYf/MB7MamIH6ZpV45i7IJIOm3oHWH4Wr6ZULdUs37F9recegQygLbC0g==", "dev": true, "license": "MIT", "dependencies": { @@ -1586,7 +1586,17 @@ "node": ">= 10" }, "peerDependencies": { - "svelte": "^3 || ^4" + "svelte": "^3 || ^4 || ^5", + "vite": "*", + "vitest": "*" + }, + "peerDependenciesMeta": { + "vite": { + "optional": true + }, + "vitest": { + "optional": true + } } }, "node_modules/@types/aria-query": { @@ -1636,9 +1646,9 @@ "peer": true }, "node_modules/@types/node": { - "version": "20.14.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.2.tgz", - "integrity": "sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q==", + "version": "20.14.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.8.tgz", + "integrity": "sha512-DO+2/jZinXfROG7j7WKFn/3C6nFwxy2lLpgLjEXJz+0XKphZlTLJ14mo8Vfg8X5BWN6XjyESXq+LcYdT7tR3bA==", "dev": true, "license": "MIT", "dependencies": { @@ -1888,9 +1898,9 @@ "license": "MIT" }, "node_modules/acorn": { - "version": "8.11.3", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", - "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.0.tgz", + "integrity": "sha512-RTvkC4w+KNXrM39/lWCUaG0IbRkWdCv7W/IOW9oU6SawyxulvkQy5HQPVTKxEjczcUvapcrw3cFx/60VN/NRNw==", "dev": true, "license": "MIT", "bin": { @@ -1911,11 +1921,14 @@ } }, "node_modules/acorn-walk": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", - "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "version": "8.3.3", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.3.tgz", + "integrity": "sha512-MxXdReSRhGO7VlFe1bRG/oI7/mdLV9B9JJT0N8vZOhF7gFRR5l3M8W9G8JxmKV+JC5mGqJ0QvqfSOLsCPa4nUw==", "dev": true, "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, "engines": { "node": ">=0.4.0" } @@ -2291,13 +2304,13 @@ } }, "node_modules/buffer-crc32": { - "version": "0.2.13", - "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", - "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-1.0.0.tgz", + "integrity": "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w==", "dev": true, "license": "MIT", "engines": { - "node": "*" + "node": ">=8.0.0" } }, "node_modules/cac": { @@ -2341,9 +2354,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001632", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001632.tgz", - "integrity": "sha512-udx3o7yHJfUxMLkGohMlVHCvFvWmirKh9JAH/d7WOLPetlH+LTL5cocMZ0t7oZx/mdlOWXti97xLZWc8uURRHg==", + "version": "1.0.30001636", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz", + "integrity": "sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==", "dev": true, "funding": [ { @@ -2891,9 +2904,9 @@ "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.4.798", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.798.tgz", - "integrity": "sha512-by9J2CiM9KPGj9qfp5U4FcPSbXJG7FNzqnYaY4WLzX+v2PHieVGmnsA4dxfpGE3QEC7JofpPZmn7Vn1B9NR2+Q==", + "version": "1.4.810", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.810.tgz", + "integrity": "sha512-Kaxhu4T7SJGpRQx99tq216gCq2nMxJo+uuT6uzz9l8TVN2stL7M06MIIXAtr9jsrLs2Glflgf2vMQRepxawOdQ==", "dev": true, "license": "ISC" }, @@ -3370,23 +3383,23 @@ } }, "node_modules/eslint-plugin-svelte": { - "version": "2.39.3", - "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.39.3.tgz", - "integrity": "sha512-uXsHW+VOSHRI3VgoDit4CURKos9wDque6CuaBNw8z6UyF5Rfc2XHmNEsRvvOd+VmMUtS+wC9bvwArv2tt4TFGA==", + "version": "2.41.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-svelte/-/eslint-plugin-svelte-2.41.0.tgz", + "integrity": "sha512-gjU9Q/psxbWG1VNwYbEb0Q6U4W5PBGaDpYmO2zlQ+zlAMVS3Qt0luAK0ACi/tMSwRK6JENiySvMyJbO0YWmXSg==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@jridgewell/sourcemap-codec": "^1.4.15", - "eslint-compat-utils": "^0.5.0", + "eslint-compat-utils": "^0.5.1", "esutils": "^2.0.3", - "known-css-properties": "^0.31.0", + "known-css-properties": "^0.34.0", "postcss": "^8.4.38", "postcss-load-config": "^3.1.4", "postcss-safe-parser": "^6.0.0", - "postcss-selector-parser": "^6.0.16", + "postcss-selector-parser": "^6.1.0", "semver": "^7.6.2", - "svelte-eslint-parser": "^0.37.0" + "svelte-eslint-parser": "^0.39.2" }, "engines": { "node": "^14.17.0 || >=16.0.0" @@ -3396,7 +3409,7 @@ }, "peerDependencies": { "eslint": "^7.0.0 || ^8.0.0-0 || ^9.0.0-0", - "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.112" + "svelte": "^3.37.0 || ^4.0.0 || ^5.0.0-next.155" }, "peerDependenciesMeta": { "svelte": { @@ -4368,13 +4381,16 @@ } }, "node_modules/is-core-module": { - "version": "2.13.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", - "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", + "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", "dev": true, "license": "MIT", "dependencies": { - "hasown": "^2.0.0" + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4909,9 +4925,9 @@ } }, "node_modules/known-css-properties": { - "version": "0.31.0", - "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.31.0.tgz", - "integrity": "sha512-sBPIUGTNF0czz0mwGGUoKKJC8Q7On1GPbCSFPfyEsfHb2DyBG0Y4QtV+EVWpINSaiGKZblDNuF5AezxSgOhesQ==", + "version": "0.34.0", + "resolved": "https://registry.npmjs.org/known-css-properties/-/known-css-properties-0.34.0.tgz", + "integrity": "sha512-tBECoUqNFbyAY4RrbqsBQqDFpGXAEbdD5QKr8kACx3+rnArmuuR22nKQWKazvp07N9yjTyDZaw/20UIH8tL9DQ==", "dev": true, "license": "MIT" }, @@ -5388,11 +5404,14 @@ "license": "MIT" }, "node_modules/object-inspect": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz", - "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==", + "version": "1.13.2", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", + "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", "dev": true, "license": "MIT", + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5879,9 +5898,9 @@ } }, "node_modules/prettier-plugin-svelte": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.2.4.tgz", - "integrity": "sha512-tZv+ADfeOWFNQkXkRh6zUXE16w3Vla8x2Ug0B/EnSmjR4EnwdwZbGgL/liSwR1kcEALU5mAAyua98HBxheCxgg==", + "version": "3.2.5", + "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-3.2.5.tgz", + "integrity": "sha512-vP/M/Goc8z4iVIvrwXwbrYVjJgA0Hf8PO1G4LBh/ocSt6vUP6sLvyu9F3ABEGr+dbKyxZjEKLkeFsWy/yYl0HQ==", "dev": true, "license": "MIT", "peerDependencies": { @@ -6380,14 +6399,14 @@ } }, "node_modules/sorcery": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/sorcery/-/sorcery-0.11.0.tgz", - "integrity": "sha512-J69LQ22xrQB1cIFJhPfgtLuI6BpWRiWu1Y3vSsIwK/eAScqJxd/+CJlUuHQRdX2C9NGFamq+KqNywGgaThwfHw==", + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/sorcery/-/sorcery-0.11.1.tgz", + "integrity": "sha512-o7npfeJE6wi6J9l0/5LKshFzZ2rMatRiCDwYeDQaOzqdzRJwALhX7mk/A/ecg6wjMu7wdZbmXfD2S/vpOg0bdQ==", "dev": true, "license": "MIT", "dependencies": { "@jridgewell/sourcemap-codec": "^1.4.14", - "buffer-crc32": "^0.2.5", + "buffer-crc32": "^1.0.0", "minimist": "^1.2.0", "sander": "^0.5.0" }, @@ -6623,9 +6642,9 @@ } }, "node_modules/svelte-check": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.8.0.tgz", - "integrity": "sha512-7Nxn+3X97oIvMzYJ7t27w00qUf1Y52irE2RU2dQAd5PyvfGp4E7NLhFKVhb6PV2fx7dCRMpNKDIuazmGthjpSQ==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/svelte-check/-/svelte-check-3.8.1.tgz", + "integrity": "sha512-KlQ0TRVe01mdvh49Ylkr9FQxO/UWbQOtaIrccl3gjgkvby1TxY41VkT7ijCl6i29FjaJPE4m6YGmhdqov0MfkA==", "dev": true, "license": "MIT", "dependencies": { @@ -6645,10 +6664,73 @@ "svelte": "^3.55.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0" } }, + "node_modules/svelte-check/node_modules/svelte-preprocess": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-5.1.4.tgz", + "integrity": "sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@types/pug": "^2.0.6", + "detect-indent": "^6.1.0", + "magic-string": "^0.30.5", + "sorcery": "^0.11.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">= 16.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.10.2", + "coffeescript": "^2.5.1", + "less": "^3.11.3 || ^4.0.0", + "postcss": "^7 || ^8", + "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", + "pug": "^3.0.0", + "sass": "^1.26.8", + "stylus": "^0.55.0", + "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0", + "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0", + "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "coffeescript": { + "optional": true + }, + "less": { + "optional": true + }, + "postcss": { + "optional": true + }, + "postcss-load-config": { + "optional": true + }, + "pug": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "typescript": { + "optional": true + } + } + }, "node_modules/svelte-eslint-parser": { - "version": "0.37.0", - "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-0.37.0.tgz", - "integrity": "sha512-AXd5ar7dcOK+H86JomxcSaWevhs2J7o/xOwg+kDQu98uuATpm+tE5Twp7u8UQCdbWKB34Idu/CZyHmTOxfSQMw==", + "version": "0.39.2", + "resolved": "https://registry.npmjs.org/svelte-eslint-parser/-/svelte-eslint-parser-0.39.2.tgz", + "integrity": "sha512-87UwLuWTtDIuzWOhOi1zBL5wYVd07M5BK1qZ57YmXJB5/UmjUNJqGy3XSOhPqjckY1dATNV9y+mx+nI0WH6HPA==", "dev": true, "license": "MIT", "dependencies": { @@ -6688,34 +6770,31 @@ } }, "node_modules/svelte-preprocess": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-5.1.4.tgz", - "integrity": "sha512-IvnbQ6D6Ao3Gg6ftiM5tdbR6aAETwjhHV+UKGf5bHGYR69RQvF1ho0JKPcbUON4vy4R7zom13jPjgdOWCQ5hDA==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/svelte-preprocess/-/svelte-preprocess-6.0.1.tgz", + "integrity": "sha512-vNgXoyqWwahdpEX9XbQHcAHt41TkXnf8bRDxT5PjISHbZD1dVH4b2OsJ2fVQTBb3qP05x0GuYE9iS5vhD+Dniw==", "dev": true, "hasInstallScript": true, "license": "MIT", "dependencies": { - "@types/pug": "^2.0.6", "detect-indent": "^6.1.0", - "magic-string": "^0.30.5", - "sorcery": "^0.11.0", "strip-indent": "^3.0.0" }, "engines": { - "node": ">= 16.0.0" + "node": ">= 18.0.0" }, "peerDependencies": { "@babel/core": "^7.10.2", "coffeescript": "^2.5.1", "less": "^3.11.3 || ^4.0.0", "postcss": "^7 || ^8", - "postcss-load-config": "^2.1.0 || ^3.0.0 || ^4.0.0 || ^5.0.0", + "postcss-load-config": ">=3", "pug": "^3.0.0", "sass": "^1.26.8", - "stylus": "^0.55.0", + "stylus": ">=0.55", "sugarss": "^2.0.0 || ^3.0.0 || ^4.0.0", - "svelte": "^3.23.0 || ^4.0.0-next.0 || ^4.0.0 || ^5.0.0-next.0", - "typescript": ">=3.9.5 || ^4.0.0 || ^5.0.0" + "svelte": "^4.0.0 || ^5.0.0-next.100 || ^5.0.0", + "typescript": "^5.0.0" }, "peerDependenciesMeta": { "@babel/core": { @@ -7046,9 +7125,9 @@ } }, "node_modules/typescript": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz", - "integrity": "sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==", + "version": "5.5.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.2.tgz", + "integrity": "sha512-NcRtPEOsPFFWjobJEtfihkLCZCXZt/os3zf8nTxjVH3RvTSxjrCamJpbExGvYOF+tFHc3pA65qpdwPbzjohhew==", "dev": true, "license": "Apache-2.0", "bin": { @@ -7527,9 +7606,9 @@ "license": "ISC" }, "node_modules/ws": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.0.tgz", - "integrity": "sha512-uJq6108EgZMAl20KagGkzCKfMEjxmKvZHG7Tlq0Z6nOky7YF7aq4mOx6xK8TJ/i1LeK4Qus7INktacctDgY8Ow==", + "version": "8.17.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz", + "integrity": "sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==", "dev": true, "license": "MIT", "engines": { diff --git a/explorer/package.json b/explorer/package.json index 95a50bd72f..0563b182be 100644 --- a/explorer/package.json +++ b/explorer/package.json @@ -43,29 +43,29 @@ "devDependencies": { "@dusk-network/eslint-config": "3.1.0", "@dusk-network/prettier-config": "1.1.0", - "@sveltejs/adapter-static": "3.0.1", - "@sveltejs/kit": "2.5.10", + "@sveltejs/adapter-static": "3.0.2", + "@sveltejs/kit": "2.5.17", "@testing-library/jest-dom": "6.4.6", - "@testing-library/svelte": "4.1.0", + "@testing-library/svelte": "5.1.0", "@types/d3-geo": "3.1.0", - "@types/node": "20.14.2", + "@types/node": "20.14.8", "@vitest/browser": "1.6.0", "@vitest/coverage-istanbul": "1.6.0", "autoprefixer": "10.4.19", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-custom-alias": "1.3.2", - "eslint-plugin-svelte": "2.39.3", + "eslint-plugin-svelte": "2.41.0", "jsdom": "24.1.0", "jsdom-worker": "0.3.0", "lamb-types": "0.61.7", "postcss-nested": "6.0.1", "prettier": "3.3.2", - "prettier-plugin-svelte": "3.2.4", + "prettier-plugin-svelte": "3.2.5", "svelte": "4.2.18", - "svelte-check": "3.8.0", - "svelte-preprocess": "5.1.4", - "typescript": "5.4.5", + "svelte-check": "3.8.1", + "svelte-preprocess": "6.0.1", + "typescript": "5.5.2", "vite": "5.2.13", "vite-tsconfig-paths": "4.3.2", "vitest": "1.6.0" diff --git a/explorer/src/lib/components/__tests__/AppAnchorButton.spec.js b/explorer/src/lib/components/__tests__/AppAnchorButton.spec.js index 25e5255e88..53013383a1 100644 --- a/explorer/src/lib/components/__tests__/AppAnchorButton.spec.js +++ b/explorer/src/lib/components/__tests__/AppAnchorButton.spec.js @@ -13,7 +13,7 @@ describe("AppAnchorButton", () => { afterEach(cleanup); - it("should render an `AnchorButton` with the base path prepended to the `href` attribute, if the `href` represents an absolute URL", () => { + it("should render an `AnchorButton` with the base path prepended to the `href` attribute, if the `href` represents an absolute URL", async () => { const { container, getByRole, rerender } = render( AppAnchorButton, baseProps @@ -25,7 +25,7 @@ describe("AppAnchorButton", () => { expect(anchorA).toHaveClass("foo bar"); expect(anchorA).toHaveAttribute("id", baseProps.id); - rerender({ ...baseProps, href: "/" }); + await rerender({ ...baseProps, href: "/" }); const anchorB = getByRole("link"); diff --git a/explorer/src/lib/components/__tests__/AppImage.spec.js b/explorer/src/lib/components/__tests__/AppImage.spec.js index e6576b638f..4adea21827 100644 --- a/explorer/src/lib/components/__tests__/AppImage.spec.js +++ b/explorer/src/lib/components/__tests__/AppImage.spec.js @@ -15,7 +15,7 @@ describe("AppImage", () => { afterEach(cleanup); - it("should render an HTML image forwarding all attributes but with the base path prepended to the `src` if it's an absolute URL", () => { + it("should render an HTML image forwarding all attributes but with the base path prepended to the `src` if it's an absolute URL", async () => { const { container, getByRole, rerender } = render(AppImage, baseProps); const imgA = getByRole("img"); @@ -26,7 +26,7 @@ describe("AppImage", () => { expect(imgA).toHaveAttribute("src", `${base}${baseProps.src}`); expect(imgA).toHaveAttribute("width", baseProps.width); - rerender({ ...baseProps, className: "baz", src: "/" }); + await rerender({ ...baseProps, className: "baz", src: "/" }); const imgB = getByRole("img"); diff --git a/explorer/src/lib/components/__tests__/AppSource.spec.js b/explorer/src/lib/components/__tests__/AppSource.spec.js index b5e81b63f6..3a6004992e 100644 --- a/explorer/src/lib/components/__tests__/AppSource.spec.js +++ b/explorer/src/lib/components/__tests__/AppSource.spec.js @@ -25,7 +25,7 @@ describe("AppSource", () => { src: "/images/some-image.jpg", }; - it("should render a source element forwarding all attributes but with the base path prepended to the `src` if it's an absolute URL", () => { + it("should render a source element forwarding all attributes but with the base path prepended to the `src` if it's an absolute URL", async () => { const { container, rerender } = render(AppSource, baseProps); const source = getSourceElementIn(container); @@ -37,7 +37,7 @@ describe("AppSource", () => { expect(source).toHaveAttribute("src", `${base}${baseProps.src}`); - rerender({ ...baseProps, src: "/" }); + await rerender({ ...baseProps, src: "/" }); expect(getSourceElementIn(container)).toHaveAttribute("src", `${base}/`); }); @@ -58,7 +58,7 @@ describe("AppSource", () => { }); describe("srcset attribute", () => { - it("should render a source element forwarding all attributes but with the base path prepended to absolute URLs in the `srcset`", () => { + it("should render a source element forwarding all attributes but with the base path prepended to absolute URLs in the `srcset`", async () => { const props = { ...commonProps, srcset: "/images/some-image.jpg 1.5x", @@ -74,14 +74,14 @@ describe("AppSource", () => { expect(source).toHaveAttribute("srcset", `${base}${props.srcset}`); - rerender({ ...props, srcset: "/images/some-image.jpg" }); + await rerender({ ...props, srcset: "/images/some-image.jpg" }); expect(getSourceElementIn(container)).toHaveAttribute( "srcset", `${base}/images/some-image.jpg` ); - rerender({ ...props, srcset: "/ 1.5x" }); + await rerender({ ...props, srcset: "/ 1.5x" }); expect(getSourceElementIn(container)).toHaveAttribute( "srcset", diff --git a/explorer/src/lib/components/__tests__/BlockDetails.spec.js b/explorer/src/lib/components/__tests__/BlockDetails.spec.js index 70f318bb07..f287acc338 100644 --- a/explorer/src/lib/components/__tests__/BlockDetails.spec.js +++ b/explorer/src/lib/components/__tests__/BlockDetails.spec.js @@ -56,14 +56,14 @@ describe("Block Details", () => { "true" ); - rerender(baseProps); + await rerender(baseProps); expect(getBlockNavLink(container, "prev")).toHaveAttribute( "aria-disabled", "false" ); - rerender(setPathIn(baseProps, "data.header.height", 0)); + await rerender(setPathIn(baseProps, "data.header.height", 0)); expect(getBlockNavLink(container, "prev")).toHaveAttribute( "aria-disabled", diff --git a/explorer/src/lib/components/__tests__/__snapshots__/AppAnchorButton.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/AppAnchorButton.spec.js.snap index b6ebcf2d01..e456bff5f0 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/AppAnchorButton.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/AppAnchorButton.spec.js.snap @@ -1,14 +1,12 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`AppAnchorButton > should render an \`AnchorButton\` with the base path prepended to the \`href\` attribute, if the \`href\` represents an absolute URL 1`] = ` -
- - - -
+ + + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/AppImage.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/AppImage.spec.js.snap index d3bbd62ab3..961eafd70d 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/AppImage.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/AppImage.spec.js.snap @@ -1,13 +1,11 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`AppImage > should render an HTML image forwarding all attributes but with the base path prepended to the \`src\` if it's an absolute URL 1`] = ` -
- Some alternative text -
+Some alternative text `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/AppSource.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/AppSource.spec.js.snap index c2d0d851f3..7fad866166 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/AppSource.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/AppSource.spec.js.snap @@ -1,25 +1,21 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`AppSource > src attribute > should render a source element forwarding all attributes but with the base path prepended to the \`src\` if it's an absolute URL 1`] = ` -
- -
+ `; exports[`AppSource > srcset attribute > should render a source element forwarding all attributes but with the base path prepended to absolute URLs in the \`srcset\` 1`] = ` -
- -
+ `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap index 54788960a1..17505578ba 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/BlockDetails.spec.js.snap @@ -1,357 +1,354 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Block Details > renders the Block Details component 1`] = ` -
-
+
-
-

+ +

+ +
+
+ - Block Details - + + + -
+ height + -
-
- height -
- -
- - - - - - - - - - - 495,868 - - - - - - - - - - - -
-
- - - - - hash -
- -
- bd5c99bb720b03500e89f103fe66113ba62f2e124ed9651563f38fd15977719f -
-
- - - - - timestamp -
+ -
- -
-
- transactions -
+ + + -
- 2 -
-
+
+ - - - - - - block fees paid -
+ + + -
+ +
+ bd5c99bb720b03500e89f103fe66113ba62f2e124ed9651563f38fd15977719f +
+
+ - 0.000580718 - DUSK - -
+ + + + timestamp +
+ +
+ +
+
+ + + + -
+ +
+ 2 +
+
+ - 16 - DUSK - -
+ + + + block fees paid +
+ +
+ 0.000580718 + DUSK +
+
+ - - - - - - block gas limit -
+ + + -
+ +
+ 16 + DUSK +
+
+ - 5,000,000,000 - -
+ + + + block gas limit +
+ +
+ 5,000,000,000 +
+
+ - - - - - - gas used -
+ + + + + gas used + + +
+ 580,718 -
- 580,718 -
-
-
- -
-
- - - - - - average fee paid -
+ class="dusk-progress-bar__filler" + style="width: 0.01161436%" + /> +
-
- 0.000000001 - DUSK -
-
+
+ - - - - - - state root hash -
+ + + -
+ +
+ 0.000000001 + DUSK +
+
+ - - 20bb0a677b93f084afadfd34bec3ac3feee33a020b81d9549afa2268e8543acb - - - - + + + + + state root hash +
-
+
+ + 20bb0a677b93f084afadfd34bec3ac3feee33a020b81d9549afa2268e8543acb + +
+ + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/BlocksList.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/BlocksList.spec.js.snap index 816033d686..037ea4f475 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/BlocksList.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/BlocksList.spec.js.snap @@ -1,195 +1,193 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Blocks List > renders the Blocks List component 1`] = ` -
-
+
-
- - - - - - block -
+ + + -
- - 495,868 - -
- -
+ +
+ - - - - - - relative time - - -
+
+ +
+ - - + + + -
+ +
+
+
+ +
+ - 0.000000001 - DUSK - + + + -
+ +
+ 0.000000001 + DUSK +
+ +
+ - - - - - - gas used -
+ + + -
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+
+ + +
+ - 2 - + + + -
+ +
+ 2 +
+ +
+ - - - - - - rewards -
+ + + -
+ +
+ - - 16 DUSK - -
- - + 16 DUSK + + + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/Footer.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/Footer.spec.js.snap index b38cf9deba..b22dccb93d 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/Footer.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/Footer.spec.js.snap @@ -1,66 +1,64 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Footer > renders the Footer component 1`] = ` -
+ `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/ListItem.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/ListItem.spec.js.snap index d6e8490d32..2501ec472c 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/ListItem.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/ListItem.spec.js.snap @@ -1,29 +1,23 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`List Item > renders the List Item component 1`] = ` -
-
+ - - - - - -
+ + + -
-
+ `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap index 76ca92f0d1..5b831c1483 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/Navbar.spec.js.snap @@ -1,128 +1,126 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Navbar > renders the Navbar component 1`] = ` -
- + + + + + + + +
+ +
- - + + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/Table.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/Table.spec.js.snap index c2319d3120..d52efb2c78 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/Table.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/Table.spec.js.snap @@ -1,55 +1,41 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Table > renders the Table component 1`] = ` -
-
- - +
+
`; exports[`Table > renders the TableBody component 1`] = ` -
-
- + `; exports[`Table > renders the TableCell component 1`] = ` -
-
- + `; exports[`Table > renders the TableRow component 1`] = ` -
-
- + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap index 5fe4ef7ad6..03b1ca1cfd 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/TransactionDetails.spec.js.snap @@ -1,658 +1,652 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Transaction Details > renders the Transaction Details component 1`] = ` -
-
+
-
-

- Transaction Details -

+ Transaction Details + + +
+ +
+
+ + + + -
+ ID + -
-
- - - - - - ID -
+ 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 + +
+ + + + -
- 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 -
-
- - - - - - block height -
+ block height + + +
+ + 487,166 + +
+
+ + + + -
- - 487,166 - -
-
- - - - - - Status -
+ Status + + +
+ + success + +
+
+ + + + -
- - success - -
-
+ +
+ +
+
+ + + + -
- -
-
- - - - - - type -
+ type + + +
+ + transfer + +
+
+ + + + -
- - transfer - -
-
- - - - - - transaction fee -
+ transaction fee + + +
+ 0.000290766 DUSK ($0.0001071037) + -
- 0.000290766 DUSK ($0.0001071037) - - -
-
- - - - - - gas price -
+ +
+ + + + -
- 0.000000001 DUSK ($0.0000000004) - - -
-
- - - - - - transaction gas limit -
+ gas price + + +
+ 0.000000001 DUSK ($0.0000000004) + -
- 0.50 - DUSK -
-
- - - - - - gas spent -
+ +
+ + + + -
- 0.000290766 - DUSK -
-
- - - - - - payload - - -
+ +
+ 0.50 + DUSK +
+
+ + -
+ + -
+ gas spent + + +
+ 0.000290766 + DUSK +
+
+ + + + + + payload + - -
- +
+ -
+
+ +
+ +
`; exports[`Transaction Details > renders the Transaction Details component with the payload visible 1`] = ` -
-
+
-
-

- Transaction Details -

+ Transaction Details + + +
+ +
+
+ + + + -
+ ID + -
-
- - - - - - ID -
+ 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 + +
+ + + + -
- 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 -
-
- - - - - - block height -
+ block height + + +
+ + 487,166 + +
+
+ + + + -
- - 487,166 - -
-
- - - - - - Status -
+ Status + + +
+ + success + +
+
+ + + + -
- - success - -
-
+ +
+ +
+
+ + + + -
- -
-
- - - - - - type -
+ type + + +
+ + transfer + +
+
+ + + + -
- - transfer - -
-
- - - - - - transaction fee -
+ transaction fee + + +
+ 0.000290766 DUSK ($0.0001071037) + -
- 0.000290766 DUSK ($0.0001071037) - - -
-
- - - - - - gas price -
+ +
+ + + + -
- 0.000000001 DUSK ($0.0000000004) - - -
-
- - - - - - transaction gas limit -
+ gas price + + +
+ 0.000000001 DUSK ($0.0000000004) + -
- 0.50 - DUSK -
-
- - - - - - gas spent -
+ +
+ + + + -
- 0.000290766 - DUSK -
-
- - - - - - payload - - -
+ +
+ 0.50 + DUSK +
+
+ + -
+ + -
-
- - db0794770322802a22905c4364511f3186e6184085f875dbb9f11a3ae914766c020000000000000014bc23b875c67d0dbecfdd45f5964f3fea7188aff2035730c8802 - - -
- + gas spent + + +
+ 0.000290766 + DUSK +
+
+ + + + + + payload + - -
- +
+ -
+
+
+ + db0794770322802a22905c4364511f3186e6184085f875dbb9f11a3ae914766c020000000000000014bc23b875c67d0dbecfdd45f5964f3fea7188aff2035730c8802 + + +
+ + +
+ +
`; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/TransactionsList.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/TransactionsList.spec.js.snap index 491dc067ad..1922e01e83 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/TransactionsList.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/TransactionsList.spec.js.snap @@ -1,220 +1,218 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Transactions List > renders the Transactions List component 1`] = ` -
-
+
-
- - - - - - ID -
+ + + -
- - 4877687c2dbf154248d3ddee9ba0d8...31f39056f82a46819da041d4ac0e04 - -
- -
- - - - - - relative time -
- -
- -
- -
+ +
+ - - - - - - Gas Price - - -
+
+ +
+ - 1 - + + + -
+ +
+
+
+ +
+ - 500,000,000 - + + + -
+ +
+ 1 +
+ +
+ - - - - - - Fee -
+ + + -
+ +
+ 500,000,000 +
+ +
+ - 0.000290766 - DUSK - + + + -
+ +
+ 0.000290766 + DUSK +
+ +
+ - - - - - - Status -
+ + + -
+ +
+ - - success - - -
- -
+ + + +
+ - - - - - - Type -
+ + + -
+ +
+ - - transfer - - -
-
-
+ transfer + + + + `; diff --git a/explorer/src/lib/components/__tests__/__snapshots__/WorldMap.spec.js.snap b/explorer/src/lib/components/__tests__/__snapshots__/WorldMap.spec.js.snap index 2ebbac0708..4b8dbdcb3d 100644 --- a/explorer/src/lib/components/__tests__/__snapshots__/WorldMap.spec.js.snap +++ b/explorer/src/lib/components/__tests__/__snapshots__/WorldMap.spec.js.snap @@ -1,2212 +1,2206 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`World Map > renders the WorldMap component even if nodes is empty array 1`] = ` -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + `; exports[`World Map > renders the WorldMap component with nodes 1`] = ` -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + `; exports[`World Map > renders the WorldMap component without nodes if Error is passed 1`] = ` -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + `; diff --git a/explorer/src/lib/containers/__tests__/__snapshots__/StatisticsPanel.spec.js.snap b/explorer/src/lib/containers/__tests__/__snapshots__/StatisticsPanel.spec.js.snap index 65d65abc25..54125b6e73 100644 --- a/explorer/src/lib/containers/__tests__/__snapshots__/StatisticsPanel.spec.js.snap +++ b/explorer/src/lib/containers/__tests__/__snapshots__/StatisticsPanel.spec.js.snap @@ -1,2262 +1,2258 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`StatisticsPanel > should render the StatisticsPanel, query for the necessary info, start polling for stats and stop the polling when unmounted 1`] = ` -
+
-
- - - - - - - - - - - - -
+ + + - - Dusk Price + + - - - +
+ + + Dusk Price + +
+
-
- - - - - - - - - - - - -
+ + + - - Total Market Cap + + - - - +
+ + Total Market Cap +
+ +
+
-
- - - - - - - - - - - - -
+ + + - - Current Staked Amount + + - - - +
+ + + Current Staked Amount + +
+
-
- - - - - - - - - - - - -
+ + + - - Next Epoch Staked Amount + + - - - +
+ + Next Epoch Staked Amount +
+ +
+
-
- - - - - - - - - - - - -
+ + + - - Last Block + + - - - +
+ + + Last Block + +
+
-
- - - - - - - - - - - - -
+ + + - - TX Last 100 Blocks + + - - - +
+ + TX Last 100 Blocks +
+ +
+
-
- - - - - - - - - - - - -
+ + + - - Provisioners + + - - - +
+ + + Provisioners + +
+
-
- - - - - - - - - - - - -
+ + + - - Next Epoch Provisioners + + - - - +
+ + Next Epoch Provisioners +
+
- -
+ +
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
`; exports[`StatisticsPanel > should render the StatisticsPanel, query for the necessary info, start polling for stats and stop the polling when unmounted 2`] = ` -
+
-
- - - - - - 0.368 - - -
+ + + - - Dusk Price - + 0.368 + +
+ + + Dusk Price + +
+
-
- - - - - - 168M - - -
+ + + - - Total Market Cap - + 168M + +
+ + Total Market Cap +
+ +
+
-
- - - - - - 58.2M - - -
+ + + - - Current Staked Amount - + 58.2M + +
+ + + Current Staked Amount + +
+
-
- - - - - - 2.6M - - -
+ + + - - Next Epoch Staked Amount - + 2.6M + +
+ + Next Epoch Staked Amount +
+ +
+
-
- - - - - - 487,596 - - -
+ + + - - Last Block - + 487,596 + +
+ + + Last Block + +
+
-
- - - - - - 10 - - -
+ + + - - TX Last 100 Blocks - + 10 + +
+ + TX Last 100 Blocks +
+ +
+
-
- - - - - - 945 - - -
+ + + - - Provisioners - + 945 + +
+ + + Provisioners + +
+
-
- - - - - - 34 - - -
+ + + - - Next Epoch Provisioners - + 34 + +
+ + Next Epoch Provisioners +
+
- -
+ +
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
`; diff --git a/explorer/src/lib/dusk/components/__tests__/Card.spec.js b/explorer/src/lib/dusk/components/__tests__/Card.spec.js index dbe2f3617f..8f1f3df495 100644 --- a/explorer/src/lib/dusk/components/__tests__/Card.spec.js +++ b/explorer/src/lib/dusk/components/__tests__/Card.spec.js @@ -1,12 +1,15 @@ import { afterEach, describe, expect, it } from "vitest"; -import { cleanup, render } from "@testing-library/svelte"; +import { cleanup } from "@testing-library/svelte"; + +import { renderWithSimpleContent } from "$lib/dusk/test-helpers"; + import { Card } from ".."; describe("Card", () => { afterEach(cleanup); it("renders the Card component", () => { - const { container } = render(Card); + const { container } = renderWithSimpleContent(Card, {}); expect(container.firstChild).toMatchSnapshot(); }); diff --git a/explorer/src/lib/dusk/components/__tests__/Icon.spec.js b/explorer/src/lib/dusk/components/__tests__/Icon.spec.js index d48ef8f5d6..ef0b5cb535 100644 --- a/explorer/src/lib/dusk/components/__tests__/Icon.spec.js +++ b/explorer/src/lib/dusk/components/__tests__/Icon.spec.js @@ -40,7 +40,7 @@ describe("Icon", () => { expect(container.firstChild).toMatchSnapshot(); }); - it("should pass additional class names and attributes to the rendered element", () => { + it("should pass additional class names and attributes to the rendered element", async () => { const props = { ...baseProps, className: "foo bar", @@ -53,7 +53,7 @@ describe("Icon", () => { expect(icon).toHaveAttribute("data-baz", "baz"); expect(icon).toMatchSnapshot(); - rerender({ ...props, isInStack: true }); + await rerender({ ...props, isInStack: true }); const icon2 = container.firstChild; diff --git a/explorer/src/lib/dusk/components/__tests__/ProgressBar.spec.js b/explorer/src/lib/dusk/components/__tests__/ProgressBar.spec.js index 83d3654400..232d1e0356 100644 --- a/explorer/src/lib/dusk/components/__tests__/ProgressBar.spec.js +++ b/explorer/src/lib/dusk/components/__tests__/ProgressBar.spec.js @@ -21,13 +21,13 @@ describe("ProgressBar", () => { }); it("re-renders the Stepper component when the current percentage property changes", async () => { - const { component, container } = render(ProgressBar, { + const { container, rerender } = render(ProgressBar, { props: { currentPercentage: 0 }, }); expect(container.firstChild).toMatchSnapshot(); - await component.$set({ currentPercentage: 50 }); + await rerender({ currentPercentage: 50 }); expect(container.firstChild).toMatchSnapshot(); }); diff --git a/explorer/src/lib/dusk/components/__tests__/Switch.spec.js b/explorer/src/lib/dusk/components/__tests__/Switch.spec.js index 9b0e40ba6c..d7702cb1de 100644 --- a/explorer/src/lib/dusk/components/__tests__/Switch.spec.js +++ b/explorer/src/lib/dusk/components/__tests__/Switch.spec.js @@ -13,12 +13,12 @@ describe("Switch", () => { afterEach(cleanup); - it('should render the "Switch" component with a default tab index of `0`', () => { + it('should render the "Switch" component with a default tab index of `0`', async () => { const { container, rerender } = render(Switch, baseOptions); expect(container.firstChild).toMatchSnapshot(); - rerender({ ...baseProps, value: true }); + await rerender({ ...baseProps, value: true }); expect(container.firstChild).toMatchSnapshot(); }); @@ -33,7 +33,7 @@ describe("Switch", () => { expect(container.firstChild).toMatchSnapshot(); }); - it("should render the component in a disabled status with a tabindex of `-1`", () => { + it("should render the component in a disabled status with a tabindex of `-1`", async () => { const props = { ...baseProps, disabled: true, @@ -43,7 +43,7 @@ describe("Switch", () => { expect(container.firstChild).toMatchSnapshot(); - rerender({ ...props, value: true }); + await rerender({ ...props, value: true }); expect(container.firstChild).toMatchSnapshot(); }); diff --git a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Anchor.spec.js.snap b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Anchor.spec.js.snap index d4c2a2006e..084b80c879 100644 --- a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Anchor.spec.js.snap +++ b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Anchor.spec.js.snap @@ -1,30 +1,24 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Anchor > should pass additional class names and attributes to the rendered element 1`] = ` -
+ + + some text + + `; exports[`Anchor > should render the Anchor component 1`] = ` - + + + some text + + `; diff --git a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Badge.spec.js.snap b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Badge.spec.js.snap index bc625cb92e..1bf8a4279b 100644 --- a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Badge.spec.js.snap +++ b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Badge.spec.js.snap @@ -1,41 +1,33 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Badge > should render the Badge component using the type "error" variant 1`] = ` -
- - Badge - -
+ + Badge + `; exports[`Badge > should render the Badge component using the type "neutral" as a default 1`] = ` -
- - Badge - -
+ + Badge + `; exports[`Badge > should render the Badge component using the type "success" variant 1`] = ` -
- - Badge - -
+ + Badge + `; exports[`Badge > should render the Badge component using the type "warning" variant 1`] = ` -
- - Badge - -
+ + Badge + `; diff --git a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap index b6e2d46695..0374238dd7 100644 --- a/explorer/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap +++ b/explorer/src/lib/dusk/components/__tests__/__snapshots__/Card.spec.js.snap @@ -1,13 +1,13 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Card > renders the Card component 1`] = ` -
-
- - -
- +
+ + + some text + +
`; diff --git a/explorer/src/lib/dusk/components/__tests__/__snapshots__/NavList.spec.js.snap b/explorer/src/lib/dusk/components/__tests__/__snapshots__/NavList.spec.js.snap index 05827d173a..8d2e8c2128 100644 --- a/explorer/src/lib/dusk/components/__tests__/__snapshots__/NavList.spec.js.snap +++ b/explorer/src/lib/dusk/components/__tests__/__snapshots__/NavList.spec.js.snap @@ -1,49 +1,43 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`NavList > renders the NavList component 1`] = ` -
- + Dusk + -
+ + Explorer + + `; exports[`NavList > should pass additional class names and attributes to the rendered element 1`] = ` -
- + Dusk + -
+ + Explorer + + `; diff --git a/explorer/src/lib/dusk/components/__tests__/__snapshots__/ProgressBar.spec.js.snap b/explorer/src/lib/dusk/components/__tests__/__snapshots__/ProgressBar.spec.js.snap index 2091010434..2cd3e49bfa 100644 --- a/explorer/src/lib/dusk/components/__tests__/__snapshots__/ProgressBar.spec.js.snap +++ b/explorer/src/lib/dusk/components/__tests__/__snapshots__/ProgressBar.spec.js.snap @@ -1,56 +1,48 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`ProgressBar > re-renders the Stepper component when the current percentage property changes 1`] = ` -
+
-
-
+ class="dusk-progress-bar__filler" + style="width: 0%" + />
`; exports[`ProgressBar > re-renders the Stepper component when the current percentage property changes 2`] = ` -
+
-
-
+ class="dusk-progress-bar__filler" + style="width: 50%" + />
`; exports[`ProgressBar > renders the ProgressBar component with no current percentage set 1`] = ` -
+
-
-
+ class="dusk-progress-bar__filler dusk-progress-bar__filler--undetermined" + />
`; exports[`ProgressBar > renders the Stepper component with current percentage set as zero 1`] = ` -
+
-
-
+ class="dusk-progress-bar__filler" + style="width: 0%" + />
`; diff --git a/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap index dcec119f10..787ac4b3da 100644 --- a/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/__tests__/__snapshots__/page.spec.js.snap @@ -1,10386 +1,1999 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`home page > should render the home page, start polling for the latest chain info and stop the polling when the component is destroyed 1`] = ` -
-
+
-
- - - - - - - - - - - - -
- - - Dusk Price - -
-
-
- - - - - - - - - - - - -
- - - Total Market Cap - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Current Staked Amount - -
-
-
- - - - - - - - - - - - -
- - - Next Epoch Staked Amount - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Last Block - -
-
-
- - - - - - - - - - - - -
- - - TX Last 100 Blocks - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Provisioners - -
-
-
- - - - - - - - - - - - -
- - - Next Epoch Provisioners - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-

- Blocks -

- - -
- -

- Loading... -

- - -
- - -
-
-

- Transactions -

- - -
- -

- Loading... -

- - -
- -
-
-`; - -exports[`home page > should render the home page, start polling for the latest chain info and stop the polling when the component is destroyed 2`] = ` -
-
-
-
-
-
-
- - - - - - - - - - - - -
- - - Dusk Price - -
-
-
- - - - - - - - - - - - -
- - - Total Market Cap - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Current Staked Amount - -
-
-
- - - - - - - - - - - - -
- - - Next Epoch Staked Amount - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Last Block - -
-
-
- - - - - - - - - - - - -
- - - TX Last 100 Blocks - -
- -
-
-
-
- - - - - - - - - - - - -
- - - Provisioners - -
-
-
- - - - - - - - - - - - -
- - - Next Epoch Provisioners - -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
- -
-
-
-

- Blocks -

- - -
- -
-
- - + `; exports[`Table > renders the TableCell component as a head cell 1`] = ` -
-
- - + `; exports[`Table > renders the TableHead component 1`] = ` -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Block - - Fee (Dusk) - - Txn(s) - - Rewards (Dusk) -
- - 1,378,753 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,752 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,751 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,750 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,749 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,748 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,747 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,746 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,745 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,744 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,743 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,742 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,741 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,740 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,378,739 - - - - 17 hours ago - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
-
- -
- -
-
- - - - - - block -
- -
- - 1,378,753 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,752 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,751 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,750 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,749 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,748 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,747 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,746 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,745 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,744 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,743 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,742 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,741 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,740 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
- - 1,378,739 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - - - - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
-
- - -
- - -
-
-

- Transactions -

- - -
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ID - - Gas - - Fee (DUSK) - - Status - - Type -
- - 64cbef4738...a8a4bc7d03 - - - - 17 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290681 - - - success - - - - transfer - -
- - 1f6d99ea97...6d29b86804 - - - - 17 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000291225 - - - success - - - - transfer - -
- - 3ee81c6375...18bde67c04 - - - - 17 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000292137 - - - success - - - - transfer - -
- - 3a75b42910...5d6944e60e - - - - 17 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290572 - - - success - - - - transfer - -
- - 070280c695...94efca2a0e - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
- 0.000215552 - - - success - - - - transfer - -
- - 534f753d5a...5153259c00 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
- 0.000215617 - - - success - - - - transfer - -
- - c6f13af20c...fc68ebb102 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
- 0.000214413 - - - success - - - - transfer - -
- - 31c7dce26a...bf7bcb4c04 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000291769 - - - success - - - - transfer - -
- - 4fa6e913c0...9e4dd5510d - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290764 - - - success - - - - transfer - -
- - d1a7928a43...79ccdb2e04 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000291961 - - - success - - - - transfer - -
- - 004ca8683c...cff9718b06 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000292039 - - - success - - - - transfer - -
- - b5a77063e4...4496253a05 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290406 - - - success - - - - transfer - -
- - b263d9d594...9d80b06e0b - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000291537 - - - success - - - - transfer - -
- - b4525cb82f...f5275d7709 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000291361 - - - success - - - - transfer - -
- - 40fb9d20eb...516584df08 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290385 - - - success - - - - transfer - -
-
- -
- -
-
- - - - - - ID -
- -
- - 64cbef4738ccd709451ca5558b15ca...b6d8147df6777debc4f6a8a4bc7d03 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290681 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 1f6d99ea97565460469c6802b39af9...94f457e97a3fc3eb41546d29b86804 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291225 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 3ee81c6375f1ab41272e4c9f8dfb79...3c3bbfadf44658df735a18bde67c04 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000292137 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 3a75b42910a41d1f9a2639b09d9546...76709a2f1553d6294ae15d6944e60e - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290572 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 070280c69500df7d1b40942981a3b5...f9f71ba62f96d63e322994efca2a0e - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 50,000,000 -
- -
- - - - - - Fee -
- -
- 0.000215552 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 534f753d5a420fddc21c84d76ff26b...48ea75b450c082759d155153259c00 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 50,000,000 -
- -
- - - - - - Fee -
- -
- 0.000215617 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - c6f13af20c23b8bc55d22a416a191e...a47128b4d7dc3ac6fce5fc68ebb102 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 50,000,000 -
- -
- - - - - - Fee -
- -
- 0.000214413 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 31c7dce26a5a6ef1392f53630b8e27...1f10eaeea2685c5a37dbbf7bcb4c04 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291769 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 4fa6e913c083aa595530b1f6c010c7...8121307c991ea6782f9e9e4dd5510d - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290764 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - d1a7928a435021d87ea3649bff57c8...c7b5c6c68081a61fea5779ccdb2e04 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291961 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 004ca8683c315b9270e04d3768dfb5...f65d92a9469ca31a5d97cff9718b06 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000292039 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - b5a77063e45dd90b97b2c30b4cd670...4ae60c4b8e3ea9fd0d0b4496253a05 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290406 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - b263d9d594439be92bb9349bd97f55...60956419f2f4a32925639d80b06e0b - -
- -
- - - - - - relative time -
- -
- -
- -
- Gas Price -
- -
- 1 -
- -
- - - + + - - - + - - Gas Limit -
+
-
- 500,000,000 -
- -
+
+
+
- Fee - + + - - - + + +
-
- 0.000291537 - DUSK -
- -
+
+ + +
+
+
- Status - - -
- - success + + - - - -
- -
- - - - - - Type -
+
-
- - transfer - - -
- - -
+
+
-
- ID -
- -
- - b4525cb82f5cd56fcf8ceb2eb30f64...3567e82abb8265dd12daf5275d7709 - -
- -
- - - + + - - - + - - relative time -
+
-
- -
- -
+
+ + +
+
+
- Gas Price - + + - - - + + +
-
- 1 -
- -
+
+
+
- Gas Limit - + + - - - + + +
-
- 500,000,000 -
- -
+
+ +
+
+
+
- Fee - + + - - - + + +
-
- 0.000291361 - DUSK -
- -
+
+
+
- Status - - -
- - success + + - - - -
+
-
+ Next Epoch Provisioners + +
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +`; + +exports[`home page > should render the home page, start polling for the latest chain info and stop the polling when the component is destroyed 2`] = ` +
+
+
+
+
+
- Type - - -
- - transfer + + - - - -
- - -
+ + + Dusk Price + +
+
-
- ID -
+ + - - - + + +
-
- - 40fb9d20eb9e6ffb27be4914f49cdf...e2fdcc88a7b17f9499ff516584df08 - -
- -
+
+ +
+
+
+
- relative time - + + - - - + + +
-
- -
- -
+
+
+
- Gas Price - + + - - - + + +
-
- 1 -
- -
+
+ +
+
+
+
- Gas Limit - + + - - - + + +
-
- 500,000,000 -
- -
+
+
+
- Fee - + + - - - + + +
-
- 0.000290385 - DUSK -
- -
+
+ +
+
+
+
- Status - - -
- - success + + - - - -
+
-
+ Provisioners + +
+
+
- Type - - -
- - transfer + + - - - -
- +
+ + + Next Epoch Provisioners + +
+
- -
- -
- + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + `; diff --git a/explorer/src/routes/__tests__/layout.spec.js b/explorer/src/routes/__tests__/layout.spec.js index 23fbb17d4f..826ed4f186 100644 --- a/explorer/src/routes/__tests__/layout.spec.js +++ b/explorer/src/routes/__tests__/layout.spec.js @@ -24,7 +24,9 @@ describe("Main layout", () => { it("should change the overflow of document's body when the navbar toggle menu button is clicked", async () => { const { container } = renderWithSimpleContent(MainLayout, baseOptions); - const navbarToggleButton = container.querySelector(".dusk-navbar__toggle"); + const navbarToggleButton = /** @type {HTMLButtonElement} */ ( + container.querySelector(".dusk-navbar__toggle") + ); await fireEvent.click(navbarToggleButton); diff --git a/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap index 4d7cf457a6..85c80d6c21 100644 --- a/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/blocks/__tests__/__snapshots__/page.spec.js.snap @@ -1,3932 +1,3928 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Blocks page > should render the Blocks page, start polling for blocks and stop the polling when unmounted 1`] = ` -
-
+
-
-
-

- Blocks - 0 Displayed Items -

- - -
+ Blocks - 0 Displayed Items + -

- Loading... -

- - -
+ + Show More + + + + +

+ Loading... +

-
-
+ + + + `; exports[`Blocks page > should render the Blocks page, start polling for blocks and stop the polling when unmounted 2`] = ` -
-
+
-
-
+ Blocks - 15 Displayed Items + + + +
+ +
+ + - - Show More - - - - -
-
+ Block + + + + + + + + + + + + + + + - - - - + 1,365,454 + - - - - - - - - - - - - - + AVG: + - - + 0 +
- - + TOTAL: + - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - + 1,365,453 + - - - - - - - - - - - - - - - - + + + - - - - + AVG: + - - - - - + 0 +
- - - - - - - - - - - - - - - - - + TOTAL: + - + + + - - - - - - - - - - - - - - - + + + + + + - - - - - - - - - - + 1,365,452 + - - - - - - - - - - - - - - - - - - - + + + - + AVG: + - - + 0 +
- - - - - - - - - - - - - - - - - - - - + TOTAL: + - - - - + + + - - - - - - - - - - - - - - - + + + + + + - - - - + 1,365,451 + - - - - - - - - - - - - - - - - - - - - + yesterday + + + + + - + 0 +
- - + TOTAL: + - - - - - - -
+ Fee (Dusk) + + Txn(s) + + Rewards (Dusk) +
- Block - - Fee (Dusk) - + + + + + - Txn(s) - - - - - Rewards (Dusk) -
- - 1,365,454 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,453 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+ + + + 0 + + - 0 - - - 16 - -
- - 1,365,452 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+
+ - 0 - - - 16 - -
- - 1,365,451 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,450 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+ + - 0 - - - 16 - -
- - 1,365,449 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,448 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+ + + + 0 + + - 0 - - - 16 - -
- - 1,365,447 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+
+ - 0 - - - 16 - -
- - 1,365,446 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,445 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+ + - 0 - - - 16 - -
- - 1,365,444 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,443 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+ + + + 0 + + - 0 - - - 16 - -
- - 1,365,442 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
+
+ - 0 - - - 16 - -
- - 1,365,441 - - - - yesterday - - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
- - 1,365,440 - - - - yesterday - - + + AVG: + - - - AVG: - - - 0 -
- - - TOTAL: - - - 0 -
- 0 - - - 16 - -
-
- -
- -
-
- - - + 0 + - block -
- -
- - 1,365,454 - -
- -
- - - + 0 + - relative time -
- -
- -
- -
- - - + + + 16 + + - average fee paid -
- -
+ + - 0 - DUSK -
- -
- - - + + 1,365,450 + + + + yesterday + + - gas used -
- -
-
-
-
-
- -
- - - + + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - txn(s) -
- -
- 0 -
- -
- - - + 0 + - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + + 16 + + - block -
- -
+ + - - 1,365,453 - -
- -
- + 1,365,449 + + + + yesterday + + + + + - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - relative time -
- -
- -
- -
- - - + + 0 + - average fee paid -
- -
- 0 - DUSK -
- -
- - - + + 16 + + - gas used -
- -
+ + -
-
-
-
- -
- - - + + + 1,365,448 + + + + yesterday + + - txn(s) -
- -
- 0 -
- -
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + 0 + - block -
- -
- - 1,365,452 - -
- -
+ 16 + + + + + + + - - - + + 1,365,447 + + + + yesterday + + - relative time -
- -
- -
- -
- - - + + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - average fee paid -
- -
- 0 - DUSK -
- -
- - - + 0 + - gas used -
- -
-
-
-
-
- -
- - - + + + 16 + + - txn(s) -
- -
+ + - 0 -
- -
- - - + + 1,365,446 + + + + yesterday + + - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - block -
- -
- - 1,365,451 - -
- -
- - - + 0 + - relative time -
- -
- -
- -
- - - + + + 16 + + - average fee paid -
- -
- 0 - DUSK -
- -
+ + - - - + + 1,365,445 + + + + yesterday + + - gas used -
- -
-
-
-
-
- -
- - - + + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - txn(s) -
- -
- 0 -
- -
- - - + 0 + - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + + 16 + + - block -
- -
+ + - - 1,365,450 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + + 1,365,444 + + + + yesterday + + - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + 0 + - block -
- -
- - 1,365,449 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + + 16 + + - average fee paid -
- -
- 0 - DUSK -
- -
+ + - - - - - - gas used -
- -
-
-
-
-
- -
- - - + + 1,365,443 + + + + yesterday + + - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - block -
- -
- - 1,365,448 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + 0 + - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - + + 16 + + - txn(s) -
- -
+ + - 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + 1,365,442 + + + + yesterday + + - block -
- -
- - 1,365,447 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - + 0 + - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + 16 + + - block -
- -
+ + - - 1,365,446 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + + 1,365,441 + + + + yesterday + + - average fee paid -
- -
- 0 - DUSK -
- -
- - - - - - gas used -
- -
-
-
-
-
- -
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + 0 + - block -
- -
- - 1,365,445 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + + 16 + + - average fee paid -
- -
- 0 - DUSK -
- -
+ + - - - - - - gas used -
- -
-
-
-
-
- -
- - - + + 1,365,440 + + + + yesterday + + - txn(s) -
- -
- 0 -
- -
- - - - - - rewards -
- -
- - 16 DUSK - -
-
- -
-
- - - + + AVG: + + + 0 +
+ + + TOTAL: + + + 0 + - block -
- -
- - 1,365,444 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - + 0 + - average fee paid -
- -
- 0 - DUSK -
- -
- - - + + 16 + + - gas used -
- -
+ + + +
+ +
+ +
+
+ + + + + + block +
+ +
+ + 1,365,454 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+
+ + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - 0 -
- -
+ + + +
+
+ + + + + + block +
+ +
+ - - - - - - rewards -
- -
- - 16 DUSK - -
- - -
-
- - - - - - block -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- -
+
+ + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - - - - - - relative time - - -
- -
- -
- - - - - - average fee paid -
- -
+
+ + +
+
+ + + + + + block +
+ +
+ - 0 - DUSK -
- -
+ + +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- - - - - - gas used - - -
+
+ + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+ + +
+
+ + + + + + block +
+ +
+ + 1,365,451 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+
+ + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - 0 -
- -
+ + + +
+
+ + + + + + block +
+ +
+ - - - - - - rewards -
- -
- - 16 DUSK - -
- - -
-
- - - - - - block -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- -
+ + + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - - - - - - relative time - - -
- -
- -
- - - - - - average fee paid -
- -
+
+
+ +
+
+ + + + + + block +
+ +
+ - 0 - DUSK -
- -
+ + +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- - - - - - gas used - - -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+
+ +
+
+ + + + + + block +
+ +
+ + 1,365,448 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - 0 -
- -
+ +
+ +
+
+ + + + + + block +
+ +
+ - - - - - - rewards - - -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- -
+ + + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - - - - - - relative time - - -
- -
- -
- - - - - - average fee paid -
- -
+
+
+ +
+
+ + + + + + block +
+ +
+ - 0 - DUSK -
- -
+ + +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- - - - - - gas used - - -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+
+ +
+
+ + + + + + block +
+ +
+ + 1,365,445 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - 0 -
- -
+ +
+ +
+
+ + + + + + block +
+ +
+ - - - - - - rewards - - -
- - 16 DUSK - -
-
- -
-
- - - - - - block -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- -
+ + + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - - - - - - relative time - - -
- -
- -
- - - - - - average fee paid -
- -
+
+
+ +
+
+ + + + + + block +
+ +
+ - 0 - DUSK -
- -
+ + +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- - - - - - gas used - - -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+
+ +
+
+ + + + + + block +
+ +
+ + 1,365,442 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
-
-
-
- -
- - - - - - txn(s) -
- -
+ +
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ - 0 -
- -
+ +
+ +
+
+ + + + + + block +
+ +
+ - - - - - - rewards - - -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
- - 16 DUSK - -
-
- +
+
+ + +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+ - +
+
+ + + + + + block +
+ +
+ + 1,365,440 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + average fee paid +
+ +
+ 0 + DUSK +
+ +
+ + + + + + gas used +
+ +
+
+
+
+
+ +
+ + + + + + txn(s) +
+ +
+ 0 +
+ +
+ + + + + + rewards +
+ +
+ + 16 DUSK + +
+
- - + + + + `; diff --git a/explorer/src/routes/blocks/block/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/blocks/block/__tests__/__snapshots__/page.spec.js.snap index a4b40ab816..e5af795136 100644 --- a/explorer/src/routes/blocks/block/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/blocks/block/__tests__/__snapshots__/page.spec.js.snap @@ -1,173 +1,668 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Block Details > should render the Block Details page and query the necessary info 1`] = ` -
-
+
-
-
-

- Block Details -

- -
- -

- Loading... -

- + Block Details + -
+ + +

+ Loading... +

+
- + +
+ +
-
-
-

- Transactions -

- -
- -

- Loading... -

- + Transactions + -
- + + +

+ Loading... +

+
-
-
+ + + + `; exports[`Block Details > should render the Block Details page and query the necessary info 2`] = ` -
-
+
-
+

+ Block Details +

+ + + +
-
-

- Block Details -

+ + + -
+ height + -
-
- height -
+ + + -
- + + + + + + + + +
+
+ + + + + + hash +
+ +
+ bd5c99bb720b03500e89f103fe66113ba62f2e124ed9651563f38fd15977719f +
+
+ + + + + + timestamp +
+ +
+ +
+
+ + + + + + transactions +
+ +
+ 2 +
+
+ + + + + + block fees paid +
+ +
+ 0.000580718 + DUSK +
+
+ + + + + + block reward +
+ +
+ 16 + DUSK +
+
+ + + + + + block gas limit +
+ +
+ 5,000,000,000 +
+
+ + + + + + gas used +
+ +
+ 580,718 + +
+
+
+ +
+
+ + + + + + average fee paid +
+ +
+ 0.000000001 + DUSK +
+
+ + + + + + state root hash +
+ +
+ + 20bb0a677b93f084afadfd34bec3ac3feee33a020b81d9549afa2268e8543acb + +
+
+ + +
+ +
+ +
+
+
+

+ Transactions +

+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + - - - + + 3a3f6f90a1...e2e37f0602 + + + + last month + + + + + - - - 495,868 - - + + success + + + + + + + + + + - - - + + 07bfabea1d...2723b76d00 + + + + last month + + + + + - - - + + + + + + + + + + +
+ ID + + Gas + + Fee (DUSK) + + Status + + Type +
+ + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 +
+ 0.000290866 + + + transfer + +
+ + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 +
+ 0.000289852 + + + success + + + + transfer + +
+
+ +
+ +
should render the Block Details page and query the nece - hash + ID
- bd5c99bb720b03500e89f103fe66113ba62f2e124ed9651563f38fd15977719f + + 3a3f6f90a1012ae751b4448bcb8e98...ba2b18170239bd69fcf8e2e37f0602 +
+
should render the Block Details page and query the nece - timestamp + relative time
+
should render the Block Details page and query the nece - transactions + Gas Price
- 2 + 1
+
should render the Block Details page and query the nece - block fees paid + Gas Limit
- 0.000580718 - DUSK + 500,000,000
+
should render the Block Details page and query the nece - block reward + Fee
- 16 + 0.000290866 DUSK
+
should render the Block Details page and query the nece - block gas limit + Status
- 5,000,000,000 + + success + +
+
should render the Block Details page and query the nece - gas used + Type
- 580,718 - -
-
-
- + transfer + +
+
+ +
should render the Block Details page and query the nece - average fee paid + ID
- 0.000000001 - DUSK + + 07bfabea1d94c16f2dc3697fa642f6...a6e81bf76b9644efbb6e2723b76d00 +
+
should render the Block Details page and query the nece - state root hash + relative time
- - 20bb0a677b93f084afadfd34bec3ac3feee33a020b81d9549afa2268e8543acb - + last month +
-
- - -
- -
- -
-
-
-

- Transactions -

-
- -
- - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ID - - Gas - - Fee (DUSK) - - Status - - Type -
- - 3a3f6f90a1...e2e37f0602 - - - - last month - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290866 - - - success - - - - transfer - -
- - 07bfabea1d...2723b76d00 - - - - last month - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000289852 - - - success - - - - transfer - -
-
- -
- -
+ +
-
- - - - - - ID -
- -
- - 3a3f6f90a1012ae751b4448bcb8e98...ba2b18170239bd69fcf8e2e37f0602 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290866 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
+ +
-
- - - - - - ID -
- -
- - 07bfabea1d94c16f2dc3697fa642f6...a6e81bf76b9644efbb6e2723b76d00 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
+ + + -
+ +
+ 500,000,000 +
+ +
+ - 0.000289852 - DUSK - + + + -
+ +
+ 0.000289852 + DUSK +
+ +
+ - - - - - - Status -
+ + + -
+ +
+ - - success - - -
- -
+ + + +
+ - - - - - - Type -
+ + + -
+ +
+ - - transfer - - -
-
-
- - + transfer + + + +
- +
-
-
+ + + + `; diff --git a/explorer/src/routes/transactions/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/transactions/__tests__/__snapshots__/page.spec.js.snap index 7e2b219178..0c52329242 100644 --- a/explorer/src/routes/transactions/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/transactions/__tests__/__snapshots__/page.spec.js.snap @@ -1,4479 +1,4475 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Transactions page > should render the Transactions page, start polling for blocks and stop the polling when unmounted 1`] = ` -
-
+
-
-
-

- Transactions - 0 Displayed Items -

- - -
+ Transactions - 0 Displayed Items + -

- Loading... -

- - -
+ + Show More + + + + +

+ Loading... +

-
-
+ + + + `; exports[`Transactions page > should render the Transactions page, start polling for blocks and stop the polling when unmounted 2`] = ` -
-
+
-
-
+ Transactions - 15 Displayed Items + + + +
+ +
+ + - - Show More - - - - -
-
+ ID + + + + + + + + + + + + + + + + + + - - - - + 070280c695...94efca2a0e + - - - - - + 1 +
- - - - - - + LIMIT: + + + 50,000,000 + - - - - - - - - + + + - - - + + + + + + - + 534f753d5a...5153259c00 + - - - - + 18 hours ago + + - - - + PRICE: + - - + 1 +
- - + LIMIT: + - + + + - - - + + + - - - + transfer + + - + + + - + c6f13af20c...fc68ebb102 + - - - - + + + - + PRICE: + - - + 1 +
- - + LIMIT: + - + 50,000,000 + - - - - - - - - + + + - - - + + + + + + - + 31c7dce26a...bf7bcb4c04 + - - - - + 18 hours ago + + - - - + PRICE: + - - + 1 +
- - + LIMIT: + - + + + - - - + + + - - - + transfer + + - + + + - + 4fa6e913c0...9e4dd5510d + - - - - + + + - + PRICE: + - - + 1 +
- - + LIMIT: + - + 500,000,000 + - - - - - - - - + + + - - - + + + + + + - + d1a7928a43...79ccdb2e04 + - - - - + 18 hours ago + + - - - + PRICE: + - - + 1 +
- - + LIMIT: + - + + + - - - + + + - - - + transfer + + - + + + - + 004ca8683c...cff9718b06 + - - - - + + + - + PRICE: + - - + 1 +
- - + LIMIT: + - + 500,000,000 + - - - - - - - - + + + - - - + + + + + + - + b5a77063e4...4496253a05 + - - - - + 19 hours ago + + - - - + PRICE: + - - + 1 +
- - + LIMIT: + - + + + - - - + + + - - - + transfer + + - + + + - + b263d9d594...9d80b06e0b + - - - - + + + - + PRICE: + - - + 1 +
- - + LIMIT: + - + 500,000,000 + - - - - - - - - + + + - - - + + + + + + - + b4525cb82f...f5275d7709 + - - - - + 19 hours ago + + - - - + PRICE: + - - + 1 +
- - + LIMIT: + - + + + - - - + + + - - - + transfer + + - + + + - + 40fb9d20eb...516584df08 + - - - - + + + - + PRICE: + - - + 1 +
- - + LIMIT: + - + 500,000,000 + - -
+ Gas + + Fee (DUSK) + + Status + + Type +
- ID - - Gas - + + + + + - Fee (DUSK) - - + PRICE: + - - Status - - Type -
- - 070280c695...94efca2a0e - - - - 18 hours ago - - + + + + - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
+ + - 0.000215552 - +
+ - - success - - - - transfer - -
- - 534f753d5a...5153259c00 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
- 0.000215617 - + + + + 0.000215617 + + - - success - - + + - - transfer - -
- - - c6f13af20c...fc68ebb102 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 50,000,000 -
+ + - 0.000214413 - - - success - - - - transfer - -
- - 31c7dce26a...bf7bcb4c04 - - - - 18 hours ago - - + + + + - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000291769 - +
+ - - success - - - - transfer - -
- - 4fa6e913c0...9e4dd5510d - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290764 - + + + + 0.000291769 + + - - success - - + + - - transfer - -
- - - d1a7928a43...79ccdb2e04 - - - - 18 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000291961 - - - success - - - - transfer - -
- - 004ca8683c...cff9718b06 - - - - 18 hours ago - - + + + + - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000292039 - +
+ - - success - - - - transfer - -
- - b5a77063e4...4496253a05 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290406 - + + + + 0.000291961 + + - - success - - + + - - transfer - -
- - - b263d9d594...9d80b06e0b - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000291537 - - - success - - - - transfer - -
- - b4525cb82f...f5275d7709 - - - - 19 hours ago - - + + + + - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000291361 - +
+ - - success - - - - transfer - -
- - 40fb9d20eb...516584df08 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290385 - + + + + 0.000290406 + + - - success - - + + - - transfer - -
- - - b5ad0ec014...04f807910b - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000290795 - - - success - - - - transfer - -
- - 56504a6d62...ba14520c00 - - - - 19 hours ago - - + + + + - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000290449 - +
+ - - success - - - - transfer - -
- - d65e4ebe37...d5026ea001 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
- 0.000290555 - + + + + 0.000291361 + + - - success - - + + - - transfer - -
- - - 6c0ac7828b...10b1febf06 - - - - 19 hours ago - - - - PRICE: - - - 1 -
- - - LIMIT: - - - 500,000,000 -
+ + - 0.000291983 - - - success - - - - transfer - -
-
- -
- -
-
- - - + 0.000290385 + - ID -
- -
- - 070280c69500df7d1b40942981a3b5...f9f71ba62f96d63e322994efca2a0e - -
- -
- - - + + success + + - relative time -
- -
- -
- -
- - - + + transfer + + - Gas Price -
- -
+ + - 1 -
- -
- - - + + b5ad0ec014...04f807910b + + + + 19 hours ago + + - Gas Limit -
- -
- 50,000,000 -
- -
- - - + + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 + - Fee -
- -
- 0.000215552 - DUSK -
- -
- - - + 0.000290795 + - Status -
- -
- - success - - -
- -
- - - + + success + + - Type -
- -
- - transfer - - -
-
- -
-
- - - + + transfer + + - ID -
- -
+ + - - 534f753d5a420fddc21c84d76ff26b...48ea75b450c082759d155153259c00 - -
- -
- - - + + 56504a6d62...ba14520c00 + + + + 19 hours ago + + - relative time -
- -
- -
- -
- - - + + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 + - Gas Price -
- -
- 1 -
- -
- - - + 0.000290449 + - Gas Limit -
- -
- 50,000,000 -
- -
- - - + + success + + - Fee -
- -
- 0.000215617 - DUSK -
- -
- - - + + transfer + + - Status -
- -
+ + - - success - - -
- -
- - - + + d65e4ebe37...d5026ea001 + + + + 19 hours ago + + - Type -
- -
- - transfer - - -
-
- -
-
- - - + + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 + - ID -
- -
- - c6f13af20c23b8bc55d22a416a191e...a47128b4d7dc3ac6fce5fc68ebb102 - -
- -
- - - + 0.000290555 + - relative time -
- -
- -
- -
- - - + + success + + - Gas Price -
- -
- 1 -
- -
- - - + + transfer + + - Gas Limit -
- -
+ + - 50,000,000 -
- -
- - - + + 6c0ac7828b...10b1febf06 + + + + 19 hours ago + + - Fee -
- -
- 0.000214413 - DUSK -
- -
- - - + + PRICE: + + + 1 +
+ + + LIMIT: + + + 500,000,000 + - Status -
- -
- - success - - -
- -
- - - + 0.000291983 + - Type -
- -
- - transfer - - -
-
- -
-
- - - + + success + + - ID -
- -
- - 31c7dce26a5a6ef1392f53630b8e27...1f10eaeea2685c5a37dbbf7bcb4c04 - -
- -
- - - + + transfer + + - relative time -
- -
+ + + +
+ +
+ +
+
+ + + + + + ID +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 50,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000215552 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 0.000291769 - DUSK -
- -
- - - - - - Status -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 50,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000215617 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - transfer - - -
-
- -
-
- - - - - - ID -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - - 4fa6e913c083aa595530b1f6c010c7...8121307c991ea6782f9e9e4dd5510d - -
- -
- - - - - - relative time -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 50,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000214413 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290764 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - d1a7928a435021d87ea3649bff57c8...c7b5c6c68081a61fea5779ccdb2e04 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291961 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 004ca8683c315b9270e04d3768dfb5...f65d92a9469ca31a5d97cff9718b06 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000292039 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - b5a77063e45dd90b97b2c30b4cd670...4ae60c4b8e3ea9fd0d0b4496253a05 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000290406 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - b263d9d594439be92bb9349bd97f55...60956419f2f4a32925639d80b06e0b - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291537 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - b4525cb82f5cd56fcf8ceb2eb30f64...3567e82abb8265dd12daf5275d7709 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
- 500,000,000 -
- -
- - - - - - Fee -
- -
- 0.000291361 - DUSK -
- -
- - - - - - Status -
- -
- - success - - -
- -
- - - - - - Type -
- -
- - transfer - - -
-
- -
-
- - - - - - ID -
- -
- - 40fb9d20eb9e6ffb27be4914f49cdf...e2fdcc88a7b17f9499ff516584df08 - -
- -
- - - - - - relative time -
- -
- -
- -
- - - - - - Gas Price -
- -
- 1 -
- -
- - - - - - Gas Limit -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000291769 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 0.000290385 - DUSK -
- -
- - - - - - Status -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290764 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - transfer - - -
-
- -
-
- - - - - - ID -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - b5ad0ec014ac415dc8ea214f9baf55...126558afc8e142f8223504f807910b - -
- -
- - - - - - relative time -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000291961 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 0.000290795 - DUSK -
- -
- - - - - - Status -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000292039 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - transfer - - -
-
- -
-
- - - - - - ID -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - - 56504a6d6236fbd64671d86e6f60f2...e1ce09f7ee9ebc13b593ba14520c00 - -
- -
- - - - - - relative time -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290406 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000291537 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 0.000290449 - DUSK -
- -
- - - - - - Status -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - - transfer - - -
-
- -
-
- - - - - - ID -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000291361 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - d65e4ebe379d0d67142e80b377b41e...fa7d6e9acd3e034e6d63d5026ea001 - -
- -
- - - - - - relative time -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290385 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 0.000290555 - DUSK -
- -
- - - - - - Status -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290795 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - transfer - - -
-
- -
-
- - - - - - ID -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - 6c0ac7828bd57ddf18834505b0cd64...91ed6504dd7224a3094e10b1febf06 - -
- -
- - - - - - relative time -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - -
- -
- - - - - - Gas Price -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290449 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - 1 -
- -
- - - - - - Gas Limit -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - 500,000,000 -
- -
- - - - - - Fee -
- -
+ +
+
+ +
+
+ + + + + + ID +
+ +
+ - 0.000291983 - DUSK -
- -
- - - - - - Status -
- -
+
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000290555 + DUSK +
+ +
+ + + + + + Status +
+ +
+ - - success - - -
- -
- - - - - - Type -
- -
+ +
+ +
+ + + + + + Type +
+ +
+ - - transfer - - -
-
-
+ transfer + + + + - +
+
+ + + + + + ID +
+ +
+ + 6c0ac7828bd57ddf18834505b0cd64...91ed6504dd7224a3094e10b1febf06 + +
+ +
+ + + + + + relative time +
+ +
+ +
+ +
+ + + + + + Gas Price +
+ +
+ 1 +
+ +
+ + + + + + Gas Limit +
+ +
+ 500,000,000 +
+ +
+ + + + + + Fee +
+ +
+ 0.000291983 + DUSK +
+ +
+ + + + + + Status +
+ +
+ + success + + +
+ +
+ + + + + + Type +
+ +
+ + transfer + + +
+
-
-
+ + + + `; diff --git a/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap b/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap index caee9d8a47..c3b676f4ca 100644 --- a/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap +++ b/explorer/src/routes/transactions/transaction/__tests__/__snapshots__/page.spec.js.snap @@ -1,362 +1,358 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html exports[`Transaction Details > should render the Transaction details page and query the necessary info 1`] = ` -
-
+
-
-
-

- Transaction Details -

- -
- -

- Loading... -

- + Transaction Details + -
+ + +

+ Loading... +

-
-
+ + + + `; exports[`Transaction Details > should render the Transaction details page and query the necessary info 2`] = ` -
-
+
-
+

+ Transaction Details +

+ + + +
-
-

- Transaction Details -

+ + + -
+ ID + -
+ 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 + +
-
- - - - - - ID -
+ + + -
+ +
+ - 4877687c2dbf154248d3ddee9ba...39056f82a46819da041d4ac0e04 -
-
+ +
+ - - - - - - block height -
+ + + -
+ +
+ - - 487,166 - -
-
+ +
+ - - - - - - Status -
+ + + -
- - success - -
-
+ +
+
- -
-
+ +
+ - - - - - - type -
+ + + -
+ +
+ - - transfer - -
-
+ +
+ - - - - - - transaction fee -
+ + + -
- 0.000290766 DUSK ($0.0001071037) - - -
-
- - - - - - gas price -
+ transaction fee + + +
+ 0.000290766 DUSK ($0.0001071037) + -
- 0.000000001 DUSK ($0.0000000004) - - -
-
+
+ - - - - - - transaction gas limit -
+ + + -
- 0.50 - DUSK -
-
- - - - - - gas spent -
+ gas price + + +
+ 0.000000001 DUSK ($0.0000000004) + -
- 0.000290766 - DUSK -
-
+
+ - - - - - - payload - + + -
+ +
+ 0.50 + DUSK +
+
+ + -
+ + -
+ +
+ 0.000290766 + DUSK +
+
+ - - -
- + + + + + payload + + +
+ -
+
+ +
+
-
-
+ + + + `;