Skip to content

Add NetworkStateProvider#1056

Draft
0xfornax wants to merge 3 commits intomasterfrom
network-state-provider
Draft

Add NetworkStateProvider#1056
0xfornax wants to merge 3 commits intomasterfrom
network-state-provider

Conversation

@0xfornax
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

Coverage Report

@github-actions
Copy link
Copy Markdown

Coverage Report

@github-actions
Copy link
Copy Markdown

Merging this branch changes the coverage (1 decrease, 3 increase)

Impacted Packages Coverage Δ 🤖
github.com/rocket-pool/smartnode/rocketpool 0.00% (ø)
github.com/rocket-pool/smartnode/rocketpool/node 0.86% (+0.86%) 👍
github.com/rocket-pool/smartnode/rocketpool/watchtower 0.96% (+0.49%) 👍
github.com/rocket-pool/smartnode/shared/services 0.31% (-0.07%) 👎
github.com/rocket-pool/smartnode/shared/services/proposals 0.00% (ø)
github.com/rocket-pool/smartnode/shared/services/state 6.88% (+0.06%) 👍
github.com/rocket-pool/smartnode/treegen 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/rocket-pool/smartnode/rocketpool/node/node.go 0.00% (ø) 2675 (+52) 0 2675 (+52)
github.com/rocket-pool/smartnode/rocketpool/node/verify-pdao-props.go 6.57% (+6.57%) 2252 (+114) 148 (+148) 2104 (-34) 👍
github.com/rocket-pool/smartnode/rocketpool/rocketpool.go 0.00% (ø) 81 (+7) 0 81 (+7)
github.com/rocket-pool/smartnode/rocketpool/watchtower/generate-rewards-tree.go 0.00% (ø) 1492 (+129) 0 1492 (+129)
github.com/rocket-pool/smartnode/rocketpool/watchtower/submit-network-balances.go 7.30% (+3.72%) 3728 (+318) 272 (+150) 3456 (+168) 👍
github.com/rocket-pool/smartnode/shared/services/bc-manager.go 0.00% (ø) 2629 (+325) 0 2629 (+325)
github.com/rocket-pool/smartnode/shared/services/ec-manager.go 0.00% (ø) 2816 (+671) 0 2816 (+671)
github.com/rocket-pool/smartnode/shared/services/network_state_provider.go 0.00% (ø) 454 (+454) 0 454 (+454)
github.com/rocket-pool/smartnode/shared/services/proposals/proposal-manager.go 0.00% (ø) 1747 (+143) 0 1747 (+143)
github.com/rocket-pool/smartnode/shared/services/requirements.go 0.00% (ø) 3584 (+642) 0 3584 (+642)
github.com/rocket-pool/smartnode/shared/services/services.go 0.00% (ø) 2096 (+403) 0 2096 (+403)
github.com/rocket-pool/smartnode/shared/services/state/network-state.go 9.57% (+1.66%) 2893 (+355) 277 (+76) 2616 (+279) 👍
github.com/rocket-pool/smartnode/shared/services/state/provider.go 0.00% (ø) 0 0 0
github.com/rocket-pool/smartnode/shared/services/state/static_bc.go 0.00% (ø) 799 (+799) 0 799 (+799)
github.com/rocket-pool/smartnode/shared/services/state/static_ec.go 0.00% (ø) 333 (+333) 0 333 (+333)
github.com/rocket-pool/smartnode/shared/services/state/static_mode.go 0.00% (ø) 0 0 0
github.com/rocket-pool/smartnode/shared/services/state/static_provider.go 21.81% (+21.81%) 243 (+243) 53 (+53) 190 (+190) 🌟
github.com/rocket-pool/smartnode/treegen/tree-gen.go 0.00% (ø) 3630 (+308) 0 3630 (+308)

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

Changed unit test files

  • github.com/rocket-pool/smartnode/rocketpool/node/verify-pdao-props-state_test.go
  • github.com/rocket-pool/smartnode/rocketpool/watchtower/submit-network-balances-state_test.go
  • github.com/rocket-pool/smartnode/shared/services/state/static_provider_test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant