Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/bitgo/src/v2/coinFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ export const buildEthLikeChainToTestnetMap = (): {
const testnetToMainnetMap: Record<string, string> = {};
const mainnetToTestnetMap: Record<string, string> = {};

const enabledEvmCoins = ['ip', 'hypeevm'];
const enabledEvmCoins = ['ip', 'hypeevm', 'plume'];

// 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)
coins.forEach((coin) => {
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const coins = CoinMap.fromCoins([
const erc20ChainToNameMap: Record<string, string> = {};

// 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)
const enabledEvmCoins = ['ip', 'hypeevm'];
const enabledEvmCoins = ['ip', 'hypeevm', 'plume'];
allCoinsAndTokens.forEach((coin) => {
if (
coin.features.includes(CoinFeature.SUPPORTS_ERC20) &&
Expand Down
2 changes: 1 addition & 1 deletion modules/statics/src/tokenConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ export const getEthLikeTokens = (network: 'Mainnet' | 'Testnet'): EthLikeTokenMa
const networkTokens = getFormattedEthLikeTokenConfig().filter((token) => token.network === network);
const ethLikeTokenMap = {} as EthLikeTokenMap;
// TODO: add IP token here and test changes (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
const enabledChains = ['ip', 'hypeevm'] as string[];
const enabledChains = ['ip', 'hypeevm', 'plume'] as string[];

coins.forEach((coin) => {
// TODO: remove enabled chains once changes are done (Ticket: https://bitgoinc.atlassian.net/browse/WIN-7835)
Expand Down
7 changes: 6 additions & 1 deletion modules/statics/test/unit/tokenConfigTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ describe('EthLike Token Config Functions', function () {
const testnetResult = getEthLikeTokens('Testnet');

// Current implementation enables 'ip' and 'hypeevm' chains
const enabledChains = ['ip', 'hypeevm'];
const enabledChains = ['ip', 'hypeevm', 'plume'];

Object.keys(mainnetResult).forEach((family) => {
enabledChains.should.containEql(family);
Expand Down Expand Up @@ -426,6 +426,11 @@ describe('EthLike Token Config Functions', function () {
token.coin.should.equal('hypeevm');
});
}
if (result.plume && result.plume.tokens.length > 0) {
result.plume.tokens.forEach((token) => {
token.coin.should.equal('plume');
});
}
});

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