Skip to content

Conversation

@julio4
Copy link
Collaborator

@julio4 julio4 commented Oct 6, 2025

Implemented missing methods from SpanExt in CheckpointExt, such as contains and blobs.
Then SpanExt methods can just use CheckpointExt to not have to know too much about Checkpoint impls.

And rest is some improvements in doc and readability.

@julio4 julio4 requested a review from karim-agha as a code owner October 6, 2025 07:52
@julio4 julio4 requested a review from SozinM as a code owner October 9, 2025 07:27

impl<P: Platform> SpanExt<P> for Span<P> {
/// Returns the total gas used by all checkpoints in the span.
fn gas_used(&self) -> u64 {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have branching of checkpoint inside the span?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, spans represent continuous linear history of checkpoints.

@julio4 julio4 merged commit 93b8c0b into flashbots:main Oct 9, 2025
3 checks passed
@julio4 julio4 deleted the chore/ext-doc branch October 9, 2025 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants