Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Use events to test network logic #2700

Merged
merged 42 commits into from
Jun 20, 2024

use session for dag sync

7680133
Select commit
Loading
Failed to load commit list.
Merged

refactor: Use events to test network logic #2700

use session for dag sync
7680133
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Jun 20, 2024 in 1s

90.62% of diff hit (target 78.13%)

View this Pull Request on Codecov

90.62% of diff hit (target 78.13%)

Annotations

Check warning on line 83 in event/bus.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

event/bus.go#L83

Added line #L83 was not covered by tests

Check warning on line 454 in http/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

http/client.go#L454

Added line #L454 was not covered by tests

Check warning on line 131 in internal/db/db.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/db.go#L131

Added line #L131 was not covered by tests

Check warning on line 49 in internal/db/merge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/merge.go#L49

Added line #L49 was not covered by tests

Check warning on line 57 in internal/db/subscriptions.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/db/subscriptions.go#L57

Added line #L57 was not covered by tests

Check warning on line 186 in net/node.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/node.go#L186

Added line #L186 was not covered by tests

Check warning on line 210 in net/peer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/peer.go#L210

Added line #L210 was not covered by tests

Check warning on line 149 in net/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

net/server.go#L149

Added line #L149 was not covered by tests