--- 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,