File tree Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Expand file tree Collapse file tree 1 file changed +69
-0
lines changed Original file line number Diff line number Diff line change
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 ) .
You can’t perform that action at this time.
0 commit comments