difftreelog
style pr doc nitpicks
in: master
2 files changed
runtime/common/config/substrate.rsdiffbeforeafterboth161 /// The ubiquitous event type.161 /// The ubiquitous event type.162 type RuntimeEvent = RuntimeEvent;162 type RuntimeEvent = RuntimeEvent;163 // FIXME: Is () the new treasury?163 // FIXME: Is () the new treasury?164 // Switch to real treasury once we start having dust removals165 // Related issue: https://github.com/paritytech/polkadot/issues/7323164 type DustRemoval = ();166 type DustRemoval = ();165 type ExistentialDeposit = ExistentialDeposit;167 type ExistentialDeposit = ExistentialDeposit;166 type AccountStore = System;168 type AccountStore = System;tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -682,7 +682,6 @@
options: Partial<SignerOptions> | null = null,/*, failureMessage='expected success'*/
): Promise<ITransactionResult> {
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,