Skip to content

Fix activeset weight calc performance in the proposal handler

Codecov / codecov/patch succeeded May 9, 2024 in 1s

84.6% of diff hit (target 80.7%)

View this Pull Request on Codecov

84.6% of diff hit (target 80.7%)

Annotations

Check warning on line 563 in proposals/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

proposals/handler.go#L563

Added line #L563 was not covered by tests

Check warning on line 573 in proposals/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

proposals/handler.go#L573

Added line #L573 was not covered by tests

Check warning on line 589 in proposals/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

proposals/handler.go#L589

Added line #L589 was not covered by tests

Check warning on line 598 in proposals/handler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

proposals/handler.go#L595-L598

Added lines #L595 - L598 were not covered by tests