Skip to content

Commit

Permalink
chore: Reduce default max gas price config (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanmigimeno authored May 29, 2024
1 parent fa63f42 commit e5bf01e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,16 @@ global:
gasBalanceUpdateInterval: 50 # Number of transactions after which to update the Underwriter gas balance from the rpc.

# EIP-1559 Transactions
maxFeePerGas: '200000000000' # 'maxFeePerGas' set for all transactions (for chains that support eip-1559)
maxFeePerGas: '10000000000' # 'maxFeePerGas' set for all transactions (for chains that support eip-1559)

maxAllowedPriorityFeePerGas: # Upper bound to the 'maxPriorityFeePerGas' set on transactions (for chains that support eip-1559)
'100000000000'
'5000000000'
maxPriorityFeeAdjustmentFactor: # Decimal factor used to adjust the 'maxPriorityFeePerGas' returned by 'getFeeData()'.
1.01 # The resulting value is set as the 'maxPriorityFeePerGas' property of the transaction
# if it is smaller than the configuration property 'maxAllowedPriorityFeePerGas' (if set).

# Legacy Transactions
maxAllowedGasPrice: '200000000000' # Upper bound to the 'gasPrice' set on transactions (for chains that do not support eip-1559)
maxAllowedGasPrice: '10000000000' # Upper bound to the 'gasPrice' set on transactions (for chains that do not support eip-1559)
gasPriceAdjustmentFactor: 1.01 # Decimal factor used to adjust the 'gasPrice' returned by 'getFeeData()'. The resulting
# value is set as the 'gasPrice' property of the transaction if it is smaller than the
# configuration property 'maxAllowedGasPrice' (if set).
Expand Down

0 comments on commit e5bf01e

Please sign in to comment.