Skip to content

Commit

Permalink
make eip1559 parameters uint32 everywhere (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto-bayardo authored Oct 10, 2024
1 parent 7e61aec commit 8e29d72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/protocol/holocene/system-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The following `ConfigUpdate` event is defined where the `CONFIG_VERSION` is `uin
| `FEE_SCALARS` | `uint8(1)` | `(uint256(0x01) << 248) \| (uint256(_blobbasefeeScalar) << 32) \| _basefeeScalar` | Modifies the fee scalars |
| `GAS_LIMIT` | `uint8(2)` | `abi.encode(uint64 _gasLimit)` | Modifies the L2 gas limit |
| `UNSAFE_BLOCK_SIGNER` | `uint8(3)` | `abi.encode(address)` | Modifies the account that is authorized to progress the unsafe chain |
| `EIP_1559_PARAMS` | `uint8(4)` | `uint256(uint64(uint32(_denominator))) << 32 \| uint64(uint32(_elasticity))` | Modifies the EIP-1559 denominator and elasticity |
| `EIP_1559_PARAMS` | `uint8(4)` | `(uint256(_denominator) << 32) \| _elasticity` | Modifies the EIP-1559 denominator and elasticity |

### Initialization

Expand Down Expand Up @@ -68,13 +68,13 @@ It is possible for the chain operator to set EIP-1559 parameters that result in
This function returns the currently configured EIP-1559 elasticity.

```solidity
function eip1559Elasticity()(uint64)
function eip1559Elasticity()(uint32)
```

##### `eip1559Denominator`

This function returns the currently configured EIP-1559 denominator.

```solidity
function eip1559Denominator()(uint64)
function eip1559Denominator()(uint32)
```

0 comments on commit 8e29d72

Please sign in to comment.