feat(sidecar): add max_committed_gas_per_slot
to sidecar Limits
#144
Labels
C: bolt-sidecar
Component: bolt-sidecar
D-good-first-issue
Difficulty: a great choice to get started!
T: feature
Type: Feature
Bolt sidecar operators should have a way to limit both the number and the gas amount used for commitments in a single slot.
For this, we already have the
Limits
config struct that can be extended.These limits are enforced in the execution state validation pipeline here:
bolt/bolt-sidecar/src/state/execution.rs
Lines 204 to 210 in 7366aef
it would also be ideal to place
Limits
inside theExecutionState
itself instead of copying the individual fields like this:bolt/bolt-sidecar/src/state/execution.rs
Line 115 in 7366aef
The text was updated successfully, but these errors were encountered: