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

Feat/validators monitoring #84

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Feat/validators monitoring #84

wants to merge 20 commits into from

Conversation

ad2ien
Copy link
Contributor

@ad2ien ad2ien commented Oct 17, 2022

This PR adds a validators monitoring features.

An actor will poll a cosmos node and send messages to a discord channel when its status changed :

  • when status changes (bonded to or from unbonded / bonding)
  • when a validator is jailed or get out of jail

@ad2ien ad2ien self-assigned this Oct 17, 2022
@ad2ien ad2ien marked this pull request as ready for review October 18, 2022 08:23
@ad2ien ad2ien marked this pull request as draft November 1, 2022 17:38
@ad2ien ad2ien force-pushed the feat/validators-monitoring branch 2 times, most recently from 738ee6a to a30e8c1 Compare November 4, 2022 07:50
@ad2ien ad2ien force-pushed the feat/validators-monitoring branch 2 times, most recently from f49b641 to 7713e27 Compare November 17, 2022 14:05
@codecov-commenter
Copy link

Codecov Report

Merging #84 (7713e27) into main (5a6cc4b) will increase coverage by 17.90%.
The diff coverage is 63.24%.

@@            Coverage Diff             @@
##            main      #84       +/-   ##
==========================================
+ Coverage   1.54%   19.45%   +17.90%     
==========================================
  Files         32       39        +7     
  Lines        905     1275      +370     
==========================================
+ Hits          14      248      +234     
- Misses       891     1027      +136     
Impacted Files Coverage Δ
src/cli/commands/start.rs 0.90% <0.00%> (-0.07%) ⬇️
src/cli/config.rs 0.00% <0.00%> (ø)
...rc/cosmos/client/handlers/get_validators_status.rs 0.00% <0.00%> (ø)
src/cosmos/client/mod.rs 0.00% <0.00%> (ø)
src/cosmos/validators/actor.rs 0.00% <0.00%> (ø)
src/cosmos/validators/discord_message.rs 0.00% <0.00%> (ø)
src/cosmos/validators/handlers/get_new_state.rs 0.00% <0.00%> (ø)
src/cosmos/validators/handlers/update_state.rs 0.00% <0.00%> (ø)
src/cosmos/validators/discord_msg_util.rs 99.31% <99.31%> (ø)
src/cosmos/validators/mod.rs 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ad2ien ad2ien marked this pull request as ready for review November 17, 2022 15:03
@ccamel ccamel assigned ccamel and amimart and unassigned ad2ien Nov 8, 2023
@ccamel
Copy link
Member

ccamel commented Nov 8, 2023

@amimart up

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.

4 participants