From e603e3b77cf51135131525bb8d1add9323959ec7 Mon Sep 17 00:00:00 2001 From: Vijay Jagannathan Date: Wed, 9 Sep 2026 12:23:56 +0530 Subject: [PATCH] fix(sdk-coin-cspr): remove CSPR staking metadata Remove the staking feature from CSPR and TCSPR statics while preserving Casper wallet, transfer, signing, and transaction support. Ticket: SI-1524 --- modules/statics/src/coinFeatures.ts | 1 - modules/statics/test/unit/coins.ts | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/statics/src/coinFeatures.ts b/modules/statics/src/coinFeatures.ts index 41aaea7b3e..34b2566351 100644 --- a/modules/statics/src/coinFeatures.ts +++ b/modules/statics/src/coinFeatures.ts @@ -190,7 +190,6 @@ export const CSPR_FEATURES = [ CoinFeature.CUSTODY_BITGO_SINGAPORE, CoinFeature.MULTISIG_COLD, CoinFeature.MULTISIG, - CoinFeature.STAKING, ]; export const ALGO_FEATURES = [ ...ACCOUNT_COIN_DEFAULT_FEATURES, diff --git a/modules/statics/test/unit/coins.ts b/modules/statics/test/unit/coins.ts index f0d558daa6..058ac99e32 100644 --- a/modules/statics/test/unit/coins.ts +++ b/modules/statics/test/unit/coins.ts @@ -1419,6 +1419,15 @@ describe('Liquid Staking Features', () => { }); }); +describe('CSPR staking features', () => { + it('should not advertise STAKING for mainnet or testnet Casper', () => { + ['cspr', 'tcspr'].forEach((coinName) => { + const coin = coins.get(coinName); + coin.features.includes(CoinFeature.STAKING).should.eql(false); + }); + }); +}); + describe('ADA RealFi USDr staking', () => { it('should have STAKING feature for stakeable USDr tokens', () => { ['ada:usdr', 'tada:usdr'].forEach((coinName) => {