difftreelog
Fix error
in: master
6 files changed
.envdiffbeforeafterboth--- a/.env
+++ b/.env
@@ -1,7 +1,7 @@
RUST_TOOLCHAIN=nightly-2022-11-15
POLKADOT_BUILD_BRANCH=release-v0.9.37
POLKADOT_LAUNCH_BRANCH=unique-network
-RELAY_CHAIN_TYPE=westend
+RELAY_CHAIN_TYPE=rococo
POLKADOT_MAINNET_BRANCH=release-v0.9.37
STATEMINT_BUILD_BRANCH=release-parachains-v9370
tests/src/benchmarks/mintFee/index.tsdiffbeforeafterboth8import {Contract} from 'web3-eth-contract';8import {Contract} from 'web3-eth-contract';9import {createObjectCsvWriter} from 'csv-writer';9import {createObjectCsvWriter} from 'csv-writer';10import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES} from '../utils/common';10import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES} from '../utils/common';11import {makeNames} from '../utils';11import {makeNames} from '../../util';12import {ContractImports} from '../../eth/util/playgrounds/types';12import {ContractImports} from '../../eth/util/playgrounds/types';131314const {dirname} = makeNames(import.meta.url);14const {dirname} = makeNames(import.meta.url);tests/src/benchmarks/opsFee/index.tsdiffbeforeafterboth--- a/tests/src/benchmarks/opsFee/index.ts
+++ b/tests/src/benchmarks/opsFee/index.ts
@@ -7,8 +7,10 @@
import {createObjectCsvWriter} from 'csv-writer';
import {FunctionFeeVM, IFunctionFee} from '../utils/types';
import {convertToTokens, createCollectionForBenchmarks, PERMISSIONS, PROPERTIES, SUBS_PROPERTIES} from '../utils/common';
+import {makeNames} from '../../util';
+const {dirname} = makeNames(import.meta.url);
const main = async () => {
tests/src/eth/util/index.tsdiffbeforeafterboth--- a/tests/src/eth/util/index.ts
+++ b/tests/src/eth/util/index.ts
@@ -59,7 +59,7 @@
}
return account;
};
- await code(helper, privateKey);
+ return;
}
finally {
await helper.disconnect();
tests/src/nesting/collectionProperties.test.tsdiffbeforeafterboth--- a/tests/src/nesting/collectionProperties.test.ts
+++ b/tests/src/nesting/collectionProperties.test.ts
@@ -235,7 +235,7 @@
itSub('Fails to set properties that exceed the limits', async ({helper}) => {
const collection = await helper[testSuite.mode].mintCollection(alice);
- const spaceLimit = helper.getApi().consts.unique.maxCollectionPropertiesSize.toNumber();
+ const spaceLimit = Number(helper.getApi().consts.unique.maxCollectionPropertiesSize);
// Mute the general tx parsing error, too many bytes to process
{
tests/src/util/index.tsdiffbeforeafterboth--- a/tests/src/util/index.ts
+++ b/tests/src/util/index.ts
@@ -57,7 +57,7 @@
}
return account;
};
- await code(helper, privateKey);
+ return;
}
finally {
await helper.disconnect();