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

Migrate from tzstats to tzpro #685

Merged
merged 11 commits into from
Nov 4, 2023
Prev Previous commit
Next Next commit
remove bad import module prefix 'src.'
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
  • Loading branch information
jdsika committed Nov 1, 2023
commit 2b591333abe45752d15dff567402f6739041e4a0
4 changes: 2 additions & 2 deletions src/api/provider_factory.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from rpc.rpc_block_api import RpcBlockApiImpl
from rpc.rpc_reward_api import RpcRewardApiImpl
from src.blockwatch.tzpro_block_api import TzProBlockApiImpl
from src.blockwatch.tzpro_reward_api import TzProRewardApiImpl
from blockwatch.tzpro_block_api import TzProBlockApiImpl
from blockwatch.tzpro_reward_api import TzProRewardApiImpl
from tzkt.tzkt_block_api import TzKTBlockApiImpl
from tzkt.tzkt_reward_api import TzKTRewardApiImpl
from Constants import PUBLIC_NODE_URL
2 changes: 1 addition & 1 deletion src/blockwatch/tzpro_block_api.py
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
from exception.api_provider import ApiProviderException
from log_config import main_logger, verbose_logger
from Constants import TZPRO_API_URL
from src.blockwatch.tzpro_api_constants import load_key_from_env_variables
from blockwatch.tzpro_api_constants import load_key_from_env_variables

logger = main_logger

4 changes: 2 additions & 2 deletions src/blockwatch/tzpro_reward_api.py
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@

from log_config import main_logger
from model.reward_provider_model import RewardProviderModel
from src.blockwatch.tzpro_reward_provider_helper import TzProRewardProviderHelper
from src.blockwatch.tzpro_api_constants import load_key_from_env_variables
from blockwatch.tzpro_reward_provider_helper import TzProRewardProviderHelper
from blockwatch.tzpro_api_constants import load_key_from_env_variables
from Constants import MUTEZ_PER_TEZ
from Dexter import dexter_utils as dxtz

2 changes: 1 addition & 1 deletion src/blockwatch/tzpro_reward_provider_helper.py
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
from exception.api_provider import ApiProviderException

from log_config import main_logger, verbose_logger
from src.blockwatch.tzpro_api_constants import (
from blockwatch.tzpro_api_constants import (
idx_n_baking_rights,
idx_income_expected_income,
idx_income_total_income,
Loading