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

Handle invalid responses #115

Merged
merged 3 commits into from
Oct 26, 2023
Merged

Handle invalid responses #115

merged 3 commits into from
Oct 26, 2023

Conversation

Adamantios
Copy link
Collaborator

No description provided.

penalty = -self.synchronized_data.mech_price
penalty = -self.wei_to_native(self.synchronized_data.mech_price)
Copy link
Collaborator Author

@Adamantios Adamantios Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to the PR.
The penalty should be in xDAI as the rewards are also given in this scale.

Copy link
Collaborator

@dvilelaf dvilelaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM: some linter issues

@Adamantios Adamantios merged commit bbc359b into main Oct 26, 2023
5 of 6 checks passed
@Adamantios Adamantios deleted the fix/handle-invalid-response branch October 26, 2023 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants