Skip to content
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 chain/messagepool/messagepool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ func (mp *MessagePool) HeadChange(ctx context.Context, revert []*types.TipSet, a
for _, s := range rmsgs {
for _, msg := range s {
if err := mp.addSkipChecks(ctx, msg); err != nil {
log.Errorf("Failed to readd message from reorg to mpool: %s", err)
log.Errorf("Failed to read message from reorg to mpool: %s", err)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion chain/types/actor_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ActorEventFilter struct {
// last finalized tipset.
// NOTE: In a future upgrade, this will be strict when set and will result in an error if a filter
// cannot be fulfilled by the depth of history available in the node. Currently, the node will
// nott return an error, but will return starting from the epoch it has data for.
// not return an error, but will return starting from the epoch it has data for.
FromHeight *abi.ChainEpoch `json:"fromHeight,omitempty"`

// The height of the latest tipset to include in the query. If empty, the query ends at the
Expand Down
2 changes: 1 addition & 1 deletion chain/types/ethtypes/eth_legacy_155_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func (tx *EthLegacy155TxArgs) Signature() (*typescrypto.Signature, error) {
sig = append(sig, padLeadingZeros(s, 32)...)
sig = append(sig, v...)

// pre-pend a one byte marker so nodes know that this is a legacy transaction
// prepend a one byte marker so nodes know that this is a legacy transaction
sig = append([]byte{EthLegacy155TxSignaturePrefix}, sig...)

if len(sig) != EthLegacy155TxSignatureLen0 && len(sig) != EthLegacy155TxSignatureLen1 {
Expand Down
2 changes: 1 addition & 1 deletion chain/types/ethtypes/eth_legacy_homestead_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (tx *EthLegacyHomesteadTxArgs) Signature() (*typescrypto.Signature, error)
} else {
sig = append(sig, v[0])
}
// pre-pend a one byte marker so nodes know that this is a legacy transaction
// prepend a one byte marker so nodes know that this is a legacy transaction
sig = append([]byte{EthLegacyHomesteadTxSignaturePrefix}, sig...)

if len(sig) != EthLegacyHomesteadTxSignatureLen {
Expand Down
2 changes: 1 addition & 1 deletion cmd/lotus-sim/simulation/stages/provecommit_stage.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func (stage *ProveCommitStage) filterProveCommits(
}

func (stage *ProveCommitStage) load(ctx context.Context, bb *blockbuilder.BlockBuilder) error {
stage.initialized = false // in case something failes while we're doing this.
stage.initialized = false // in case something fails while we're doing this.
stage.commitQueue = commitQueue{offset: bb.Height()}
powerState, err := loadPower(bb.ActorStore(), bb.ParentStateTree())
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion storage/paths/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func (st *Local) MoveStorage(ctx context.Context, s storiface.SectorRef, types s
}

if err := Move(storiface.PathByType(src, fileType), storiface.PathByType(dest, fileType)); err != nil {
// TODO: attempt some recovery (check if src is still there, re-declare)
// TODO: attempt some recovery (check if src is still there, redeclare)
return xerrors.Errorf("moving sector %v(%d): %w", s, fileType, err)
}

Expand Down
2 changes: 1 addition & 1 deletion storage/pipeline/currentdealinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func TestGetCurrentDealInfo(t *testing.T) {
expectedDealID: successDealID,
expectedMarketDeal: successDeal,
},
"deal lookup fails proposal mis-match": {
"deal lookup fails proposal mismatch": {
publishCid: dummyCid,
searchMessageLookup: &api.MsgLookup{
Receipt: types.MessageReceipt{
Expand Down
Loading