git.delta.rocks / unique-network / refs/commits / 85e3c44a9035

difftreelog

fix add test-pallet enable tx to Dev playgrounds

Daniel Shiposha2022-10-11parent: #5832391.patch.diff
in: master

1 file changed

modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
486 this.helper = helper;486 this.helper = helper;
487 }487 }
488
489 async enable() {
490 const signer = this.helper.util.fromSeed('//Alice');
491 await this.helper.getSudo<DevUniqueHelper>().executeExtrinsic(signer, 'api.tx.testUtils.enable', [], true);
492 }
488493
489 async setTestValue(signer: TSigner, testVal: number) {494 async setTestValue(signer: TSigner, testVal: number) {
490 await this.helper.executeExtrinsic(signer, 'api.tx.testUtils.setTestValue', [testVal], true);495 await this.helper.executeExtrinsic(signer, 'api.tx.testUtils.setTestValue', [testVal], true);