Skip to content

Commit e2a38b4

Browse files
committed
feat(statics): update BULK_STAKING_TRANSACTION for eth and apt
Add the BULK_STAKING_TRANSACTION CoinFeature flag to the eth and hteth coin definitions in allCoinsAndTokens.ts, and update the corresponding test fixture to assert the feature is present. APT does not support bulk staking — remove the erroneously added flag. Ticket: SC-6608 Ticket: SC-6608
1 parent 017557a commit e2a38b4

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ export const allCoinsAndTokens = [
319319
CoinFeature.CUSTODY_BITGO_SINGAPORE,
320320
CoinFeature.CUSTODY_BITGO_KOREA,
321321
CoinFeature.BULK_TRANSACTION,
322+
CoinFeature.BULK_STAKING_TRANSACTION,
322323
CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN,
323324
CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS,
324325
CoinFeature.EIP1559,
@@ -381,6 +382,7 @@ export const allCoinsAndTokens = [
381382
CoinFeature.CUSTODY_BITGO_SINGAPORE,
382383
CoinFeature.CUSTODY_BITGO_KOREA,
383384
CoinFeature.BULK_TRANSACTION,
385+
CoinFeature.BULK_STAKING_TRANSACTION,
384386
CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN,
385387
CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS,
386388
CoinFeature.EIP1559,

modules/statics/src/coinFeatures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,6 @@ export const APT_FEATURES = [
626626
CoinFeature.TSS,
627627
CoinFeature.TSS_COLD,
628628
CoinFeature.BULK_TRANSACTION,
629-
CoinFeature.BULK_STAKING_TRANSACTION,
630629
CoinFeature.SUPPORTS_TOKENS,
631630
CoinFeature.ENTERPRISE_PAYS_FEES,
632631
CoinFeature.TSS_ENTERPRISE_PAYS_FEES,

modules/statics/test/unit/coins.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
119119
CoinFeature.CUSTODY_BITGO_FRANKFURT,
120120
CoinFeature.CUSTODY_BITGO_SINGAPORE,
121121
CoinFeature.CUSTODY_BITGO_KOREA,
122+
CoinFeature.BULK_STAKING_TRANSACTION,
122123
],
123124
},
124125
etc: {
@@ -516,6 +517,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
516517
CoinFeature.CUSTODY_BITGO_SINGAPORE,
517518
CoinFeature.CUSTODY_BITGO_KOREA,
518519
CoinFeature.BULK_TRANSACTION,
520+
CoinFeature.BULK_STAKING_TRANSACTION,
519521
],
520522
},
521523
tetc: {

0 commit comments

Comments
 (0)