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 some typos #3670

Merged
merged 1 commit into from
Jan 27, 2025
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 scripts/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set -euo pipefail
# DOCKER_IMAGE=localhost:5001/avalanchego FORCE_TAG_LATEST=1 ./scripts/build_image.sh # Build and push image to private registry with tag `latest`

# Multi-arch builds require Docker Buildx and QEMU. buildx should be enabled by
# default in the verson of docker included with Ubuntu 22.04, and qemu can be
# default in the version of docker included with Ubuntu 22.04, and qemu can be
# installed as follows:
#
# sudo apt-get install qemu qemu-user-static
Expand Down
2 changes: 1 addition & 1 deletion snow/engine/common/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ type AppResponseHandler interface {
// Notify this engine of the response to a previously sent AppRequest with
// the same requestID.
//
// The meaning of response is application (VM) specifc.
// The meaning of response is application (VM) specific.
//
// It is not guaranteed that response is well-formed or valid.
AppResponse(
Expand Down
2 changes: 1 addition & 1 deletion snow/validators/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ func (m *manager) AddWeight(subnetID ids.ID, nodeID ids.NodeID, weight uint64) e
}

// We do not need to grab a write lock here because we never modify the
// subnetToVdrs map. However, we must hold the read lock during the entirity
// subnetToVdrs map. However, we must hold the read lock during the entirety
// of this function to ensure that errors are returned consistently.
//
// Consider the case that:
Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/txs/executor/staker_tx_verification.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
ErrNotValidator = errors.New("isn't a current or pending validator")
ErrRemovePermissionlessValidator = errors.New("attempting to remove permissionless validator")
ErrStakeOverflow = errors.New("validator stake exceeds limit")
ErrPeriodMismatch = errors.New("proposed staking period is not inside dependant staking period")
ErrPeriodMismatch = errors.New("proposed staking period is not inside dependent staking period")
ErrOverDelegated = errors.New("validator would be over delegated")
ErrIsNotTransformSubnetTx = errors.New("is not a transform subnet tx")
ErrTimestampNotBeforeStartTime = errors.New("chain timestamp not before start time")
Expand Down
2 changes: 1 addition & 1 deletion vms/platformvm/vm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ func TestRewardValidatorAccept(t *testing.T) {
rewardTx := blk.(block.Block).Txs()[0].Unsigned
require.IsType(&txs.RewardValidatorTx{}, rewardTx)

// Verify options and accept commmit block
// Verify options and accept commit block
require.NoError(commit.Verify(context.Background()))
require.NoError(abort.Verify(context.Background()))
txID := blk.(block.Block).Txs()[0].ID()
Expand Down
Loading