-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQS-325 | Include unclaimed staking rewards into Unclaimed rewards ca…
…tegory (#434) * SQS-325 | Include unclaimed staking rewards into Unclaimed rewards category This PR includes staking rewards to Unclaimed rewards category for portfolio assets endpoint. Check list: * [x] - Unclaimed rewards include staking rewards * [x] - Unit tests ```sh ❯ make test-unit ... ok github.com/osmosis-labs/sqs/passthrough/usecase (cached) ... ``` * [x] - Integration tests continue to pass ```sh [nix-shell:~/go/src/github.com/deividaspetraitis/sqs]$ SQS_ENVIRONMENTS=local pytest -s -n 4 tests/test_passthrough.py Session is starting. Worker ID: master .... ========================================================== test session starts ========================================================== platform linux -- Python 3.11.9, pytest-8.2.1, pluggy-1.5.0 rootdir: /home/deividas/go/src/github.com/deividaspetraitis/sqs plugins: xdist-3.6.1 4 workers [1 item] . =========================================================== 1 passed in 0.90s =========================================================== (venv) ``` * [x] - Manually tested unclaimed rewards, total assets get updated ```sh curl -X 'GET' \ 'https://sqs.stage.osmosis.zone/passthrough/portfolio-assets/osmo1zlymlax05tg9km9jyw496jx60v86m4548xw2xu' \ -H 'accept: application/json' ``` ```sh curl -X 'GET' \ 'http://localhost:9092/passthrough/portfolio-assets/osmo1zlymlax05tg9km9jyw496jx60v86m4548xw2xu' \ -H 'accept: application/json' ``` * [x] - Docs updated * Update domain/passthrough/passthrough_grpc_client.go --------- Co-authored-by: Roman <[email protected]>
- Loading branch information
1 parent
65db797
commit b469f69
Showing
7 changed files
with
89 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters