Skip to content

pass rpcHandler to plugin (+refactor for import cycle)

Codecov / codecov/patch failed Aug 16, 2024 in 1s

22.38% of diff hit (target 60.00%)

View this Pull Request on Codecov

22.38% of diff hit (target 60.00%)

Annotations

Check warning on line 836 in blockchain/blockchain.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockchain/blockchain.go#L836

Added line #L836 was not covered by tests

Check warning on line 840 in blockchain/blockchain.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockchain/blockchain.go#L840

Added line #L840 was not covered by tests

Check warning on line 847 in blockchain/blockchain.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockchain/blockchain.go#L847

Added line #L847 was not covered by tests

Check warning on line 198 in node/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

node/node.go#L196-L198

Added lines #L196 - L198 were not covered by tests

Check warning on line 202 in node/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

node/node.go#L200-L202

Added lines #L200 - L202 were not covered by tests

Check warning on line 204 in node/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

node/node.go#L204

Added line #L204 was not covered by tests

Check warning on line 21 in plugin/plugin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugin/plugin.go#L18-L21

Added lines #L18 - L21 were not covered by tests

Check warning on line 26 in plugin/plugin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugin/plugin.go#L24-L26

Added lines #L24 - L26 were not covered by tests

Check warning on line 31 in plugin/plugin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugin/plugin.go#L29-L31

Added lines #L29 - L31 were not covered by tests

Check warning on line 34 in plugin/plugin.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugin/plugin.go#L34

Added line #L34 was not covered by tests

Check warning on line 97 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L95-L97

Added lines #L95 - L97 were not covered by tests

Check warning on line 193 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L191-L193

Added lines #L191 - L193 were not covered by tests

Check warning on line 199 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L196-L199

Added lines #L196 - L199 were not covered by tests

Check warning on line 205 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L202-L205

Added lines #L202 - L205 were not covered by tests

Check warning on line 213 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L208-L213

Added lines #L208 - L213 were not covered by tests

Check warning on line 248 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L248

Added line #L248 was not covered by tests

Check warning on line 278 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L276-L278

Added lines #L276 - L278 were not covered by tests

Check warning on line 368 in sync/sync.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

sync/sync.go#L368

Added line #L368 was not covered by tests