From e2a38b42f868824994253e78680e23c6016900a0 Mon Sep 17 00:00:00 2001 From: Noel Hawat Date: Tue, 5 May 2026 09:05:36 -0400 Subject: [PATCH] feat(statics): update BULK_STAKING_TRANSACTION for eth and apt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- modules/statics/src/allCoinsAndTokens.ts | 2 ++ modules/statics/src/coinFeatures.ts | 1 - modules/statics/test/unit/coins.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/statics/src/allCoinsAndTokens.ts b/modules/statics/src/allCoinsAndTokens.ts index 4c4bb151ad..cd3be3678c 100644 --- a/modules/statics/src/allCoinsAndTokens.ts +++ b/modules/statics/src/allCoinsAndTokens.ts @@ -319,6 +319,7 @@ export const allCoinsAndTokens = [ CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_KOREA, CoinFeature.BULK_TRANSACTION, + CoinFeature.BULK_STAKING_TRANSACTION, CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN, CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS, CoinFeature.EIP1559, @@ -381,6 +382,7 @@ export const allCoinsAndTokens = [ CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_KOREA, CoinFeature.BULK_TRANSACTION, + CoinFeature.BULK_STAKING_TRANSACTION, CoinFeature.STUCK_TRANSACTION_MANAGEMENT_ONCHAIN, CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS, CoinFeature.EIP1559, diff --git a/modules/statics/src/coinFeatures.ts b/modules/statics/src/coinFeatures.ts index 417b703ec8..ffccdb999c 100644 --- a/modules/statics/src/coinFeatures.ts +++ b/modules/statics/src/coinFeatures.ts @@ -626,7 +626,6 @@ export const APT_FEATURES = [ CoinFeature.TSS, CoinFeature.TSS_COLD, CoinFeature.BULK_TRANSACTION, - CoinFeature.BULK_STAKING_TRANSACTION, CoinFeature.SUPPORTS_TOKENS, CoinFeature.ENTERPRISE_PAYS_FEES, CoinFeature.TSS_ENTERPRISE_PAYS_FEES, diff --git a/modules/statics/test/unit/coins.ts b/modules/statics/test/unit/coins.ts index 799b64f69c..f3113ec6f1 100644 --- a/modules/statics/test/unit/coins.ts +++ b/modules/statics/test/unit/coins.ts @@ -119,6 +119,7 @@ const custodyFeatures: Record = { CoinFeature.CUSTODY_BITGO_FRANKFURT, CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_KOREA, + CoinFeature.BULK_STAKING_TRANSACTION, ], }, etc: { @@ -516,6 +517,7 @@ const custodyFeatures: Record = { CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.CUSTODY_BITGO_KOREA, CoinFeature.BULK_TRANSACTION, + CoinFeature.BULK_STAKING_TRANSACTION, ], }, tetc: {