git.delta.rocks / unique-network / refs/commits / 6d1c84661df9

difftreelog

ci fix js-packages paths

Yaroslav Bolyukin2023-11-15parent: #4a84b64.patch.diff
in: master

18 files changed

modified.github/workflows/collator-selection.ymldiffbeforeafterboth
176176
177 - name: Run tests177 - name: Run tests
178 working-directory: js-packages/tests178 working-directory: js-packages/tests
179 run: |179 run: |
180 yarn install180 yarn install
181 yarn add mochawesome181 yarn add mochawesome
182 # Wanted by both wait_for_first_block182 # Wanted by both wait_for_first_block
183 # export RPC_URL="${RELAY_SAPPHIRE_HTTP_URL:-${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}}"183 # export RPC_URL="${RELAY_SAPPHIRE_HTTP_URL:-${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}}"
184 ../scripts/src/generate_types/wait_for_first_block.sh184 ../scripts/wait_for_first_block.sh
185 echo "Ready to start tests"185 echo "Ready to start tests"
186 NOW=$(date +%s) && yarn testCollators --reporter mochawesome --reporter-options reportFilename=test-collators-${NOW}186 NOW=$(date +%s) && yarn testCollators --reporter mochawesome --reporter-options reportFilename=test-collators-${NOW}
187 env:187 env:
188 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }} 188 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
189189
modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
146 snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.latest.outputs.name }}'}})146 snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.latest.outputs.name }}'}})
147147
148 - name: "Reconcile: runtime is upgraded"148 - name: "Reconcile: runtime is upgraded"
149 working-directory: tests149 working-directory: js-packages/tests
150 run: |150 run: |
151 yarn151 yarn
152 ./scripts/wait_for_first_block.sh152 ../scripts/wait_for_first_block.sh
153 echo "Executing upgrade"153 echo "Executing upgrade"
154 yarn ts-node --esm src/util/authorizeEnactUpgrade.ts ${{ steps.wasms.outputs.dir }}/${{ matrix.wasm_name }}-runtime/${{ matrix.wasm_name }}_runtime.compact.compressed.wasm154 yarn ts-node --esm util/authorizeEnactUpgrade.ts ${{ steps.wasms.outputs.dir }}/${{ matrix.wasm_name }}-runtime/${{ matrix.wasm_name }}_runtime.compact.compressed.wasm
155 env:155 env:
156 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}156 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
157157
158 - name: Run Parallel tests after forkless upgrade158 - name: Run Parallel tests after forkless upgrade
159 working-directory: tests159 working-directory: js-packages/tests
160 run: |160 run: |
161 ./scripts/wait_for_first_block.sh161 ../scripts/wait_for_first_block.sh
162 echo "Ready to start tests"162 echo "Ready to start tests"
163 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}163 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
164 env:164 env:
165 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}165 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
166166
167 - name: Run Sequential tests after forkless upgrade167 - name: Run Sequential tests after forkless upgrade
168 if: success() || failure()168 if: success() || failure()
169 working-directory: tests169 working-directory: js-packages/tests
170 run: NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}170 run: NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}
171 env:171 env:
172 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}172 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
161 snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}})161 snippet:(import 'baedeker-library/ops/rewrites.libsonnet').rewriteNodePaths({'bin/unique':{dockerImage:'${{ steps.mainnet.outputs.name }}'}})
162162
163 - name: "Reconcile: runtime is upgraded"163 - name: "Reconcile: runtime is upgraded"
164 working-directory: tests164 working-directory: js-packages/tests
165 run: |165 run: |
166 yarn166 yarn
167 ./scripts/wait_for_first_block.sh167 ../scripts/wait_for_first_block.sh
168 echo "Executing upgrade"168 echo "Executing upgrade"
169 yarn ts-node --esm src/util/authorizeEnactUpgrade.ts ${{ steps.wasms.outputs.dir }}/${{ matrix.wasm_name }}-runtime/${{ matrix.wasm_name }}_runtime.compact.compressed.wasm169 yarn ts-node --esm util/authorizeEnactUpgrade.ts ${{ steps.wasms.outputs.dir }}/${{ matrix.wasm_name }}-runtime/${{ matrix.wasm_name }}_runtime.compact.compressed.wasm
170 env:170 env:
171 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}171 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
172172
173 - name: Run Parallel tests after forkless upgrade173 - name: Run Parallel tests after forkless upgrade
174 working-directory: tests174 working-directory: js-packages/tests
175 run: |175 run: |
176 ./scripts/wait_for_first_block.sh176 ../scripts/wait_for_first_block.sh
177 echo "Ready to start tests"177 echo "Ready to start tests"
178 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}178 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
179 env:179 env:
180 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}180 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
181181
182 - name: Run Sequential tests after forkless upgrade182 - name: Run Sequential tests after forkless upgrade
183 if: success() || failure()183 if: success() || failure()
184 working-directory: tests184 working-directory: js-packages/tests
185 run: NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}185 run: NOW=$(date +%s) && yarn testSequential --reporter mochawesome --reporter-options reportFilename=test-sequential-${NOW}
186 env:186 env:
187 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}187 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
modified.github/workflows/governance.ymldiffbeforeafterboth
8383
84 - name: Run tests84 - name: Run tests
85 working-directory: js-packages/tests85 working-directory: js-packages/tests
86 run: |86 run: |
87 yarn install87 yarn install
88 yarn add mochawesome88 yarn add mochawesome
89 ../scripts/src/generate_types/wait_for_first_block.sh89 ../scripts/wait_for_first_block.sh
90 echo "Ready to start tests"90 echo "Ready to start tests"
91 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}91 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}
92 env:92 env:
93 RPC_URL: http://127.0.0.1:9944/93 RPC_URL: http://127.0.0.1:9944/
9494
modified.github/workflows/make-bench.ymldiffbeforeafterboth
43 time make bench43 time make bench
4444
45 - name: Run node dev mode in background45 - name: Run node dev mode in background
46 working-directory: ./
47 run: |46 run: |
48 ./target/release/unique-collator --dev &47 ./target/release/unique-collator --dev &
4948
50 - name: RUN Calibrate49 - name: RUN Calibrate
51 working-directory: ./tests50 working-directory: js-packages/scripts
52 run: |51 run: |
53 yarn install52 yarn
54 yarn ts-node --esm src/calibrate.ts53 yarn ts-node --esm calibrate.ts
55 yarn ts-node --esm src/calibrateApply.ts54 yarn ts-node --esm calibrateApply.ts
56 55
57 - name: show git diff56 - name: show git diff
58 run: |57 run: |
modified.github/workflows/market-test.ymldiffbeforeafterboth
119119
120# Temporary disable node readyness check. Have to dig into the script logic.120# Temporary disable node readyness check. Have to dig into the script logic.
121# - name: Wait for chain up and running121# - name: Wait for chain up and running
122# working-directory: tests122# working-directory: js-packages/tests
123# run: |123# run: |
124# yarn install124# yarn install
125# ./scripts/wait_for_first_block.sh125# ../scripts/wait_for_first_block.sh
126# echo "Ready to start tests"126# echo "Ready to start tests"
127# env:127# env:
128# RPC_URL: http://127.0.0.1:9944/128# RPC_URL: http://127.0.0.1:9944/
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
167 - name: Run Parallel tests before Node Parachain upgrade167 - name: Run Parallel tests before Node Parachain upgrade
168 working-directory: ${{ matrix.mainnet_branch }}/tests168 working-directory: ${{ matrix.mainnet_branch }}/tests
169 if: success()169 if: success()
170 run: |170 run: |
171 yarn171 yarn
172 yarn add mochawesome172 yarn add mochawesome
173 ./scripts/wait_for_first_block.sh173 # TODO: Update to new script structure after mainnet will have it
174 ./scripts/wait_for_first_block.sh
174 echo "Ready to start tests"175 echo "Ready to start tests"
175 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}176 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
176 env:177 env:
177 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}178 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
178179
196197
197 - name: Ensure network is alive198 - name: Ensure network is alive
198 if: success()199 if: success()
199 run: |200 run: |
200 ./tests/scripts/wait_for_first_block.sh201 ./js-packages/scripts/wait_for_first_block.sh
201 env:202 env:
202 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}203 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
203204
214 - name: Run Parallel tests after Node Parachain upgrade215 - name: Run Parallel tests after Node Parachain upgrade
215 working-directory: ${{ matrix.mainnet_branch }}/tests216 working-directory: ${{ matrix.mainnet_branch }}/tests
216 if: success() || failure() # run this step even if previous step failed217 if: success() || failure() # run this step even if previous step failed
217 run: |218 run: |
218 yarn install219 yarn install
219 yarn add mochawesome220 yarn add mochawesome
220 ./scripts/wait_for_first_block.sh221 # TODO: Update to new script structure after mainnet will have it
222 ./scripts/wait_for_first_block.sh
221 echo "Ready to start tests"223 echo "Ready to start tests"
222 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}224 NOW=$(date +%s) && yarn testParallel --reporter mochawesome --reporter-options reportFilename=test-parallel-${NOW}
223 env:225 env:
224 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}226 RPC_URL: ${{ env.RELAY_UNIQUE_HTTP_URL }}
225227
modified.github/workflows/polkadot-types.ymldiffbeforeafterboth
74 # run: sudo apt install jq -y74 # run: sudo apt install jq -y
7575
76 - name: Run generate_types_package script76 - name: Run generate_types_package script
77 working-directory: tests77 working-directory: js-packages
78 run: |78 run: |
79 yarn install79 yarn install
80 /bin/bash ./scripts/generate_types/wait_for_first_block.sh80 ./scripts/wait_for_first_block.sh
81 git config --global user.name "Unique"81 git config --global user.name "Unique"
82 git config --global user.email github-actions@usetech.com 82 git config --global user.email github-actions@usetech.com
83 /bin/bash ./scripts/generate_types/generate_types_package.sh --release ${{ matrix.usage }} --push83 ./scripts/generate_types/generate_types_package.sh --release ${{ matrix.usage }} --push
84 env:84 env:
85 RPC_URL: http://127.0.0.1:9944/85 RPC_URL: http://127.0.0.1:9944/
8686
modified.github/workflows/xcm.ymldiffbeforeafterboth
327 retention-days: 2327 retention-days: 2
328328
329 - name: Yarn install329 - name: Yarn install
330 working-directory: tests330 working-directory: js-packages/tests
331 run: |331 run: |
332 yarn install332 yarn install
333 yarn add mochawesome333 yarn add mochawesome
334334
335 - name: Call HRMP initialization335 - name: Call HRMP initialization
336 working-directory: tests336 working-directory: js-packages/tests
337 run: |337 run: |
338 yarn ts-node --esm src/util/createHrmp.ts ${{matrix.network}}338 yarn ts-node --esm util/createHrmp.ts ${{matrix.network}}
339339
340 - name: Run XCM tests340 - name: Run XCM tests
341 working-directory: js-packages/tests341 working-directory: js-packages/tests
342 run: |342 run: |
343 # Wanted by both wait_for_first_block343 # Wanted by both wait_for_first_block
344 export RPC_URL="${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}"344 export RPC_URL="${RELAY_OPAL_HTTP_URL:-${RELAY_QUARTZ_HTTP_URL:-${RELAY_UNIQUE_HTTP_URL:-}}}"
345 ../scripts/src/generate_types/wait_for_first_block.sh345 ../scripts/wait_for_first_block.sh
346 echo "Ready to start tests"346 echo "Ready to start tests"
347 NOW=$(date +%s) && yarn ${{ matrix.runtest }} --reporter mochawesome --reporter-options reportFilename=test-${NOW}347 NOW=$(date +%s) && yarn ${{ matrix.runtest }} --reporter mochawesome --reporter-options reportFilename=test-${NOW}
348348
349 - name: XCM Test Report349 - name: XCM Test Report
350 uses: phoenix-actions/test-reporting@v10350 uses: phoenix-actions/test-reporting@v10
modified.github/workflows/yarn-dev.ymldiffbeforeafterboth
6363
64 - name: Run tests64 - name: Run tests
65 working-directory: js-packages/tests65 working-directory: js-packages/tests
66 run: |66 run: |
67 yarn install67 yarn install
68 yarn add mochawesome68 yarn add mochawesome
69 ../scripts/src/generate_types/wait_for_first_block.sh69 ../scripts/wait_for_first_block.sh
70 echo "Ready to start tests"70 echo "Ready to start tests"
71 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}71 NOW=$(date +%s) && yarn test --reporter mochawesome --reporter-options reportFilename=test-${NOW}
72 env:72 env:
73 RPC_URL: http://127.0.0.1:9944/73 RPC_URL: http://127.0.0.1:9944/
7474
8888
89 - name: Run benchmark mintFee tests89 - name: Run benchmark mintFee tests
90 working-directory: js-packages/scripts90 working-directory: js-packages/scripts
91 run: |91 run: |
92 yarn install92 yarn install
93 npx ts-node --esm ./src/benchmarks/mintFee/index.ts93 npx ts-node --esm ./benchmarks/mintFee/index.ts
9494
95 - name: Run benchmark opsFee tests95 - name: Run benchmark opsFee tests
96 working-directory: js-packages/scripts96 working-directory: js-packages/scripts
97 run: |97 run: |
98 yarn install98 yarn install
99 npx ts-node --esm ./src/benchmarks/opsFee/index.ts99 npx ts-node --esm ./benchmarks/opsFee/index.ts
100100
101 - name: Stop running containers101 - name: Stop running containers
102 if: always() # run this step always102 if: always() # run this step always
modifiedMakefilediffbeforeafterboth
7 @echo " bench-unique"7 @echo " bench-unique"
88
9NATIVE_FUNGIBLE_EVM_STUBS=./pallets/balances-adapter/src/stubs9NATIVE_FUNGIBLE_EVM_STUBS=./pallets/balances-adapter/src/stubs
10NATIVE_FUNGIBLE_EVM_ABI=./js-packages/tests/src/eth/abi/nativeFungible.json10NATIVE_FUNGIBLE_EVM_ABI=./js-packages/tests/eth/abi/nativeFungible.json
1111
12FUNGIBLE_EVM_STUBS=./pallets/fungible/src/stubs12FUNGIBLE_EVM_STUBS=./pallets/fungible/src/stubs
13FUNGIBLE_EVM_ABI=./js-packages/tests/src/eth/abi/fungible.json13FUNGIBLE_EVM_ABI=./js-packages/tests/eth/abi/fungible.json
1414
15NONFUNGIBLE_EVM_STUBS=./pallets/nonfungible/src/stubs15NONFUNGIBLE_EVM_STUBS=./pallets/nonfungible/src/stubs
16NONFUNGIBLE_EVM_ABI=./js-packages/tests/src/eth/abi/nonFungible.json16NONFUNGIBLE_EVM_ABI=./js-packages/tests/eth/abi/nonFungible.json
1717
18REFUNGIBLE_EVM_STUBS=./pallets/refungible/src/stubs18REFUNGIBLE_EVM_STUBS=./pallets/refungible/src/stubs
19REFUNGIBLE_EVM_ABI=./js-packages/tests/src/eth/abi/reFungible.json19REFUNGIBLE_EVM_ABI=./js-packages/tests/eth/abi/reFungible.json
20REFUNGIBLE_TOKEN_EVM_ABI=./js-packages/tests/src/eth/abi/reFungibleToken.json20REFUNGIBLE_TOKEN_EVM_ABI=./js-packages/tests/eth/abi/reFungibleToken.json
2121
22CONTRACT_HELPERS_STUBS=./pallets/evm-contract-helpers/src/stubs/22CONTRACT_HELPERS_STUBS=./pallets/evm-contract-helpers/src/stubs/
23CONTRACT_HELPERS_ABI=./js-packages/tests/src/eth/abi/contractHelpers.json23CONTRACT_HELPERS_ABI=./js-packages/tests/eth/abi/contractHelpers.json
2424
25COLLECTION_HELPER_STUBS=./pallets/unique/src/eth/stubs/25COLLECTION_HELPER_STUBS=./pallets/unique/src/eth/stubs/
26COLLECTION_HELPER_ABI=./js-packages/tests/src/eth/abi/collectionHelpers.json26COLLECTION_HELPER_ABI=./js-packages/tests/eth/abi/collectionHelpers.json
2727
28TESTS_API=./js-packages/tests/src/eth/api/28TESTS_API=./js-packages/tests/eth/api/
2929
30.PHONY: regenerate_solidity30.PHONY: regenerate_solidity
31regenerate_solidity: UniqueFungible.sol UniqueNFT.sol UniqueRefungible.sol UniqueRefungibleToken.sol ContractHelpers.sol CollectionHelpers.sol31regenerate_solidity: UniqueFungible.sol UniqueNFT.sol UniqueRefungible.sol UniqueRefungibleToken.sol ContractHelpers.sol CollectionHelpers.sol
modifieddoc/separate_rpc.mddiffbeforeafterboth
77 * runtime/quartz/Cargo.toml77 * runtime/quartz/Cargo.toml
78 * runtime/unique/Cargo.toml78 * runtime/unique/Cargo.toml
7979
807. Create tests/src/interfaces/ModuleName/definitions.ts and describe the necessary methods in it.807. Create js-packages/types/ModuleName/definitions.ts and describe the necessary methods in it.
81 ```ts81 ```ts
82 type RpcParam = {82 type RpcParam = {
83 name: string;83 name: string;
105 };105 };
106 ```106 ```
107107
1088. Describe definitions from paragraph 7 in tests/src/interfaces/definitions.ts.1088. Describe definitions from paragraph 7 in js-packages/types/definitions.ts.
109 ```ts109 ```ts
110 export {default as ModuleName} from './module/definitions';110 export {default as ModuleName} from './module/definitions';
111 ```111 ```
112112
1139. tests/src/substrate/substrate-api.ts1139. js-packages/tests/substrate/substrate-api.ts
114 * Set the RPC interface in the `defaultApiOptions` function, add an entry in the `rpc` parameter114 * Set the RPC interface in the `defaultApiOptions` function, add an entry in the `rpc` parameter
115 ```ts115 ```ts
116 module: defs.module.rpc,116 module: defs.module.rpc,
117 ```117 ```
118118
11910. tests/src/util/playgrounds/unique.dev.ts11910. js-packages/playgrounds/unique.dev.ts
120 * Specify RPC interface in `connect` function, add entry in `rpc` parameter120 * Specify RPC interface in `connect` function, add entry in `rpc` parameter
121 ```ts121 ```ts
122 module: defs.module.rpc,122 module: defs.module.rpc,
123 ```123 ```
124
modifiedjs-packages/.dockerignorediffbeforeafterboth
1node_modules/1node_modules/
2Dockerfile-tests
32
deletedjs-packages/Dockerfile-testsdiffbeforeafterboth

no changes

modifiedjs-packages/scripts/benchmarks/mintFee/index.tsdiffbeforeafterboth
1414
15export const CONTRACT_IMPORT: ContractImports[] = [15export const CONTRACT_IMPORT: ContractImports[] = [
16 {16 {
17 fsPath: `${dirname}/../../../../tests/eth/api/CollectionHelpers.sol`,17 fsPath: `${dirname}/../../../tests/eth/api/CollectionHelpers.sol`,
18 solPath: 'eth/api/CollectionHelpers.sol',18 solPath: 'eth/api/CollectionHelpers.sol',
19 },19 },
20 {20 {
21 fsPath: `${dirname}/../../../../tests/eth/api/ContractHelpers.sol`,21 fsPath: `${dirname}/../../../tests/eth/api/ContractHelpers.sol`,
22 solPath: 'eth/api/ContractHelpers.sol',22 solPath: 'eth/api/ContractHelpers.sol',
23 },23 },
24 {24 {
25 fsPath: `${dirname}/../../../../tests/eth/api/UniqueRefungibleToken.sol`,25 fsPath: `${dirname}/../../../tests/eth/api/UniqueRefungibleToken.sol`,
26 solPath: 'eth/api/UniqueRefungibleToken.sol',26 solPath: 'eth/api/UniqueRefungibleToken.sol',
27 },27 },
28 {28 {
29 fsPath: `${dirname}/../../../../tests/eth/api/UniqueRefungible.sol`,29 fsPath: `${dirname}/../../../tests/eth/api/UniqueRefungible.sol`,
30 solPath: 'eth/api/UniqueRefungible.sol',30 solPath: 'eth/api/UniqueRefungible.sol',
31 },31 },
32 {32 {
33 fsPath: `${dirname}/../../../../tests/eth/api/UniqueNFT.sol`,33 fsPath: `${dirname}/../../../tests/eth/api/UniqueNFT.sol`,
34 solPath: 'eth/api/UniqueNFT.sol',34 solPath: 'eth/api/UniqueNFT.sol',
35 },35 },
36];36];
modifiedjs-packages/scripts/package.jsondiffbeforeafterboth
14 "tslib": "^2.6.2"14 "tslib": "^2.6.2"
15 },15 },
16 "scripts": {16 "scripts": {
17 "benchMintingFee": "ts-node src/benchmarks/mintFee/benchmark.ts",17 "benchMintingFee": "ts-node benchmarks/mintFee/benchmark.ts",
18 "loadTransfer": "ts-node src/transfer.nload.ts",18 "loadTransfer": "ts-node transfer.nload.ts",
19 "generateEnv": "ts-node --esm ./src/generateEnv.ts",19 "generateEnv": "ts-node --esm ./generateEnv.ts",
20 "propose-upgrade": "ts-node --esm ./src/proposeupgrade.ts",20 "propose-upgrade": "ts-node --esm ./proposeupgrade.ts",
21 "propose-fast-track": "ts-node --esm ./src/proposefasttrack.ts"21 "propose-fast-track": "ts-node --esm ./proposefasttrack.ts"
22 }22 }
23}23}
2424
addedjs-packages/scripts/wait_for_first_block.shdiffbeforeafterboth

no changes

modifiedjs-packages/tests/package.jsondiffbeforeafterboth
26 "_test": "yarn setup && mocha --timeout 9999999 --loader=ts-node/esm.mjs",26 "_test": "yarn setup && mocha --timeout 9999999 --loader=ts-node/esm.mjs",
27 "_testParallel": "yarn setup && mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",27 "_testParallel": "yarn setup && mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",
28 "test": "yarn _test './**/*.*test.ts'",28 "test": "yarn _test './**/*.*test.ts'",
29 "testParallel": "yarn _testParallel './**/*.test.ts'",
30 "testSequential": "yarn _test './**/*.seqtest.ts'",
31 "testGovernance": "RUN_GOV_TESTS=1 yarn _test ./**/governance/*.*test.ts",
32 "testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/collator-selection/**.*test.ts --timeout 49999999",
29 "load": "yarn _test './**/*.load.ts'"33 "load": "yarn _test './**/*.load.ts'"
30 }34 }
31}35}