Skip to content

remove references to dexter #710

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed src/Dexter/__init__.py
Empty file.
113 changes: 0 additions & 113 deletions src/Dexter/dexter_utils.py

This file was deleted.

4 changes: 0 additions & 4 deletions src/api/reward_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@
class RewardApi(ABC):
def __init__(self):
super().__init__()
self.dexter_contracts_set = []

@abstractmethod
def get_rewards_for_cycle_map(self, cycle, rewards_type):
pass

def set_dexter_contracts_set(self, dexter_contracts_set):
self.dexter_contracts_set = dexter_contracts_set
1 change: 0 additions & 1 deletion src/model/baking_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
TOB = "TOB"
TOE = "TOE"
MIN_DELEGATION_KEY = "mindelegation"
DEXTER = "dexter"

# Unique object to signify that no default value has been provided
_NO_DEFAULT = object()
Expand Down
9 changes: 0 additions & 9 deletions src/pay/payment_producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ def __init__(
api_base_url,
)

dexter_contracts_set = baking_cfg.get_contracts_set()
if len(dexter_contracts_set) > 0 and not (self.reward_api.name == "tzpro"):
logger.warning(
"The Dexter functionality is currently only supported using tzpro."
"The contract address will be treated as a normal delegator."
)
else:
self.reward_api.set_dexter_contracts_set(dexter_contracts_set)

self.rewards_type = baking_cfg.get_rewards_type()
if self.rewards_type != RewardsType.ACTUAL:
logger.error(
Expand Down
Loading