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

Get network economics service #6174

Merged
merged 8 commits into from
Jan 16, 2025
Merged

Conversation

mstrasinskis
Copy link
Contributor

@mstrasinskis mstrasinskis commented Jan 16, 2025

Motivation

Currently, the voting power parameters are hardcoded as half a year and one month. However, they may change in the future. Therefore, we want to retrieve them from the API. In this PR, we add the service and store to use them in the following PRs.

Changes

  • New networkEconomicsStore store.
  • New loadNetworkEconomicsParameters service (intentionally no error toasts, because this doesn't block more important activities).

Tests

  • Added.

Todos

  • Add entry to changelog (if necessary).
    Not necessary.

@mstrasinskis mstrasinskis marked this pull request as ready for review January 16, 2025 15:53
@mstrasinskis mstrasinskis requested a review from a team as a code owner January 16, 2025 15:53
@mstrasinskis mstrasinskis added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit 5fba586 Jan 16, 2025
32 checks passed
@mstrasinskis mstrasinskis deleted the get-network-economics-service branch January 16, 2025 22:24
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.

2 participants