Skip to content

Commit b96ca49

Browse files
Merge pull request #5961 from BitGo/COIN-3747-prod
chore: add BULK_TRANSACTION to opeth and eth tokens
2 parents 1e096b9 + 2b4da48 commit b96ca49

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

modules/statics/src/account.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ export function erc20(
687687
decimalPlaces: number,
688688
contractAddress: string,
689689
asset: UnderlyingAsset,
690-
features: CoinFeature[] = AccountCoin.DEFAULT_FEATURES,
690+
features: CoinFeature[] = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION],
691691
prefix = '',
692692
suffix: string = name.toUpperCase(),
693693
network: EthereumNetwork = Networks.main.ethereum,
@@ -2028,7 +2028,7 @@ export function opethErc20(
20282028
decimalPlaces: number,
20292029
contractAddress: string,
20302030
asset: UnderlyingAsset,
2031-
features: CoinFeature[] = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.EIP1559],
2031+
features: CoinFeature[] = [...AccountCoin.DEFAULT_FEATURES, CoinFeature.EIP1559, CoinFeature.BULK_TRANSACTION],
20322032
prefix = '',
20332033
suffix: string = name.toUpperCase(),
20342034
network: AccountNetwork = Networks.main.optimism,

modules/statics/src/coinFeatures.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,7 @@ export const OPETH_FEATURES = [
356356
CoinFeature.CUSTODY_BITGO_FRANKFURT,
357357
CoinFeature.EIP1559,
358358
CoinFeature.WALLET_CONNECT_DEFI,
359+
CoinFeature.BULK_TRANSACTION,
359360
];
360361
export const ZKETH_FEATURES = [
361362
...ETH_FEATURES,

modules/statics/src/coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ export const coins = CoinMap.fromCoins([
10231023
18,
10241024
UnderlyingAsset.OPETH,
10251025
BaseUnit.ETH,
1026-
[...OPETH_FEATURES, CoinFeature.BULK_TRANSACTION]
1026+
OPETH_FEATURES
10271027
),
10281028
account(
10291029
'53b1e350-f907-45ec-abf7-11d132547055',

modules/statics/src/coins/erc20Coins.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6353,7 +6353,7 @@ export const erc20Coins = [
63536353
18,
63546354
'0x163f8c2467924be0ae7b5347228cabf260318753',
63556355
UnderlyingAsset.WLD,
6356-
ETH_FEATURES_WITH_FRANKFURT
6356+
[...ETH_FEATURES_WITH_FRANKFURT, CoinFeature.BULK_TRANSACTION]
63576357
),
63586358
erc20(
63596359
'9a5fada5-5f91-494b-bab5-8781d831fcd0',

0 commit comments

Comments
 (0)