Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Mar 24, 2024
1 parent 58c5a96 commit d131de0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion server/v2/stf/stf.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ func (s STF[T]) DeliverBlock(ctx context.Context, block *appmanager.BlockRequest
// that can be written to.
newState = s.branch(state)

// TODO: handle consensus messages
for _, msg := range block.ConsensusMessages {
_, err := s.handleMsg(ctx, msg)
if err != nil {
return nil, nil, err
}
}

// pre block is called separate from begin block in order to prepopulate state
preBlockEvents, err := s.preBlock(ctx, newState, block.Txs)
Expand Down

0 comments on commit d131de0

Please sign in to comment.