-
Notifications
You must be signed in to change notification settings - Fork 94
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
feat(watchtower): move watchtower tests to new testnet #1846
Conversation
…ve-watchtower-tests
…und_erc20_payment tests
…ve-watchtower-tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only couple non-blocker suggestions
@@ -1390,7 +1390,7 @@ impl SwapOps for EthCoin { | |||
} | |||
|
|||
fn is_supported_by_watchers(&self) -> bool { | |||
false | |||
std::env::var("USE_WATCHER_REWARD").is_ok() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use coins configuration instead of re-fetching the environment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this to enable watcher rewards in certain tests and disable in others temporarily. Soon I will implement watcher rewards as an option for orders and there won't be need for this anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥
This PR:
send_and_refund_eth_payment
,send_and_refund_erc20_payment
,test_nonce_lock
andtest_withdraw_and_send
tests that were failing due to concurrency