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

Changing waiting time for getting bitcoin address and some cleanup #36

Merged
merged 1 commit into from
Aug 18, 2020

Conversation

dimpar
Copy link
Contributor

@dimpar dimpar commented Aug 17, 2020

Ref keep-network/tbtc#703

If the public key was not set in the past 24hours, there is no need to hit contracts through Infura multiple times in the 3 sec interval. It can add up very quickly in e2e summary test and exceed the Infura's request limits which we observed earlier.

In this PR we give a 1 sec time to read a public key and if it is not there (meaning something was off), we move on to the next "Created" event.

This is the example report that can be generated through this script.
Screenshot 2020-08-17 at 15 30 29

@lukasz-zimnoch lukasz-zimnoch merged commit 3e5e19f into master Aug 18, 2020
@lukasz-zimnoch lukasz-zimnoch deleted the e2e-gh-action-config branch August 18, 2020 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants