Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a test case for checking metadata hash #1350

Open
wants to merge 1 commit into
base: manta
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions tests/check_metadata_hash.ts

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"parachain_lease_test": "mocha -r ts-node/register check_parachain_lease_expiration.ts",
"test_farming": "mocha -r ts-node/register test-farming.ts",
"reconstruct_pallet_storages": "mocha -r ts-node/register reconstruct_pallet_storages.ts",
"metadata_hash": "mocha -r ts-node/register check_metadata_hash.ts",
"tests": "mocha -r ts-node/register --timeout 50000 tests/test-*.ts",
"lint": "eslint ."
},
Expand All @@ -24,6 +25,7 @@
"@types/minimist": "^1.2.2",
"@types/yargs": "^17.0.0",
"big-json": "^3.2.0",
"merkleized-metadata": "^0.1.0",
"minimist": "^1.2.5",
"ts-node": "^10.8.0",
"typescript": "^4.7.4"
Expand Down
12 changes: 12 additions & 0 deletions tests/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,18 @@ merge2@^1.3.0, merge2@^1.4.1:
resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz"
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==

merkleized-metadata-sys@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/merkleized-metadata-sys/-/merkleized-metadata-sys-0.1.0.tgz#90a84fcd7f148034a1d3f51299137b3b3a0cd9f7"
integrity sha512-hgm/tyayePap4/BxbHNG477LswfIZEn8/8bTMS+d2t5ER47soCQPJ11AMqDHWDZHKI8lttOvuosGtOupF3W2hQ==

merkleized-metadata@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/merkleized-metadata/-/merkleized-metadata-0.1.0.tgz#6d0c4edc2512e489f4554f421cb9006d5ae7e424"
integrity sha512-pZAMhe8u0Ob9NxijPKbPp5JurPXROpnIDqCcOdNPuGQ6he6I7dDn2qV61/IcKKkc8rI76wo5uxcX3S8waHpRsw==
dependencies:
merkleized-metadata-sys "^0.1.0"

micromatch@^4.0.4:
version "4.0.5"
resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz"
Expand Down
Loading