Skip to content
Open
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 docs/tutorials/morpheusvm/4_deploying_vm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/morpheusvm/5_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion internal/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion internal/workers/parallel_workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vm/vm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down