Skip to content

Commit 411b398

Browse files
oXtxNt9Ugithub-actions[bot]
authored andcommitted
style: resolve style guide violations
1 parent 88cbbae commit 411b398

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

packages/transaction-pool-service/source/defaults.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ export const defaults = {
66

77
enabled: !Environment.isTrue(Constants.EnvironmentVariables.MAINSAIL_TRANSACTION_POOL_DISABLED),
88

9+
maxBlockGasUtilizationTransactionRebroadcastThreshold: Environment.get(
10+
Constants.EnvironmentVariables.MAINSAIL_MAX_BLOCK_GAS_UTILIZATION_TRANSACTION_REBROADCAST_THRESHOLD,
11+
90,
12+
),
13+
914
// Max transaction age in number of blocks produced since the transaction was created.
1015
// If a transaction stays that long in the pool without being included in any block,
1116
// then it will be removed.
1217
maxTransactionAge: 2700,
1318

1419
// Based on limit used by other Ethereum clients such as Geth (128kb).
1520
maxTransactionBytes: 128 * 1000,
16-
1721
// When the pool contains that many transactions, then a new transaction is
1822
// only accepted if its fee is higher than the transaction with the lowest
1923
// fee in the pool. In this case the transaction with the lowest fee is removed
@@ -23,15 +27,11 @@ export const defaults = {
2327
Constants.EnvironmentVariables.MAINSAIL_TRANSACTION_POOL_MAX_PER_REQUEST,
2428
40,
2529
),
30+
2631
maxTransactionsPerSender: Environment.get(
2732
Constants.EnvironmentVariables.MAINSAIL_TRANSACTION_POOL_MAX_PER_SENDER,
2833
150,
2934
),
3035

31-
maxBlockGasUtilizationTransactionRebroadcastThreshold: Environment.get(
32-
Constants.EnvironmentVariables.MAINSAIL_MAX_BLOCK_GAS_UTILIZATION_TRANSACTION_REBROADCAST_THRESHOLD,
33-
90,
34-
),
35-
3636
storage: `${Environment.get(Constants.EnvironmentVariables.MAINSAIL_PATH_DATA)}/transaction-pool.sqlite`,
3737
};

0 commit comments

Comments
 (0)