Skip to content

Update for loops over integers with range

Codecov / codecov/patch succeeded Jul 19, 2024 in 1s

63.96% of diff hit (target 56.78%)

View this Pull Request on Codecov

63.96% of diff hit (target 56.78%)

Annotations

Check warning on line 198 in app/log/log.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/log/log.go#L198

Added line #L198 was not covered by tests

Check warning on line 70 in app/monitoringapi.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/monitoringapi.go#L70

Added line #L70 was not covered by tests

Check warning on line 90 in app/tracer/trace.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/tracer/trace.go#L90

Added line #L90 was not covered by tests

Check warning on line 80 in app/vmock.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

app/vmock.go#L80

Added line #L80 was not covered by tests

Check warning on line 612 in cluster/ssz.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cluster/ssz.go#L612

Added line #L612 was not covered by tests

Check warning on line 804 in cluster/ssz.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cluster/ssz.go#L804

Added line #L804 was not covered by tests

Check warning on line 816 in cluster/ssz.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cluster/ssz.go#L816

Added line #L816 was not covered by tests

Check warning on line 72 in cmd/addvalidators.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/addvalidators.go#L72

Added line #L72 was not covered by tests

Check warning on line 494 in cmd/addvalidators.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/addvalidators.go#L494

Added line #L494 was not covered by tests

Check warning on line 30 in cmd/combine.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/combine.go#L30

Added line #L30 was not covered by tests

Check warning on line 93 in cmd/createcluster.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/createcluster.go#L93

Added line #L93 was not covered by tests

Check warning on line 27 in cmd/dkg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/dkg.go#L27

Added line #L27 was not covered by tests

Check warning on line 32 in cmd/enr.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/enr.go#L32

Added line #L32 was not covered by tests

Check warning on line 37 in cmd/exit_broadcast.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/exit_broadcast.go#L37

Added line #L37 was not covered by tests

Check warning on line 28 in cmd/exit_list.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/exit_list.go#L28

Added line #L28 was not covered by tests

Check warning on line 32 in cmd/exit_sign.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/exit_sign.go#L32

Added line #L32 was not covered by tests

Check warning on line 23 in cmd/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/relay.go#L23

Added line #L23 was not covered by tests

Check warning on line 58 in cmd/relay.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/relay.go#L58

Added line #L58 was not covered by tests

Check warning on line 28 in cmd/view_cluster_manifest.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/view_cluster_manifest.go#L28

Added line #L28 was not covered by tests

Check warning on line 158 in core/consensus/msg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/consensus/msg.go#L157-L158

Added lines #L157 - L158 were not covered by tests

Check warning on line 178 in core/consensus/msg.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/consensus/msg.go#L177-L178

Added lines #L177 - L178 were not covered by tests

Check warning on line 157 in core/priority/component.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/priority/component.go#L154-L157

Added lines #L154 - L157 were not covered by tests

Check warning on line 182 in core/priority/component.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

core/priority/component.go#L179-L182

Added lines #L179 - L182 were not covered by tests

Check warning on line 37 in p2p/ping.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

p2p/ping.go#L37

Added line #L37 was not covered by tests

Check warning on line 105 in p2p/sender.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

p2p/sender.go#L103-L105

Added lines #L103 - L105 were not covered by tests