Skip to content

Commit 3a661c1

Browse files
Merge pull request #6997 from BitGo/COIN-4930
feat(statics): add custody bulk withdrawal feature for hash bch
2 parents cdf817d + fb601ff commit 3a661c1

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ export const allCoinsAndTokens = [
712712
9,
713713
UnderlyingAsset.HASH,
714714
BaseUnit.HASH,
715-
COSMOS_SIDECHAIN_FEATURES_WITH_STAKING
715+
[...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING, CoinFeature.CUSTODY_BULK_TRANSACTION]
716716
),
717717
account(
718718
'feadf3d5-5a9a-427e-8144-7a5085b4d258',
@@ -722,7 +722,7 @@ export const allCoinsAndTokens = [
722722
9,
723723
UnderlyingAsset.HASH,
724724
BaseUnit.HASH,
725-
COSMOS_SIDECHAIN_FEATURES_WITH_STAKING
725+
[...COSMOS_SIDECHAIN_FEATURES_WITH_STAKING, CoinFeature.CUSTODY_BULK_TRANSACTION]
726726
),
727727
account(
728728
'36700514-fa3c-42d8-9503-98cdcab0b3c3',

modules/statics/src/utxo.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ const BCH_FEATURES = [
102102
CoinFeature.CUSTODY_BITGO_NEW_YORK,
103103
CoinFeature.CUSTODY_BITGO_FRANKFURT,
104104
CoinFeature.CUSTODY_BITGO_SINGAPORE,
105+
CoinFeature.CUSTODY_BULK_TRANSACTION,
105106
];
106107
const BTC_FEATURES = [
107108
...UtxoCoin.DEFAULT_FEATURES,

modules/statics/test/unit/coins.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
8282
CoinFeature.CUSTODY_BITGO_FRANKFURT,
8383
CoinFeature.CUSTODY_BITGO_SINGAPORE,
8484
CoinFeature.BULK_TRANSACTION,
85+
CoinFeature.CUSTODY_BULK_TRANSACTION,
8586
],
8687
},
8788
btg: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -470,6 +471,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
470471
CoinFeature.CUSTODY_BITGO_FRANKFURT,
471472
CoinFeature.CUSTODY_BITGO_SINGAPORE,
472473
CoinFeature.BULK_TRANSACTION,
474+
CoinFeature.CUSTODY_BULK_TRANSACTION,
473475
],
474476
},
475477
tbtg: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
@@ -1107,6 +1109,10 @@ describe('Custody Bulk Withdrawal Features', () => {
11071109
'tcronos',
11081110
'initia',
11091111
'tinitia',
1112+
'thash',
1113+
'hash',
1114+
'bch',
1115+
'tbch',
11101116
];
11111117
custodyBulkWithdrawalCoins.forEach((coinName) => {
11121118
const coin = coins.get(coinName);

0 commit comments

Comments
 (0)