Skip to content

chore: remove redundant words in comment #1337

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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 lens/lily/modules/statemanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion tasks/fevm/transaction/tasks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down