You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: EIPS/eip-4788.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -137,7 +137,7 @@ The first ring buffer only tracks `HISTORICAL_ROOTS_LENGTH` worth of roots and s
137
137
However, this design opens the precompile to an attack where a skipped slot that has the same value modulo the ring buffer length would return an old root value,
138
138
rather than the most recent one.
139
139
140
-
To nullify this attack, this EIP keeps track of the pair of data `(parent_beacon_block_root, timestamp)` for each index into the
140
+
To nullify this attack while retaining a fixed memory footprint, this EIP keeps track of the pair of data `(parent_beacon_block_root, timestamp)` for each index into the
141
141
ring buffer and verifies the timestamp matches the one originally used to write the root data when being read. Given the fixed size of storage slots (only 32 bytes), the requirement
142
142
to store a pair of values necessitates two ring buffers, rather than just one.
0 commit comments