chainbound / bolt

Bolt: permissionless proposer commitments on Ethereum
https://chainbound.github.io/bolt-docs/
MIT License
49 stars 14 forks source link

Sidecar: invalidate past state #125

Closed merklefruit closed 2 months ago

merklefruit commented 2 months ago

Block templates should be cleared once a new head for that slot has been received from the CL. Furthermore, tracked nonces should be only reset if a preconfirmed transaction was successfully included in a block.

https://github.com/chainbound/bolt/blob/6091199cd8ad7c959d2cbe79852f9ec16d7a2c64/bolt-sidecar/src/state/execution.rs#L201