Skip to content

Commit

Permalink
chore: revert add-missing-wire-for-signature-collection (#17752)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Riley <[email protected]>
  • Loading branch information
derektriley authored Feb 6, 2025
1 parent 5109ab8 commit b9ed11c
Showing 1 changed file with 5 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -621,19 +621,12 @@ private void wire() {
hashedStateAndRoundOutputWire.buildAdvancedTransformer(
new StateAndRoundToStateReserver("postHasher_stateReserver"));

// Extract signatures from post-consensus events for input to the StateSignatureCollector.
final WireTransformer<StateAndRound, Queue<ScopedSystemTransaction<StateSignatureTransaction>>>
stateAndRoundTransformer = new WireTransformer<>(
model,
"getSystemTransactionsFromStateAndRound",
"system transactions",
StateAndRound::systemTransactions);

stateHasherWiring.getOutputWire().solderTo(stateAndRoundTransformer.getInputWire());
transactionHandlerWiring.getOutputWire().solderTo(stateAndRoundTransformer.getInputWire());

stateAndRoundTransformer
transactionHandlerWiring
.getOutputWire()
.buildTransformer(
"getSystemTransactions",
"stateAndRound with system transactions",
StateAndRound::systemTransactions)
.solderTo(stateSignatureCollectorWiring.getInputWire(
StateSignatureCollector::handlePostconsensusSignatures));

Expand Down

0 comments on commit b9ed11c

Please sign in to comment.