Skip to content

Commit 8e7e86d

Browse files
committed
chore: fix coin name
TICKET: WIN-6642
1 parent 7972e1b commit 8e7e86d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

modules/bitgo/test/v2/unit/keychains.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe('V2 Keychains', function () {
8383
n.asset !== UnderlyingAsset.PHRS &&
8484
n.asset !== UnderlyingAsset.CTC &&
8585
n.asset !== UnderlyingAsset.HYPEEVM &&
86-
n.asset !== UnderlyingAsset.PLASMA &&
86+
n.asset !== UnderlyingAsset.XPL &&
8787
n.asset !== UnderlyingAsset.STT &&
8888
n.asset !== UnderlyingAsset.SONEIUM &&
8989
n.asset !== UnderlyingAsset.VET &&

modules/statics/src/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export enum CoinFamily {
6868
LTC = 'ltc',
6969
MANTRA = 'mantra',
7070
MON = 'mon',
71-
PLASMA = 'xpl', // Plasma Network
71+
XPL = 'xpl', // Plasma Network
7272
POLYGON = 'polygon',
7373
POLYX = 'polyx',
7474
PHRS = 'phrs',
@@ -524,7 +524,7 @@ export enum UnderlyingAsset {
524524
OG = 'og',
525525
OPETH = 'opeth',
526526
OSMO = 'osmo',
527-
PLASMA = 'xpl', // Plasma Network
527+
XPL = 'xpl', // Plasma Network
528528
POLYGON = 'polygon',
529529
PHRS = 'phrs',
530530
CTC = 'ctc',

modules/statics/src/coins.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,9 +1596,9 @@ export const coins = CoinMap.fromCoins([
15961596
'df01a650-3c8b-4182-a7cb-8ee7ad115c21',
15971597
'xpl',
15981598
'Plasma',
1599-
Networks.main.plasma,
1599+
Networks.main.xpl,
16001600
18,
1601-
UnderlyingAsset.PLASMA,
1601+
UnderlyingAsset.XPL,
16021602
BaseUnit.ETH,
16031603
[
16041604
...EVM_FEATURES,
@@ -1612,9 +1612,9 @@ export const coins = CoinMap.fromCoins([
16121612
'f99e8326-ea4f-4a84-8033-194d421daedb',
16131613
'txpl',
16141614
'Plasma Testnet',
1615-
Networks.test.plasma,
1615+
Networks.test.xpl,
16161616
18,
1617-
UnderlyingAsset.PLASMA,
1617+
UnderlyingAsset.XPL,
16181618
BaseUnit.ETH,
16191619
[
16201620
...EVM_FEATURES,

modules/statics/src/networks.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ class Creditcoin extends Mainnet implements EthereumNetwork {
13491349

13501350
class Plasma extends Mainnet implements EthereumNetwork {
13511351
name = 'Plasma';
1352-
family = CoinFamily.PLASMA;
1352+
family = CoinFamily.XPL;
13531353
explorerUrl = ''; //TODO- WIN-6654 when mainnet details available
13541354
accountExplorerUrl = ''; //TODO- WIN-6654 when mainnet details available
13551355
chainId = 9999999999999; //TODO- WIN-6654 when mainnet details available ,this is a dummy value
@@ -1358,7 +1358,7 @@ class Plasma extends Mainnet implements EthereumNetwork {
13581358

13591359
class PlasmaTestnet extends Testnet implements EthereumNetwork {
13601360
name = 'PlasmaTestnet';
1361-
family = CoinFamily.PLASMA;
1361+
family = CoinFamily.XPL;
13621362
explorerUrl = 'https://testnet.plasmascan.to/blockchain/transactions';
13631363
accountExplorerUrl = 'http://testnet.plasmaexplorer.io/address/';
13641364
chainId = 9746;
@@ -1864,7 +1864,7 @@ export const Networks = {
18641864
wemix: Object.freeze(new Wemix()),
18651865
world: Object.freeze(new World()),
18661866
xdc: Object.freeze(new Xdc()),
1867-
plasma: Object.freeze(new Plasma()),
1867+
xpl: Object.freeze(new Plasma()),
18681868
xrp: Object.freeze(new Xrp()),
18691869
xtz: Object.freeze(new Xtz()),
18701870
zCash: Object.freeze(new ZCash()),
@@ -1959,7 +1959,7 @@ export const Networks = {
19591959
wemix: Object.freeze(new WemixTestnet()),
19601960
world: Object.freeze(new WorldTestnet()),
19611961
xdc: Object.freeze(new XdcTestnet()),
1962-
plasma: Object.freeze(new PlasmaTestnet()),
1962+
xpl: Object.freeze(new PlasmaTestnet()),
19631963
xrp: Object.freeze(new XrpTestnet()),
19641964
xtz: Object.freeze(new XtzTestnet()),
19651965
zCash: Object.freeze(new ZCashTestnet()),

0 commit comments

Comments
 (0)