Skip to content

Commit 3625d17

Browse files
fix: remove erc20 bulk feature for bsc
Ticket: COIN-4135
1 parent 9941476 commit 3625d17

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modules/statics/src/coinFeatures.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ export const BSC_FEATURES = [
268268
CoinFeature.STUCK_TRANSACTION_MANAGEMENT_TSS,
269269
CoinFeature.CUSTODY_BITGO_FRANKFURT,
270270
CoinFeature.BULK_TRANSACTION,
271-
CoinFeature.ERC20_BULK_TRANSACTION,
272271
];
273272
export const BSC_TOKEN_FEATURES = [...ACCOUNT_COIN_DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION];
274273
export const BSC_TOKEN_FEATURES_EXCLUDE_SINGAPORE = [

modules/statics/test/unit/coins.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,13 +1056,16 @@ describe('ERC20 Bulk Transaction Feature', () => {
10561056
'tpolygon',
10571057
'coredao',
10581058
'tcoredao',
1059-
'bsc',
1060-
'tbsc',
10611059
];
10621060
erc20BulkTransactionCoins.forEach((coinName) => {
10631061
const coin = coins.get(coinName);
10641062
coin.features.includes(CoinFeature.ERC20_BULK_TRANSACTION).should.eql(true);
10651063
});
1064+
1065+
it('should not have ERC20_BULK_TRANSACTION feature for BSC', () => {
1066+
const coin = coins.get('bsc');
1067+
coin.features.includes(CoinFeature.ERC20_BULK_TRANSACTION).should.eql(false);
1068+
});
10661069
});
10671070
});
10681071

0 commit comments

Comments
 (0)