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
682 options: Partial<SignerOptions> | null = null,/*, failureMessage='expected success'*/682 options: Partial<SignerOptions> | null = null,/*, failureMessage='expected success'*/
683 ): Promise<ITransactionResult> {683 ): Promise<ITransactionResult> {
684 if(this.api === null) throw Error('API not initialized');684 if(this.api === null) throw Error('API not initialized');
685 if(!extrinsic.startsWith('api.tx.')) throw Error(`${extrinsic} is not transaction`);
686685
687 const startTime = (new Date()).getTime();686 const startTime = (new Date()).getTime();
688 let result: ITransactionResult;687 let result: ITransactionResult;
734 }733 }
735734
736 async callRpc735 async callRpc
736 // TODO: make it strongly typed, or use api.query/api.rpc directly
737 // <737 // <
738 // K extends 'rpc' | 'query',738 // K extends 'rpc' | 'query',
739 // E extends string,739 // E extends string,