diff --git a/chain/market/fundmanager.go b/chain/market/fundmanager.go index 33da230951d..9d4f083718e 100644 --- a/chain/market/fundmanager.go +++ b/chain/market/fundmanager.go @@ -575,7 +575,7 @@ func (a *fundedAddress) processWithdrawals(withdrawals []*fundRequest) (msgCid c return withdrawFundsCid, nil } -// asynchonously wait for results of message +// asynchronously wait for results of message func (a *fundedAddress) startWaitForResults(msgCid cid.Cid) { go func() { err := a.env.WaitMsg(a.ctx, msgCid) diff --git a/cli/evm.go b/cli/evm.go index bc847d2b2d6..612dd5cc116 100644 --- a/cli/evm.go +++ b/cli/evm.go @@ -325,7 +325,7 @@ var EvmInvokeCmd = &cli.Command{ Usage: "optionally specify the account to use for sending the exec message", }, &cli.IntFlag{ Name: "value", - Usage: "optionally specify the value to be sent with the invokation message", + Usage: "optionally specify the value to be sent with the invocation message", }, }, Action: func(cctx *cli.Context) error { diff --git a/cmd/lotus-shed/migrations.go b/cmd/lotus-shed/migrations.go index 6350c217c97..d071ef20600 100644 --- a/cmd/lotus-shed/migrations.go +++ b/cmd/lotus-shed/migrations.go @@ -1049,7 +1049,7 @@ func compareProposalToAllocation(prop market8.DealProposal, alloc verifreg9.Allo proposalClientID, err := address.IDFromAddress(prop.Client) if err != nil { - return xerrors.Errorf("couldnt get ID from address") + return xerrors.Errorf("couldn't get ID from address") } if proposalClientID != uint64(alloc.Client) { return xerrors.Errorf("client id mismatch between proposal and allocation: %v, %v", proposalClientID, alloc.Client) @@ -1057,7 +1057,7 @@ func compareProposalToAllocation(prop market8.DealProposal, alloc verifreg9.Allo proposalProviderID, err := address.IDFromAddress(prop.Provider) if err != nil { - return xerrors.Errorf("couldnt get ID from address") + return xerrors.Errorf("couldn't get ID from address") } if proposalProviderID != uint64(alloc.Provider) { return xerrors.Errorf("provider id mismatch between proposal and allocation: %v, %v", proposalProviderID, alloc.Provider) diff --git a/documentation/en/cli-lotus.md b/documentation/en/cli-lotus.md index 32e5b773496..980b8be11fd 100644 --- a/documentation/en/cli-lotus.md +++ b/documentation/en/cli-lotus.md @@ -2186,7 +2186,7 @@ USAGE: OPTIONS: --from value optionally specify the account to use for sending the exec message - --value value optionally specify the value to be sent with the invokation message (default: 0) + --value value optionally specify the value to be sent with the invocation message (default: 0) --help, -h show help ``` diff --git a/storage/pipeline/fsm_test.go b/storage/pipeline/fsm_test.go index c403fb12993..d1ee2396997 100644 --- a/storage/pipeline/fsm_test.go +++ b/storage/pipeline/fsm_test.go @@ -425,7 +425,7 @@ func TestCreationTimeCleared(t *testing.T) { m.planSingle(SectorPieceAdded{}) require.Equal(m.t, m.state.State, SnapDealsWaitDeals) - // abort shoult clean up CreationTime + // abort should clean up CreationTime m.planSingle(SectorAbortUpgrade{}) require.Equal(m.t, m.state.State, AbortUpgrade) diff --git a/storage/pipeline/input.go b/storage/pipeline/input.go index 97a78372fe8..0824659a58a 100644 --- a/storage/pipeline/input.go +++ b/storage/pipeline/input.go @@ -362,7 +362,7 @@ func (m *Sealing) sectorAddPieceToAny(ctx context.Context, size abi.UnpaddedPiec ts, err := m.Api.ChainHead(ctx) if err != nil { - return api.SectorOffset{}, xerrors.Errorf("couldnt get chain head: %w", err) + return api.SectorOffset{}, xerrors.Errorf("couldn't get chain head: %w", err) } nv, err := m.Api.StateNetworkVersion(ctx, types.EmptyTSK) diff --git a/storage/pipeline/upgrade_queue.go b/storage/pipeline/upgrade_queue.go index 5e3392a9f18..0f2d3e9cf26 100644 --- a/storage/pipeline/upgrade_queue.go +++ b/storage/pipeline/upgrade_queue.go @@ -27,7 +27,7 @@ func (m *Sealing) MarkForUpgrade(ctx context.Context, id abi.SectorNumber) error ts, err := m.Api.ChainHead(ctx) if err != nil { - return xerrors.Errorf("couldnt get chain head: %w", err) + return xerrors.Errorf("couldn't get chain head: %w", err) } onChainInfo, err := m.Api.StateSectorGetInfo(ctx, m.maddr, id, ts.Key()) if err != nil {