Skip to content

Commit cc7054a

Browse files
Merge pull request #8689 from BitGo/CGD-969
feat: add EVM_KEYRING_UNSUPPORTED coin feature flag
2 parents 7d8a120 + 2fbd6c5 commit cc7054a

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

modules/statics/src/base.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,12 @@ export enum CoinFeature {
510510
*/
511511
EVM_COMPATIBLE_WP = 'evm-compatible-wp',
512512

513+
/**
514+
* This coin does not support EVM Keyring.
515+
* Add this feature to any EVM-family coin that should be excluded from EVM Keyring
516+
*/
517+
EVM_KEYRING_UNSUPPORTED = 'evm-keyring-unsupported',
518+
513519
/**
514520
* This token is internal and shouldn't be exposed to users
515521
*/

modules/statics/src/coinFeatures.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,10 @@ export const COREDAO_FEATURES = [
602602
CoinFeature.EIP1559,
603603
CoinFeature.ERC20_BULK_TRANSACTION,
604604
];
605-
export const TEMPO_FEATURES = EVM_FEATURES.filter((feature) => feature !== CoinFeature.ENTERPRISE_PAYS_FEES);
605+
export const TEMPO_FEATURES = [
606+
...EVM_FEATURES.filter((feature) => feature !== CoinFeature.ENTERPRISE_PAYS_FEES),
607+
CoinFeature.EVM_KEYRING_UNSUPPORTED,
608+
];
606609
export const HYPERLIQUID_FEATURES = [
607610
...ACCOUNT_COIN_DEFAULT_FEATURES,
608611
CoinFeature.MULTISIG_COLD,

0 commit comments

Comments
 (0)