diff --git a/lens/lily/modules/statemanager.go b/lens/lily/modules/statemanager.go index 551f8d0d2..4fb8d78f1 100644 --- a/lens/lily/modules/statemanager.go +++ b/lens/lily/modules/statemanager.go @@ -93,7 +93,7 @@ func (b *BufferedExecMonitor) MessageApplied(_ context.Context, ts *types.TipSet return nil } -// So long as we are are always driving this method with tipsets we get from HeadEvents then we should always find a tipset in here. +// So long as we are always driving this method with tipsets we get from HeadEvents then we should always find a tipset in here. func (b *BufferedExecMonitor) ExecutionFor(ts *types.TipSet) ([]*BufferedExecution, error) { log.Debugw("execution for", "ts", ts.String()) b.cacheMu.Lock() diff --git a/metrics/metrics.go b/metrics/metrics.go index a8fe3817e..b87f8d9ce 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -42,7 +42,7 @@ var ( ProcessingFailure = stats.Int64("processing_failure", "Number of processing failures", stats.UnitDimensionless) PersistFailure = stats.Int64("persist_failure", "Number of persistence failures", stats.UnitDimensionless) WatchHeight = stats.Int64("watch_height", "The height of the tipset last seen by the watch command", stats.UnitDimensionless) - TipSetSkip = stats.Int64("tipset_skip", "Number of tipsets that were not processed. This is is an indication that lily cannot keep up with chain.", stats.UnitDimensionless) + TipSetSkip = stats.Int64("tipset_skip", "Number of tipsets that were not processed. This is an indication that lily cannot keep up with chain.", stats.UnitDimensionless) JobStart = stats.Int64("job_start", "Number of jobs started", stats.UnitDimensionless) JobRunning = stats.Int64("job_running", "Numer of jobs currently running", stats.UnitDimensionless) JobComplete = stats.Int64("job_complete", "Number of jobs completed without error", stats.UnitDimensionless) diff --git a/tasks/fevm/transaction/tasks.go b/tasks/fevm/transaction/tasks.go index bda5d063a..2b25e965a 100644 --- a/tasks/fevm/transaction/tasks.go +++ b/tasks/fevm/transaction/tasks.go @@ -127,7 +127,7 @@ func (p *Task) ProcessTipSets(ctx context.Context, current *types.TipSet, execut txnObj.TransactionIndex = uint64(*txn.TransactionIndex) } - // Sometime the the "To" field could be nil + // Sometime the "To" field could be nil if txn.To != nil { txnObj.To = txn.To.String()