Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typos #1300

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
> simulated by the Gnomes of the Greater Resistance.

Gno is an interpreted and fully-deterministic implementation of the Go
programming language, designed to build succint and composable smart contracts.
programming language, designed to build succinct and composable smart contracts.
The first blockchain to use it is Gno.land, a
[Proof of Contribution](./docs/proof-of-contribution.md)-based chain, backed by
a variation of the [Tendermint](https://docs.tendermint.com/v0.34/introduction/what-is-tendermint.html)
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/bft/consensus/ticker.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (t *timeoutTicker) stopTimer() {
}

// send on tickChan to start a new timer.
// timers are interupted and replaced by new ticks from later steps
// timers are interrupted and replaced by new ticks from later steps
// timeouts of 0 on the tickChan will be immediately relayed to the tockChan
func (t *timeoutTicker) timeoutRoutine() {
t.Logger.Debug("Starting timeout routine")
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/bft/rpc/client/mock/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type Call struct {
Error error
}

// GetResponse will generate the apporiate response for us, when
// GetResponse will generate the appropriate response for us, when
// using the Call struct to configure a Mock handler.
//
// When configuring a response, if only one of Response or Error is
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/bft/types/evidence.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const (
)

// MaxEvidencePerBlock returns the maximum number of evidences
// allowed in the block and their maximum total size (limitted to 1/10th
// allowed in the block and their maximum total size (limited to 1/10th
// of the maximum block size).
// TODO: change to a constant, or to a fraction of the validator set size.
// See https://github.com/tendermint/classic/issues/2590
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/db/prefix_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func stripPrefix(key []byte, prefix []byte) (stripped []byte) {
panic("should not happen")
}
if !bytes.Equal(key[:len(prefix)], prefix) {
panic("should not happne")
panic("should not happen")
}
return key[len(prefix):]
}
2 changes: 1 addition & 1 deletion tm2/pkg/p2p/conn/secret_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func TestSecretConnectionReadWrite(t *testing.T) {
// A helper that will run with (fooConn, fooWrites, fooReads) and vice versa
genNodeRunner := func(id string, nodeConn kvstoreConn, nodeWrites []string, nodeReads *[]string) async.Task {
return func(_ int) (interface{}, error, bool) {
// Initiate cryptographic private key and secret connection trhough nodeConn.
// Initiate cryptographic private key and secret connection through nodeConn.
nodePrvKey := ed25519.GenPrivKey()
nodeSecretConn, err := MakeSecretConnection(nodeConn, nodePrvKey)
if err != nil {
Expand Down
Loading