Skip to content

Commit

Permalink
fix: eip-1559 maxPriorityFeePerGas error (#291)
Browse files Browse the repository at this point in the history
Fix typo that mentions `maxFeePerGas` isn't being utilized. Make eip-1559 description less confusing.
  • Loading branch information
JackHamer09 authored Dec 16, 2024
1 parent 0e4ec82 commit 04b2883
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,13 @@ adds an `accessList` to transactions, which is an array of addresses and storage

### EIP-1559: `0x2`

Introduced in Ethereum's London update, [EIP-1559: Fee market change for ETH 1.0 chain](https://eips.ethereum.org/EIPS/eip-1559)
modifies how transaction fees are handled, replacing `gasPrice` with a base fee and allowing users to set `maxPriorityFeePerGas` and `maxFeePerGas`.
Ethereum's [EIP-1559](https://eips.ethereum.org/EIPS/eip-1559) replaces `gasPrice` with a base fee and adds parameters like `maxFeePerGas`.

- `maxPriorityFeePerGas`: Maximum fee users are willing to pay miners as an incentive.
- `maxFeePerGas`: Overall maximum fee, including the `maxPriorityFeePerGas` and the base fee determined by the network.
- `maxFeePerGas`: Maximum total fee, including the base fee.
- `maxPriorityFeePerGas`: Recommended to be set to `0` for ZKsync Era transactions.

::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
In ZKsync Era, while the EIP-1559 transaction format is supported, the `maxFeePerGas` and `maxPriorityFeePerGas` parameters are not utilized.
ZKsync Era does not have a concept of priority fees; therefore, the `maxPriorityFeePerGas` parameter is not utilized
::

### EIP-712: `0x71`
Expand Down

0 comments on commit 04b2883

Please sign in to comment.