From 8e29d72b3ca4b380f20ad9df79c3a0a64f81a0b6 Mon Sep 17 00:00:00 2001 From: Roberto Bayardo Date: Wed, 9 Oct 2024 17:25:59 -0700 Subject: [PATCH] make eip1559 parameters uint32 everywhere (#422) --- specs/protocol/holocene/system-config.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specs/protocol/holocene/system-config.md b/specs/protocol/holocene/system-config.md index c94105621..3338ae696 100644 --- a/specs/protocol/holocene/system-config.md +++ b/specs/protocol/holocene/system-config.md @@ -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 @@ -68,7 +68,7 @@ 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` @@ -76,5 +76,5 @@ function eip1559Elasticity()(uint64) This function returns the currently configured EIP-1559 denominator. ```solidity -function eip1559Denominator()(uint64) +function eip1559Denominator()(uint32) ```