Adjust default maxPriorityFeePerGas to 1.5 gwei.

This commit is contained in:
Richard Moore 2022-03-02 11:33:27 -05:00
parent c2a6a012bf
commit 33a029e457

@ -246,7 +246,7 @@ export abstract class Provider implements OnceBlockable {
// We may want to compute this more accurately in the future, // We may want to compute this more accurately in the future,
// using the formula "check if the base fee is correct". // using the formula "check if the base fee is correct".
// See: https://eips.ethereum.org/EIPS/eip-1559 // See: https://eips.ethereum.org/EIPS/eip-1559
maxPriorityFeePerGas = BigNumber.from("2500000000"); maxPriorityFeePerGas = BigNumber.from("1500000000");
maxFeePerGas = block.baseFeePerGas.mul(2).add(maxPriorityFeePerGas); maxFeePerGas = block.baseFeePerGas.mul(2).add(maxPriorityFeePerGas);
} }