Skip to content

Commit

Permalink
Remove leaf retrieval from create_node_validator_processing call
Browse files Browse the repository at this point in the history
With the ability to potentially process HotShot Events via the async task
`HotShotEventProcessingTask`, this means that we technically could have access to the `Leaf`
nodes via `Decide` events.  This can be used as an alternative to retrieving thee `Leaf`
from the HotShot Query Service as is done by the `ProcessProduceLeafStreamTask` async
task.  As such, it doesn't make sense to impose one over the other in the call to
`create_node_validator_processing` anymore.  So we remove it in order to allow the
consumer to make the call to which ever mode they may prefer instead.

This allows for flexibility when it comes to how we source this information.
  • Loading branch information
Ayiga committed Jul 25, 2024
1 parent ddd586c commit 442070e
Showing 1 changed file with 197 additions and 87 deletions.
Loading

0 comments on commit 442070e

Please sign in to comment.