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

Remove solver_competition tx_hash column #788

Merged
merged 4 commits into from
Nov 17, 2022
Merged

Remove solver_competition tx_hash column #788

merged 4 commits into from
Nov 17, 2022

Conversation

vkgnosis
Copy link
Contributor

Follow up to #634 .

Now that staging and prod are running the tx_from, tx_nonce code we can remove tx_hash.

The reward payout script has been updated in cowprotocol/solver-rewards#131 .

Test Plan

CI

@vkgnosis vkgnosis requested a review from a team as a code owner November 16, 2022 12:17
Copy link
Contributor

@sistemd sistemd left a comment

Choose a reason for hiding this comment

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

LGTM

@vkgnosis vkgnosis enabled auto-merge (squash) November 17, 2022 09:40
@@ -435,20 +441,6 @@ impl Driver {
};
if let Some(hash) = hash {
tracing::debug!(?hash, "settled transaction");
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: At this point we might as well drop if let Some(hash)... and just put specific log statements into each match arm.

@vkgnosis vkgnosis merged commit 37c8504 into main Nov 17, 2022
@vkgnosis vkgnosis deleted the remove-tx-has branch November 17, 2022 11:35
@github-actions github-actions bot locked and limited conversation to collaborators Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants