Skip to content

network: integrate state sync module with blockfetcher

Codecov / codecov/patch failed Jan 21, 2025 in 1s

27.80% of diff hit (target 83.13%)

View this Pull Request on Codecov

27.80% of diff hit (target 83.13%)

Annotations

Check warning on line 522 in pkg/core/statesync/module.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/statesync/module.go#L521-L522

Added lines #L521 - L522 were not covered by tests

Check warning on line 221 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L209-L221

Added lines #L209 - L221 were not covered by tests

Check warning on line 227 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L223-L227

Added lines #L223 - L227 were not covered by tests

Check warning on line 230 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L229-L230

Added lines #L229 - L230 were not covered by tests

Check warning on line 240 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L233-L240

Added lines #L233 - L240 were not covered by tests

Check warning on line 248 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L243-L248

Added lines #L243 - L248 were not covered by tests

Check warning on line 257 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L254-L257

Added lines #L254 - L257 were not covered by tests

Check warning on line 284 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L259-L284

Added lines #L259 - L284 were not covered by tests

Check warning on line 294 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L290-L294

Added lines #L290 - L294 were not covered by tests

Check warning on line 298 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L296-L298

Added lines #L296 - L298 were not covered by tests

Check warning on line 302 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L300-L302

Added lines #L300 - L302 were not covered by tests

Check warning on line 304 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L304

Added line #L304 was not covered by tests

Check warning on line 311 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L307-L311

Added lines #L307 - L311 were not covered by tests

Check warning on line 313 in pkg/network/bqueue/queue.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L313

Added line #L313 was not covered by tests

Check warning on line 242 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L241-L242

Added lines #L241 - L242 were not covered by tests

Check warning on line 245 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L244-L245

Added lines #L244 - L245 were not covered by tests

Check warning on line 349 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L344-L349

Added lines #L344 - L349 were not covered by tests

Check warning on line 839 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L838-L839

Added lines #L838 - L839 were not covered by tests

Check warning on line 844 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L841-L844

Added lines #L841 - L844 were not covered by tests

Check warning on line 878 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L872-L878

Added lines #L872 - L878 were not covered by tests

Check warning on line 1170 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L1170

Added line #L1170 was not covered by tests

Check warning on line 1371 in pkg/network/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L1370-L1371

Added lines #L1370 - L1371 were not covered by tests

Check warning on line 274 in pkg/services/blockfetcher/blockfetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/blockfetcher/blockfetcher.go#L270-L274

Added lines #L270 - L274 were not covered by tests

Check warning on line 291 in pkg/services/blockfetcher/blockfetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/blockfetcher/blockfetcher.go#L287-L291

Added lines #L287 - L291 were not covered by tests

Check warning on line 302 in pkg/services/blockfetcher/blockfetcher.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/services/blockfetcher/blockfetcher.go#L300-L302

Added lines #L300 - L302 were not covered by tests