git.delta.rocks / unique-network / refs/commits / cd7c394f1e45

difftreelog

style pr doc nitpicks

Yaroslav Bolyukin2023-06-05parent: #3e02071.patch.diff
in: master

2 files changed

modifiedruntime/common/config/substrate.rsdiffbeforeafterboth
161 /// 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 removals
165 // Related issue: https://github.com/paritytech/polkadot/issues/7323
164 type DustRemoval = ();166 type DustRemoval = ();
165 type ExistentialDeposit = ExistentialDeposit;167 type ExistentialDeposit = ExistentialDeposit;
166 type AccountStore = System;168 type AccountStore = System;
modifiedtests/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,