diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index b17a875f..ad53f5b3 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -1693,7 +1693,6 @@ export const peaqEvm = new EvmParachain({ address: '0xFFFfFfFf000000000000000000000000000003ea', decimals: 0, // todo ids: { - id: '0xFFFfFfFf000000000000000000000000000003ea', minId: 1002, }, }), @@ -1701,7 +1700,6 @@ export const peaqEvm = new EvmParachain({ address: '0xfffFFFFF000000000000000000000000000003eb', decimals: 0, // todo ids: { - id: '0xfffFFFFF000000000000000000000000000003eb', minId: 1003, }, }), diff --git a/packages/types/src/asset/ChainAsset.ts b/packages/types/src/asset/ChainAsset.ts index 155e4214..9cfff9a4 100644 --- a/packages/types/src/asset/ChainAsset.ts +++ b/packages/types/src/asset/ChainAsset.ts @@ -31,7 +31,7 @@ export class ChainAsset extends Asset { readonly min?: bigint; - readonly #symbol?: string; + readonly symbol?: string; constructor({ address, @@ -47,7 +47,7 @@ export class ChainAsset extends Asset { this.decimals = decimals; this.ids = ids; this.min = min ? toBigInt(min, decimals) : undefined; - this.#symbol = symbol; + this.symbol = symbol; } static fromAsset( @@ -63,13 +63,12 @@ export class ChainAsset extends Asset { copyWith(params: Partial): ChainAsset { return new ChainAsset({ ...this, - symbol: this.#symbol, ...params, }); } - get symbol(): string { - return this.#symbol || this.originSymbol; + getSymbol(): string { + return this.symbol || this.originSymbol; } getAssetId(): ChainAssetId {