Skip to content

Commit 2fbd6c5

Browse files
committed
feat: add EVM_KEYRING_UNSUPPORTED coin feature flag
Ticket: CGD-969 TICKET: CGD-969
1 parent 017557a commit 2fbd6c5

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
@@ -509,6 +509,12 @@ export enum CoinFeature {
509509
*/
510510
EVM_COMPATIBLE_WP = 'evm-compatible-wp',
511511

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

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)