feat: Pre-authenticated transaction submission#2262
Open
sergerad wants to merge 18 commits into
Open
Conversation
kkovaacs
approved these changes
Jun 17, 2026
kkovaacs
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me, thanks!
Mirko-von-Leipzig
left a comment
Collaborator
There was a problem hiding this comment.
I'm not sure we should be emphasizing trust everywhere. This is just another internal service. We could envisage extending this with mempool stats or introspection etc in the future so I would not hyperfixate on submission/trust.
Its already an internal proto service. The docs should be mainly in the CLI/markdown files.
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
Co-authored-by: Mirko <48352201+Mirko-von-Leipzig@users.noreply.github.com>
sergerad
commented
Jun 19, 2026
| /// forwards the authenticated result to the sequencer's pre-authenticated submission API, rather | ||
| /// than forwarding the raw transaction upstream. Both must be provided together. | ||
| #[derive(clap::Args, Clone, Debug)] | ||
| pub struct PreAuthenticatedNodeOptions { |
Collaborator
Author
There was a problem hiding this comment.
@Mirko-von-Leipzig I renamed trusted->pre-authenticated. You might still prefer to call this SequencerOptions etc instead?
sergerad
commented
Jun 19, 2026
|
|
||
| // The chain height at which authentication took place. | ||
| fixed32 authentication_height = 4; | ||
| } |
Collaborator
Author
There was a problem hiding this comment.
@Mirko-von-Leipzig we could just do single field of bytes (AuthenticatedTransaction::to_bytes) instead of these fields.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #2242.
Changelog