diff --git a/docs/tutorials/morpheusvm/4_deploying_vm.md b/docs/tutorials/morpheusvm/4_deploying_vm.md index 065acdaf37..5fce9bd28e 100644 --- a/docs/tutorials/morpheusvm/4_deploying_vm.md +++ b/docs/tutorials/morpheusvm/4_deploying_vm.md @@ -187,7 +187,7 @@ func init() { func NewCommand() *cobra.Command { cmd := &cobra.Command{ Use: "version", - Short: "Prints out the verson", + Short: "Prints out the version", RunE: versionFunc, } return cmd diff --git a/docs/tutorials/morpheusvm/5_testing.md b/docs/tutorials/morpheusvm/5_testing.md index 9a31a443d3..8fdabaa330 100644 --- a/docs/tutorials/morpheusvm/5_testing.md +++ b/docs/tutorials/morpheusvm/5_testing.md @@ -622,7 +622,7 @@ var _ = ginkgo.SynchronizedBeforeSuite(func() []byte { ``` -If the above looks familar to `integration_test.go`, that's because `e2e` tests +If the above looks familiar to `integration_test.go`, that's because `e2e` tests follow the same logic as integration tests! The HyperSDK also has a framework for `e2e` tests, which only requires us to pass in required values like the ABI and a transaction generator. diff --git a/internal/executor/executor.go b/internal/executor/executor.go index cd980cd732..20c98cefca 100644 --- a/internal/executor/executor.go +++ b/internal/executor/executor.go @@ -206,7 +206,7 @@ func (e *Executor) Run(keys state.Keys, f func() error) { e.nodes[k] = t } - // Adjust dependency traker and execute if necessary + // Adjust dependency tracker and execute if necessary difference := e.maxDependencies - int64(dependencies.Len()) if t.dependencies.Add(-difference) > 0 { if e.metrics != nil { diff --git a/internal/workers/parallel_workers.go b/internal/workers/parallel_workers.go index ae283bfb7c..93c4ca462c 100644 --- a/internal/workers/parallel_workers.go +++ b/internal/workers/parallel_workers.go @@ -12,7 +12,7 @@ var ( // ParallelWorkers is a struct representing a workers pool. // -// Limit number of concurrent goroutines with resetable error +// Limit number of concurrent goroutines with resettable error // Ensure minimal overhead for parallel ops type ParallelWorkers struct { count int // Number of workers in the pool diff --git a/vm/vm.go b/vm/vm.go index 55fef1a0b2..e3a78beb36 100644 --- a/vm/vm.go +++ b/vm/vm.go @@ -445,7 +445,7 @@ func (vm *VM) extractStateHeight() (uint64, error) { func (vm *VM) extractLatestOutputBlock(ctx context.Context) (*chain.OutputBlock, error) { stateHeight, err := vm.extractStateHeight() if err != nil { - return nil, fmt.Errorf("failed to get state hegiht for latest output block: %w", err) + return nil, fmt.Errorf("failed to get state height for latest output block: %w", err) } lastIndexedHeight, err := vm.chainStore.GetLastAcceptedHeight(ctx) if err != nil {