mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-04-21 23:37:57 +00:00
fix: resolve remaining eslint errors (key ordering and unsafe member access)
This commit is contained in:
@@ -51,6 +51,7 @@ export function getBalance (
|
||||
instanceId,
|
||||
(account: string): Observable<DeriveBalancesAll> =>
|
||||
combineLatest<[any, any]>([api.query.tokens.accounts(account, 0), api.query.system.account(account)]).pipe(
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
map(([data, systemAccount]: [OrmlAccountData, FrameSystemAccountInfo]): DeriveBalancesAll => {
|
||||
return {
|
||||
...defaultAccountBalance(),
|
||||
|
||||
@@ -3,4 +3,5 @@
|
||||
|
||||
import { typesBundleForPezkuwi } from '@parallel-finance/type-definitions';
|
||||
|
||||
export default typesBundleForPezkuwi.spec.parallel;
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
|
||||
export default (typesBundleForPezkuwi as Record<string, unknown>).spec;
|
||||
|
||||
@@ -89,14 +89,14 @@ export const prodRelayDicle: EndpointOption = {
|
||||
dnslink: 'dicle',
|
||||
genesisHash: DICLE_GENESIS,
|
||||
info: 'dicle',
|
||||
isRelay: true,
|
||||
isPeopleForIdentity: true,
|
||||
isRelay: true,
|
||||
linked: [
|
||||
...getTeleports(prodParasDicle)
|
||||
],
|
||||
providers: {
|
||||
'Pezkuwi Foundation': 'wss://dicle-rpc.pezkuwichain.io',
|
||||
Local: 'ws://127.0.0.1:9944'
|
||||
Local: 'ws://127.0.0.1:9944',
|
||||
'Pezkuwi Foundation': 'wss://dicle-rpc.pezkuwichain.io'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Dicle',
|
||||
|
||||
@@ -89,8 +89,8 @@ export const prodRelayPezkuwi: EndpointOption = {
|
||||
dnslink: 'pezkuwi',
|
||||
genesisHash: PEZKUWI_GENESIS,
|
||||
info: 'pezkuwi',
|
||||
isRelay: true,
|
||||
isPeopleForIdentity: true,
|
||||
isRelay: true,
|
||||
linked: [
|
||||
...getTeleports(prodParasPezkuwi)
|
||||
],
|
||||
|
||||
@@ -95,8 +95,8 @@ export const testRelayZagros: EndpointOption = {
|
||||
...getTeleports(testParasZagros)
|
||||
],
|
||||
providers: {
|
||||
'Pezkuwi Foundation': 'wss://zagros-rpc.pezkuwichain.io',
|
||||
Local: 'ws://127.0.0.1:9944'
|
||||
Local: 'ws://127.0.0.1:9944',
|
||||
'Pezkuwi Foundation': 'wss://zagros-rpc.pezkuwichain.io'
|
||||
},
|
||||
teleport: [1000],
|
||||
text: 'Zagros',
|
||||
|
||||
@@ -10,10 +10,10 @@ const HASH_PATHS = ['proposal/councilmotion'];
|
||||
|
||||
export const Commonwealth: ExternalDef = {
|
||||
chains: {
|
||||
Edgeware: 'edgeware',
|
||||
Kulupu: 'kulupu',
|
||||
Dicle: 'dicle',
|
||||
'Dicle CC3': 'dicle'
|
||||
'Dicle CC3': 'dicle',
|
||||
Edgeware: 'edgeware',
|
||||
Kulupu: 'kulupu'
|
||||
},
|
||||
create: (chain: string, path: string, data: BN | number | string, hash?: string): string =>
|
||||
`https://commonwealth.im/${chain}/${path}/${HASH_PATHS.includes(path) ? (hash || '') : data.toString()}`,
|
||||
|
||||
Reference in New Issue
Block a user