-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from tzstats to tzpro (#685)
* migration from tzstats to tzpro * upgraded required package versions and applied black formatting * attempt: fix test dependencies, move verbose_logger_test into test folder * remove bad import module prefix 'src.' * fix requirements for python 3.7, fix module references in tests * Add tzpro api key in config * Update tzpro data * Fix enum compares * Currently failing tests: test_attempt_single_batch_tz test_attempt_single_batch_KT test_batch_payer_total_payout_amount test_simulate_single_operation test_failed_simulate_single_operation test_reset test_archive * Contributor/Reviewer: jdsika, Effort=6h, vkresch, Effort=8h --------- Signed-off-by: jdsika <carlo.van-driesten@vdl.digital> Co-authored-by: Viktor <viktor.kreschenski@gmail.com>
- Loading branch information
Showing
95 changed files
with
515 additions
and
539 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
# User requirements | ||
requests>=2.27.0 | ||
base58>=1.0.2 | ||
pyyaml>=5.3.1 | ||
requests>=2.31.0 | ||
base58>=2.1.1 | ||
pyyaml>=6.0.1 | ||
fysom>=2.1.6 | ||
parse>=1.19.0 | ||
transitions>=0.8.11 | ||
tweepy>=4.6.0 | ||
pip>=22.0.4 | ||
parse>=1.19.1 | ||
transitions>=0.9.0 | ||
tweepy>=4.14.0 | ||
pip>=23.3.1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# developer requirements | ||
pytest>=7.0.1 | ||
pytest>=7.4.3 | ||
pytest-watch>=4.2.0 | ||
parameterized>=0.8.1 | ||
Pygments>=2.11.2 | ||
graphviz>=0.19.1 | ||
click==8.0.4 | ||
black==22.10.0 | ||
flake8>=5.0.0 | ||
parameterized>=0.9.0 | ||
Pygments>=2.16.1 | ||
graphviz>=0.20.1 | ||
click==8.1.7 | ||
black==23.3.0 | ||
flake8>=5.0.4 | ||
recommonmark==0.7.1 | ||
sphinx_rtd_theme==1.0.0 | ||
sphinxcontrib.spelling>=7.3.2 | ||
pre-commit>=2.20.0 | ||
sphinx_rtd_theme==1.3.0 | ||
sphinxcontrib.spelling>=8.0.0 | ||
pre-commit>=2.21.0 |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# TODO: Check if there are changes to the indicies! | ||
# https://docs.tzpro.io/api/index/tables/income-table?tab=Response | ||
|
||
# Rights | ||
idx_income_baking_rights = 8 | ||
idx_income_blocks_baked = 14 | ||
idx_income_blocks_not_baked = 16 | ||
idx_income_active_stake = 6 | ||
|
||
# Income/Rewards Breakdown | ||
idx_income_expected_income = 21 | ||
idx_income_total_income = 22 | ||
idx_income_total_deposits = 23 | ||
idx_income_baking_income = 24 | ||
idx_income_endorsing_income = 25 | ||
idx_income_accusation_income = 26 | ||
idx_income_seed_income = 27 | ||
idx_income_fees_income = 28 | ||
idx_income_total_loss = 29 | ||
idx_income_accusation_loss = 30 | ||
idx_income_seed_loss = 31 | ||
idx_income_endorsing_loss = 32 | ||
idx_income_lost_accusation_fees = 33 | ||
idx_income_lost_accusation_rewards = 34 | ||
idx_income_lost_accusation_deposits = 35 | ||
idx_income_lost_seed_fees = 36 | ||
idx_income_lost_seed_rewards = 37 | ||
|
||
# Cycle Snapshot | ||
idx_balance = 0 | ||
idx_baker_delegated = 1 | ||
idx_delegator_address = 2 | ||
|
||
# Current balances | ||
idx_cb_delegator_id = 0 | ||
idx_cb_current_balance = 1 | ||
idx_cb_delegator_address = 2 |
Oops, something went wrong.