Closed sitetester closed 9 months ago
There is a duplicated interface in source code, so we can remove one of them. // framework/src/modules/interoperability/stores/chain_account.ts
interface
export const enum ChainStatus { REGISTERED = 0, ACTIVE = 1, TERMINATED = 2, } export interface ChainAccount { name: string; lastCertificate: LastCertificate; status: ChainStatus; }
// framework/src/modules/interoperability/types.ts
export interface ChainAccount { name: string; lastCertificate: LastCertificate; status: number; }
Some points to consider while removing this duplication:
types.ts
/stores/xxx.ts
import
Please describe why it is needed
Closing this issue for no activity
Description
There is a duplicated
interface
in source code, so we can remove one of them. // framework/src/modules/interoperability/stores/chain_account.ts// framework/src/modules/interoperability/types.ts
Some points to consider while removing this duplication:
types.ts
or in/stores/xxx.ts
import
s will change.Motivation
Please describe why it is needed
Additional Information