Skip to content

Conversation

@efbig
Copy link
Collaborator

@efbig efbig commented Nov 3, 2025

📝 Summary

Refactor block submission types to put the main block data in an Arc. Get rid of the redundant deep cloning of block request in the hot relay submission loop here:

let mut request = request.clone();
// We only set adjustment data on non optimistic v3 submissions.
// For optimistic v3, it is already included in the header submission.
if let Some(adjustment_data) = maybe_adjustment_data.filter(|_| optimistic_v3.is_none()) {
request.set_adjustment_data(adjustment_data.clone().into_v1());
}

✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

@efbig efbig requested review from ZanCorDX and dvush as code owners November 3, 2025 21:38
@efbig efbig merged commit 4c5d8b0 into develop Nov 4, 2025
7 checks passed
@efbig efbig deleted the perf/arc-submit-block-request branch November 4, 2025 15:22
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.

2 participants