--- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -486,6 +486,11 @@ this.helper = helper; } + async enable() { + const signer = this.helper.util.fromSeed('//Alice'); + await this.helper.getSudo().executeExtrinsic(signer, 'api.tx.testUtils.enable', [], true); + } + async setTestValue(signer: TSigner, testVal: number) { await this.helper.executeExtrinsic(signer, 'api.tx.testUtils.setTestValue', [testVal], true); }