Skip to content

blockservice: add WithProvider option

Codecov / codecov/patch succeeded Dec 28, 2023 in 0s

88.88% of diff hit (target 65.62%)

View this Pull Request on Codecov

88.88% of diff hit (target 65.62%)

Annotations

Check warning on line 248 in bitswap/client/internal/providerquerymanager/providerquerymanager.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/client/internal/providerquerymanager/providerquerymanager.go#L248

Added line #L248 was not covered by tests

Check warning on line 61 in bitswap/testinstance/testinstance.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/testinstance/testinstance.go#L61

Added line #L61 was not covered by tests

Check warning on line 44 in bitswap/testnet/virtual.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

bitswap/testnet/virtual.go#L44

Added line #L44 was not covered by tests

Check warning on line 211 in blockservice/blockservice.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/blockservice.go#L210-L211

Added lines #L210 - L211 were not covered by tests

Check warning on line 263 in blockservice/blockservice.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

blockservice/blockservice.go#L262-L263

Added lines #L262 - L263 were not covered by tests