Skip to content

Commit 73789d3

Browse files
chore: ungate plume token
Ticket: WIN-8130
1 parent cd468d1 commit 73789d3

File tree

6 files changed

+47
-41
lines changed

6 files changed

+47
-41
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 () {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@
109109
"**/avalanche/store2": "2.14.4",
110110
"webpack-dev-server": "5.2.1",
111111
"memfs": "4.46.0",
112-
"**/iota-sdk/**/valibot": "1.2.0"
112+
"**/iota-sdk/**/valibot": "1.2.0",
113+
"**/validator": ">=13.15.22"
113114
},
114115
"workspaces": [
115116
"modules/*"

yarn.lock

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@
970970

971971
"@bitgo/wasm-utxo@1.8.0":
972972
version "1.8.0"
973-
resolved "https://registry.npmjs.org/@bitgo/wasm-utxo/-/wasm-utxo-1.8.0.tgz#aad0099a271f61f2d6c78092650eb5ecb56b41ae"
973+
resolved "https://registry.npmjs.org/@bitgo/wasm-utxo/-/wasm-utxo-1.8.0.tgz"
974974
integrity sha512-tDUbCo6IdpkfOgcJo41C3q4HQ8HaNSdriklHflvRKy0PhRSOvCXjyeseYHXVkL9aMhQ1k0YemdogVyjIbO05TA==
975975

976976
"@brandonblack/musig@^0.0.1-alpha.0":
@@ -3948,49 +3948,49 @@
39483948
integrity sha512-Iwf7gxWMeDdrNqXYkVOib6PlDYwLw51+nMiFm1UW5nKxbQyVYHp7lhQNHsZrQ7Oqo84m9swWgzE7bhs21HkbYQ==
39493949

39503950
"@nx/nx-darwin-x64@*":
3951-
version "22.0.4"
3952-
resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-22.0.4.tgz#7b501c1556cbfd7f88c8655d5a2c5fa4b237b8e1"
3953-
integrity sha512-p+pmlq/mdNhQb12RwHP9V6yAUX9CLy8GUT4ijPzFTbxqa9dZbJk69NpSRwpAhAvvQ30gp1Zyh0t0/k/yaZqMIg==
3951+
version "22.1.3"
3952+
resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-22.1.3.tgz#49209a4e5838034477703eaf969e3173e9fc692a"
3953+
integrity sha512-XmdccOBp1Lx9DXUzYDX65mkFqFvXaxUKm1d63bfA43vxIYUpR59SASB81KRQ/Q4dgvvU27C0EJuxSJbXsSkSYw==
39543954

39553955
"@nx/nx-freebsd-x64@*":
3956-
version "22.0.4"
3957-
resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-22.0.4.tgz#6d9ba7748d406b0914985945eeb31adf9d382956"
3958-
integrity sha512-XW2SXtfO245DRnAXVGYJUB7aBJsJ2rPD5pizxJET+l3VmtHGp2crdVuftw6iqjgrf2eAS+yCe61Jnqh687vWFg==
3956+
version "22.1.3"
3957+
resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-22.1.3.tgz#325a270850454a8bd829a1c3fc2047ec594e442e"
3958+
integrity sha512-O+o4mqPwhKxfdsri4KxDbXbjwIwr04GfTSfA0TwgXs6hFf68qmc45FAmPGrPSvxIJg9+mUVDeFirdS8GcUE0jQ==
39593959

39603960
"@nx/nx-linux-arm-gnueabihf@*":
3961-
version "22.0.4"
3962-
resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-22.0.4.tgz#363c8adf6b4d836709a4d54f6263f113f1039af7"
3963-
integrity sha512-LCLuhbW3SIFz2FGiLdspCrNP889morCzTV/pEtxA8EgusWqCR8WjeSj3QvN8HN/GoXDsJxoUXvClZbHE+N6Hyg==
3961+
version "22.1.3"
3962+
resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-22.1.3.tgz#331120795127723cf1e9c83a0ed792e5a07e3e39"
3963+
integrity sha512-ZIPDgzLq8qmvrZ3Bp+bWXam5uKwahjcChBNtORVtrHQfm4mxov2RMUMKTg2ZsVAWVP64zK+gmzG5LuoZjPMm4Q==
39643964

39653965
"@nx/nx-linux-arm64-gnu@*":
3966-
version "22.0.4"
3967-
resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-22.0.4.tgz#81d9470130742f7042d870e584bb7728ed3cbc44"
3968-
integrity sha512-2jvS8MYYOI8eUBRTmE8HKm5mRVLqS5Cvlj06tEAjxrmH5d7Bv8BG5Ps9yZzT0qswfVKChpzIliwPZomUjLTxmA==
3966+
version "22.1.3"
3967+
resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-22.1.3.tgz#a8e6315a4c2682a8a8906fa5ede36ce48e4ff10c"
3968+
integrity sha512-wgpPaTpQKl+cCkSuE5zamTVrg14mRvT+bLAeN/yHSUgMztvGxwl3Ll+K9DgEcktBo1PLECTWNkVaW8IAsJm4Rg==
39693969

39703970
"@nx/nx-linux-arm64-musl@*":
3971-
version "22.0.4"
3972-
resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-22.0.4.tgz#7f8176cf76ef7fc81af4ef434ac3d3959dcbf272"
3973-
integrity sha512-IK9gf8/AOtTW6rZajmGAFCN7EBzjmkIevt9MtOehQGlNXlMXydvUYKE5VU7d4oglvYs8aJJyayihfiZbFnTS8g==
3971+
version "22.1.3"
3972+
resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-22.1.3.tgz#494b121fedd258670f35d8253d96112e6a747125"
3973+
integrity sha512-o9XmQehSPR2y0RD4evD+Ob3lNFuwsFOL5upVJqZ3rcE6GkJIFPg8SwEP5FaRIS5MwS04fxnek20NZ18BHjjV/g==
39743974

39753975
"@nx/nx-linux-x64-gnu@*":
3976-
version "22.0.4"
3977-
resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-22.0.4.tgz#faeb8d6f54d81dd73abc21a2928cf4c18b810cc6"
3978-
integrity sha512-CdALjMqqNgiffQQIlyxx6mrxJCOqDzmN6BW3w9msCPHVSPOPp4AenlT0kpC7ALvmNEUm0lC4r093QbN2t6a/wA==
3976+
version "22.1.3"
3977+
resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-22.1.3.tgz#b847209489858f0bc1aba9fc653be3338faa4287"
3978+
integrity sha512-ekcinyDNTa2huVe02T2SFMR8oArohozRbMGO19zftbObXXI4dLdoAuLNb3vK9Pe4vYOpkhfxBVkZvcWMmx7JdA==
39793979

39803980
"@nx/nx-linux-x64-musl@*":
3981-
version "22.0.4"
3982-
resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-22.0.4.tgz#2cc0e5be5415ac85f164943ea42ca4ca0889bcf9"
3983-
integrity sha512-2GPy+mAQo4JnfjTtsgGrHhZbTmmGy4RqaGowe0qMYCMuBME33ChG9iiRmArYmVtCAhYZVn26rK76/Vn3tK7fgg==
3981+
version "22.1.3"
3982+
resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-22.1.3.tgz#9599046b6ab372215a6d19ee0c83be3e558b31bd"
3983+
integrity sha512-CqpRIJeIgELCqIgjtSsYnnLi6G0uqjbp/Pw9d7w4im4/NmJXqaE9gxpdHA1eowXLgAy9W1LkfzCPS8Q2IScPuQ==
39843984

39853985
"@nx/nx-win32-arm64-msvc@*":
3986-
version "22.0.4"
3987-
resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-22.0.4.tgz#796e81bef402f216fa170eddd912578acb7bd939"
3988-
integrity sha512-jnZCCnTXoqOIrH0L31+qHVHmJuDYPoN6sl37/S1epP9n4fhcy9tjSx4xvx/WQSd417lU9saC+g7Glx2uFdgcTw==
3986+
version "22.1.3"
3987+
resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-22.1.3.tgz#c8eaf1d2f2ba02316de685ede6a27c0be9b3fb50"
3988+
integrity sha512-YbuWb8KQsAR9G0+7b4HA16GV962/VWtRcdS7WY2yaScmPT2W5rObl528Y2j4DuB0j/MVZj12qJKrYfUyjL+UJA==
39893989

39903990
"@nx/nx-win32-x64-msvc@*":
3991-
version "22.0.4"
3992-
resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-22.0.4.tgz#958951dd96ee14d908674f2846a9dc0f85318618"
3993-
integrity sha512-CDBqgb9RV5aHMDLcsS9kDDULc38u/eieZBhHBL01Ca5Tq075QuHn4uly6sYyHwVOxrhY4eaWNSfV2xG3Bg6Gtw==
3991+
version "22.1.3"
3992+
resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-22.1.3.tgz#701215f8d774c50cbc2555f278d0a41dbd9de683"
3993+
integrity sha512-G90Sp409ypeOUbmj6nmEbdy043KJUKaZ7pffxmM6i63yEe2F2WdmMgdi525vUEgmq+pfB9zQQOX1sDR/rPFvtg==
39943994

39953995
"@octokit/auth-token@^2.4.4":
39963996
version "2.5.0"
@@ -7624,9 +7624,9 @@ bare-events@^2.5.4, bare-events@^2.7.0:
76247624
integrity sha512-riJjyv1/mHLIPX4RwiK+oW9/4c3TEUeORHKefKAKnZ5kyslbN+HXowtbaVEqt4IMUB7OXlfixcs6gsFeo/jhiQ==
76257625

76267626
bare-fs@^4.0.1:
7627-
version "4.5.1"
7628-
resolved "https://registry.npmjs.org/bare-fs/-/bare-fs-4.5.1.tgz#498a20a332d4a7f0b310eb89b8d2319041aa1eef"
7629-
integrity sha512-zGUCsm3yv/ePt2PHNbVxjjn0nNB1MkIaR4wOCxJ2ig5pCf5cCVAYJXVhQg/3OhhJV6DB1ts7Hv0oUaElc2TPQg==
7627+
version "4.5.2"
7628+
resolved "https://registry.npmjs.org/bare-fs/-/bare-fs-4.5.2.tgz#d80ff8a9177e0db4818e7ba44b9302c0cf0788af"
7629+
integrity sha512-veTnRzkb6aPHOvSKIOy60KzURfBdUflr5VReI+NSaPL6xf+XLdONQgZgpYvUuZLVQ8dCqxpBAudaOM1+KpAUxw==
76307630
dependencies:
76317631
bare-events "^2.5.4"
76327632
bare-path "^3.0.0"
@@ -20803,10 +20803,10 @@ validate-npm-package-name@^5.0.0:
2080320803
resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.1.tgz"
2080420804
integrity sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==
2080520805

20806-
validator@^13.7.0:
20807-
version "13.15.15"
20808-
resolved "https://registry.npmjs.org/validator/-/validator-13.15.15.tgz"
20809-
integrity sha512-BgWVbCI72aIQy937xbawcs+hrVaN/CZ2UwutgaJ36hGqRrLNM+f5LUT/YPRbo8IV/ASeFzXszezV+y2+rq3l8A==
20806+
validator@>=13.15.22, validator@^13.7.0:
20807+
version "13.15.23"
20808+
resolved "https://registry.npmjs.org/validator/-/validator-13.15.23.tgz#59a874f84e4594588e3409ab1edbe64e96d0c62d"
20809+
integrity sha512-4yoz1kEWqUjzi5zsPbAS/903QXSYp0UOtHsPpp7p9rHAw/W+dkInskAE386Fat3oKRROwO98d9ZB0G4cObgUyw==
2081020810

2081120811
varuint-bitcoin@^1.0.1, varuint-bitcoin@^1.0.4, varuint-bitcoin@^1.1.2:
2081220812
version "1.1.2"
@@ -21395,7 +21395,7 @@ ws@7.5.10, ws@8.17.1, ws@8.18.0, ws@^7, ws@^7.0.0, ws@^7.3.1, ws@^7.5.10:
2139521395

2139621396
ws@~8.17.1:
2139721397
version "8.17.1"
21398-
resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b"
21398+
resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz"
2139921399
integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==
2140021400

2140121401
wsl-utils@^0.1.0:

0 commit comments

Comments
 (0)