From cd7c394f1e4558ac4333ffa79c35738667220a09 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Mon, 05 Jun 2023 16:15:54 +0000 Subject: [PATCH] style: pr doc nitpicks --- --- a/runtime/common/config/substrate.rs +++ b/runtime/common/config/substrate.rs @@ -161,6 +161,8 @@ /// The ubiquitous event type. type RuntimeEvent = RuntimeEvent; // FIXME: Is () the new treasury? + // Switch to real treasury once we start having dust removals + // Related issue: https://github.com/paritytech/polkadot/issues/7323 type DustRemoval = (); type ExistentialDeposit = ExistentialDeposit; type AccountStore = System; --- a/tests/src/util/playgrounds/unique.ts +++ b/tests/src/util/playgrounds/unique.ts @@ -682,7 +682,6 @@ options: Partial | null = null,/*, failureMessage='expected success'*/ ): Promise { if(this.api === null) throw Error('API not initialized'); - if(!extrinsic.startsWith('api.tx.')) throw Error(`${extrinsic} is not transaction`); const startTime = (new Date()).getTime(); let result: ITransactionResult; @@ -734,6 +733,7 @@ } async callRpc + // TODO: make it strongly typed, or use api.query/api.rpc directly // < // K extends 'rpc' | 'query', // E extends string, -- gitstuff