Skip to content

Commit 0793edf

Browse files
chore: ungate plume token
Ticket: WIN-8130
1 parent cd468d1 commit 0793edf

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

modules/bitgo/src/v2/coinFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ export const buildEthLikeChainToTestnetMap = (): {
911911
const testnetToMainnetMap: Record<string, string> = {};
912912
const mainnetToTestnetMap: Record<string, string> = {};
913913

914-
const enabledEvmCoins = ['ip', 'hypeevm'];
914+
const enabledEvmCoins = ['ip', 'hypeevm', 'plume'];
915915

916916
// TODO: remove ip and hypeeevm coins here and remove other evm coins from switch block, once changes are tested (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
917917
coins.forEach((coin) => {

modules/statics/src/coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const coins = CoinMap.fromCoins([
5252
const erc20ChainToNameMap: Record<string, string> = {};
5353

5454
// TODO: remove ip and hypeeevm coins here and remove other evm coins from switch block, once changes are tested (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
55-
const enabledEvmCoins = ['ip', 'hypeevm'];
55+
const enabledEvmCoins = ['ip', 'hypeevm', 'plume'];
5656
allCoinsAndTokens.forEach((coin) => {
5757
if (
5858
coin.features.includes(CoinFeature.SUPPORTS_ERC20) &&

modules/statics/src/tokenConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ export const getEthLikeTokens = (network: 'Mainnet' | 'Testnet'): EthLikeTokenMa
10971097
const networkTokens = getFormattedEthLikeTokenConfig().filter((token) => token.network === network);
10981098
const ethLikeTokenMap = {} as EthLikeTokenMap;
10991099
// TODO: add IP token here and test changes (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
1100-
const enabledChains = ['ip', 'hypeevm'] as string[];
1100+
const enabledChains = ['ip', 'hypeevm', 'plume'] as string[];
11011101

11021102
coins.forEach((coin) => {
11031103
// TODO: remove enabled chains once changes are done (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)

modules/statics/test/unit/tokenConfigTests.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ describe('EthLike Token Config Functions', function () {
391391
const testnetResult = getEthLikeTokens('Testnet');
392392

393393
// Current implementation enables 'ip' and 'hypeevm' chains
394-
const enabledChains = ['ip', 'hypeevm'];
394+
const enabledChains = ['ip', 'hypeevm', 'plume'];
395395

396396
Object.keys(mainnetResult).forEach((family) => {
397397
enabledChains.should.containEql(family);
@@ -426,6 +426,11 @@ describe('EthLike Token Config Functions', function () {
426426
token.coin.should.equal('hypeevm');
427427
});
428428
}
429+
if (result.plume && result.plume.tokens.length > 0) {
430+
result.plume.tokens.forEach((token) => {
431+
token.coin.should.equal('plume');
432+
});
433+
}
429434
});
430435

431436
it('should return tokens with correct structure', function () {

0 commit comments

Comments
 (0)