fix: resolve remaining eslint errors (key ordering and unsafe member access)

This commit is contained in:
2026-01-08 10:27:55 +03:00
parent 55d7dcb23b
commit 7c1295d1d5
6 changed files with 12 additions and 10 deletions
@@ -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()}`,