Skip to content

Commit

Permalink
remove redundant words and symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
hattizai committed Dec 21, 2024
1 parent c12136b commit da6652d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/architecture/adr-75-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Consensus is the component that controls the interaction with the consensus engi

The consensus server is responsible for handling the execution model of the state machine. The state machine executes transactions when it is told, it is unaware of the execution model.

Since consensus servers can be swapped there are certain features features specific to consensus engines need to be implemented in the server. In the CometBFT server we have implemented the following features:
Since consensus servers can be swapped there are certain features specific to consensus engines need to be implemented in the server. In the CometBFT server we have implemented the following features:

* Mempool
* Prepare & Process Proposal
Expand Down
4 changes: 2 additions & 2 deletions docs/build/abci/03-vote-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Same as above:
```go
serverOptions.VerifyVoteExtensionHandler = CustomVerifyVoteExtensionHandler()

func CustomVerifyVoteExtensionHandler]() handlers.VerifyVoteExtensionHandler {
func CustomVerifyVoteExtensionHandler() handlers.VerifyVoteExtensionHandler {
return func(context.Context, store.ReaderMap, *abci.VerifyVoteExtensionRequest) (*abci.VerifyVoteExtensionResponse, error) {
return &abci.VerifyVoteExtensionResponse{}, nil
}
Expand Down Expand Up @@ -268,7 +268,7 @@ func CustomProcessProposalHandler[T transaction.Tx]() handlers.ProcessHandler[T]
### Preblocker

In v2, the `PreBlocker` function works in the same way as it does in v1. However, it is
is now passed in as an option to `appbuilder.Build`.
now passed in as an option to `appbuilder.Build`.

```go
app.App, err = appBuilder.Build(runtime.AppBuilderWithPreblocker(
Expand Down

0 comments on commit da6652d

Please sign in to comment.