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

Fix typos #3208

Merged
merged 5 commits into from
Jul 22, 2024
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 config/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ according to its router.

#### `--public-ip` (string)

If this argument is provided, the node assume this is its public IP.
If this argument is provided, the node assumes this is its public IP.

:::tip
When running a local network it may be easiest to set this value to `127.0.0.1`.
Expand Down
6 changes: 3 additions & 3 deletions database/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See the file LICENSE for licensing terms.

// For ease of implementation, our database's interface matches Ethereum's
// database implementation. This was to allow use to use Geth code as is for the
// database implementation. This was to allow us to use Geth code as is for the
// EVM chain.

package database
Expand Down Expand Up @@ -49,13 +49,13 @@ type KeyValueDeleter interface {
Delete(key []byte) error
}

// KeyValueReaderWriter allows read/write acccess to a backing data store.
// KeyValueReaderWriter allows read/write access to a backing data store.
type KeyValueReaderWriter interface {
KeyValueReader
KeyValueWriter
}

// KeyValueWriterDeleter allows write/delete acccess to a backing data store.
// KeyValueWriterDeleter allows write/delete access to a backing data store.
type KeyValueWriterDeleter interface {
KeyValueWriter
KeyValueDeleter
Expand Down
2 changes: 1 addition & 1 deletion snow/consensus/snowball/unary_snowflake.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type unarySnowflake struct {
// The corresponding beta values give the threshold required to finalize this instance.
terminationConditions []terminationCondition

// confidence is the number of consecutive succcessful polls for a given
// confidence is the number of consecutive successful polls for a given
// alphaConfidence threshold.
// This instance finalizes when confidence[i] >= terminationConditions[i].beta for any i
confidence []int
Expand Down
2 changes: 1 addition & 1 deletion snow/engine/avalanche/bootstrap/queue/jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ func (jm *JobsWithMissing) cleanRunnableStack(ctx context.Context) error {

job, err := jm.state.GetJob(ctx, jobID)
if err != nil {
return fmt.Errorf("failed to retrieve job on runnnable stack due to: %w", err)
return fmt.Errorf("failed to retrieve job on runnable stack due to: %w", err)
}
deps, err := job.MissingDependencies(ctx)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion tests/antithesis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ $ AVAWL_URIS=... CHAIN_IDS="2S9ypz...AzMj9" go run ./tests/antithesis/xsvm
### Running a workload with docker-compose

Running the test script for a given test setup with the `DEBUG` flag
set will avoid cleaning up the the temporary directory where the
set will avoid cleaning up the temporary directory where the
docker-compose setup is written to. This will allow manual invocation of
docker-compose to see the log output of the workload.

Expand Down
Loading