Skip to content

Commit 494dfe7

Browse files
authored
Add EIP: Add blob schedule to EL config files
Merged by EIP-Bot.
1 parent 7f01d7b commit 494dfe7

File tree

1 file changed

+69
-0
lines changed

1 file changed

+69
-0
lines changed

EIPS/eip-7840.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
---
2+
eip: 7840
3+
title: Add blob schedule to EL config files
4+
description: Include a per-fork schedule of max and target blob counts in client configuration files
5+
author: lightclient (@lightclient)
6+
discussions-to: https://ethereum-magicians.org/t/add-blob-schedule-to-execution-client-configuration-files/22182
7+
status: Draft
8+
type: Informational
9+
created: 2024-12-12
10+
---
11+
12+
13+
## Abstract
14+
15+
Add a new object to client configuration files `blobSchedule` which lists the
16+
target blob count per block and max blob count per block for each fork.
17+
18+
## Motivation
19+
20+
- ensure there is a way to dynamically adjust the target and max blob counts per
21+
block
22+
- avoid complex handshake over engine API
23+
24+
## Specification
25+
26+
Extend the client configuration files with the object `blobSchedule` with the
27+
following shape:
28+
29+
```json
30+
"blobSchedule": {
31+
"cancun": {
32+
"target": 3,
33+
"max": 6
34+
},
35+
"prague": {
36+
"target": 6,
37+
"max": 9
38+
}
39+
}
40+
```
41+
42+
When there is no explicit configuration for the current fork, use the last
43+
specified fork value. If no last value is specified, set both to zero.
44+
45+
## Rationale
46+
47+
Although maintaining the target and max blob only in the consensus client is
48+
desirable, we acknowledge the reality that execution clients need these values
49+
for various activities. For example, the `eth_feeHistory` RPC method returns a
50+
field `blobGasUsedRatio` that does require the max, even though the core
51+
protocol doesn't specifically need such value. Passing this value over the
52+
engine API every block seem overkill so we believe a configuration value is a
53+
good middle ground.
54+
55+
## Backwards Compatibility
56+
57+
No backward compatibility issues found.
58+
59+
## Test Cases
60+
61+
TODO
62+
63+
## Security Considerations
64+
65+
Needs discussion.
66+
67+
## Copyright
68+
69+
Copyright and related rights waived via [CC0](../LICENSE.md).

0 commit comments

Comments
 (0)