Skip to content

Conversation

@radik878
Copy link
Contributor

In crates/transaction-pool/src/validate/task.rs, the constructor TransactionValidationTaskExecutor::new() previously created the channel ValidationTask::new () channel and immediately lost the receiver without running ValidationTask::run(), which caused the channel to close and all send() calls to end with ValidationServiceUnreachable; now we save the receiver and immediately start the background runner via tokio::task::spawn(async move { task.run().await; }), so the validator actually consumes and executes tasks, and validation calls start working, and we added regression tests at the end of task.rs, which confirmed correctness after the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant