increase TX sizes to account for very high gas limits

This commit is contained in:
Danny Ryan 2021-10-21 15:56:58 -06:00
parent 3e320dacff
commit dae5b87c2b
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
4 changed files with 11 additions and 11 deletions

View File

@ -2,10 +2,10 @@
# Execution # Execution
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**24 (= 16,777,216) # 2**30 (= 1,073,741,824)
MAX_BYTES_PER_TRANSACTION: 16777216 MAX_BYTES_PER_TRANSACTION: 1073741824
# 2**14 (= 16,384) # 2**20 (= 1,048,576)
MAX_TRANSACTIONS_PER_PAYLOAD: 16384 MAX_TRANSACTIONS_PER_PAYLOAD: 1048576
# 2**8 (= 256) # 2**8 (= 256)
BYTES_PER_LOGS_BLOOM: 256 BYTES_PER_LOGS_BLOOM: 256
# 2**10 (= 1,024) # 2**10 (= 1,024)

View File

@ -2,10 +2,10 @@
# Execution # Execution
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 2**24 (= 16,777,216) # 2**30 (= 1,073,741,824)
MAX_BYTES_PER_TRANSACTION: 16777216 MAX_BYTES_PER_TRANSACTION: 1073741824
# 2**14 (= 16,384) # 2**20 (= 1,048,576)
MAX_TRANSACTIONS_PER_PAYLOAD: 16384 MAX_TRANSACTIONS_PER_PAYLOAD: 1048576
# 2**8 (= 256) # 2**8 (= 256)
BYTES_PER_LOGS_BLOOM: 256 BYTES_PER_LOGS_BLOOM: 256
# 2**10 (= 1,024) # 2**10 (= 1,024)

View File

@ -59,8 +59,8 @@ This patch adds transaction execution to the beacon chain as part of the Merge f
| Name | Value | | Name | Value |
| - | - | | - | - |
| `MAX_BYTES_PER_TRANSACTION` | `uint64(2**24)` (= 16,777,216) | | `MAX_BYTES_PER_TRANSACTION` | `uint64(2**30)` (= 1,073,741,824) |
| `MAX_TRANSACTIONS_PER_PAYLOAD` | `uint64(2**14)` (= 16,384) | | `MAX_TRANSACTIONS_PER_PAYLOAD` | `uint64(2**20)` (= 1,048,576) |
| `BYTES_PER_LOGS_BLOOM` | `uint64(2**8)` (= 256) | | `BYTES_PER_LOGS_BLOOM` | `uint64(2**8)` (= 256) |
| `GAS_LIMIT_DENOMINATOR` | `uint64(2**10)` (= 1,024) | | `GAS_LIMIT_DENOMINATOR` | `uint64(2**10)` (= 1,024) |
| `MIN_GAS_LIMIT` | `uint64(5000)` (= 5,000) | | `MIN_GAS_LIMIT` | `uint64(5000)` (= 5,000) |

View File

@ -44,7 +44,7 @@ This section outlines modifications constants that are used in this spec.
| Name | Value | Description | | Name | Value | Description |
|---|---|---| |---|---|---|
| `GOSSIP_MAX_SIZE_MERGE` | `10 * 2**20` (= 10485760, 10 MiB) | The maximum allowed size of uncompressed gossip messages starting at the Merge upgrade | | `GOSSIP_MAX_SIZE_MERGE` | `10 * 2**20` (= 10,485,760, 10 MiB) | The maximum allowed size of uncompressed gossip messages starting at the Merge upgrade |
## The gossip domain: gossipsub ## The gossip domain: gossipsub