Skip to content

feat: Integrate ntx-builder with validator #1453

Merged
sergerad merged 12 commits intonextfrom
sergerad-ntx-builder-validator
Jan 16, 2026
Merged

feat: Integrate ntx-builder with validator #1453
sergerad merged 12 commits intonextfrom
sergerad-ntx-builder-validator

Conversation

@sergerad
Copy link
Collaborator

@sergerad sergerad commented Dec 14, 2025

Context

We want network transactions to go through the same validator flow as all other transactions. Currently the ntx-builder submits proven transactions to the block producer directly which bypasses the validator flow.

Closes #1309.

Changes

  • Add ValidatorClient for ntx-builder.
  • Remove BlockProducerClient::submit_proven_transaction for ntx-builder.
  • Use ValidatorClient::submit_proven_transaction.

Copy link
Collaborator

@SantiagoPittella SantiagoPittella left a comment

Choose a reason for hiding this comment

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

Looking good, besides Mirko's comment

@sergerad
Copy link
Collaborator Author

sergerad commented Jan 12, 2026

@Mirko-von-Leipzig @SantiagoPittella I have undone the changes that remove the block producer submit logic. Should not have been part of this PR.

Copy link
Collaborator

@Mirko-von-Leipzig Mirko-von-Leipzig left a comment

Choose a reason for hiding this comment

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

The one question (I do think the order must be swapped)

@sergerad sergerad merged commit 8cbce7c into next Jan 16, 2026
7 checks passed
@sergerad sergerad deleted the sergerad-ntx-builder-validator branch January 16, 2026 00:54
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.

Integrate NTB into validator flow

5 participants