Skip to content

blockfetcher: add headerSizeMap according to CommitteeHistory

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

44.70% of diff hit (target 83.13%)

View this Pull Request on Codecov

44.70% of diff hit (target 83.13%)

Annotations

Check warning on line 85 in pkg/core/block/header.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/block/header.go#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 94 in pkg/core/block/header.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/block/header.go#L93-L94

Added lines #L93 - L94 were not covered by tests

Check warning on line 304 in pkg/core/blockchain.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/blockchain.go#L303-L304

Added lines #L303 - L304 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/statesync/module.go#L189-L192

Added lines #L189 - L192 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/statesync/module.go#L198-L199

Added lines #L198 - L199 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/statesync/module.go#L535-L539

Added lines #L535 - L539 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/core/statesync/module.go#L573-L574

Added lines #L573 - L574 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L105

Added line #L105 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L116-L118

Added lines #L116 - L118 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L120-L121

Added lines #L120 - L121 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue/queue.go#L166-L167

Added lines #L166 - L167 were not covered by tests

Check warning on line 22 in pkg/network/bqueue_adapters.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue_adapters.go#L21-L22

Added lines #L21 - L22 were not covered by tests

Check warning on line 27 in pkg/network/bqueue_adapters.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue_adapters.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 43 in pkg/network/bqueue_adapters.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue_adapters.go#L42-L43

Added lines #L42 - L43 were not covered by tests

Check warning on line 48 in pkg/network/bqueue_adapters.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue_adapters.go#L47-L48

Added lines #L47 - L48 were not covered by tests

Check warning on line 69 in pkg/network/bqueue_adapters.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/bqueue_adapters.go#L68-L69

Added lines #L68 - L69 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L247-L249

Added lines #L247 - L249 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L251-L252

Added lines #L251 - L252 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L255-L257

Added lines #L255 - L257 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L259-L260

Added lines #L259 - L260 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L262-L263

Added lines #L262 - L263 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L344

Added line #L344 was not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L394-L403

Added lines #L394 - L403 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L406-L411

Added lines #L406 - L411 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/network/server.go#L414-L421

Added lines #L414 - L421 were not covered by tests