Skip to content

Commit

Permalink
chore: Reduce default max gas price config (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsanmigimeno authored May 29, 2024
1 parent c74cae9 commit 3cc2afb
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 @@ -65,16 +65,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: '100000000000' # Upper bound to the 'maxPriorityFeePerGas' set on transactions (for chains that support eip-1559)
maxAllowedPriorityFeePerGas: '5000000000' # Upper bound to the 'maxPriorityFeePerGas' set on transactions (for chains that support eip-1559)
maxPriorityFeeAdjustmentFactor:
1.01 # Decimal factor used to adjust the 'maxPriorityFeePerGas' returned by 'getFeeData()'.
# 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
Expand Down

0 comments on commit 3cc2afb

Please sign in to comment.