-
Notifications
You must be signed in to change notification settings - Fork 250
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
Cover transaction manager with additional test cases #561
Comments
Balance: 0.000000 ETH |
Here's what I have in mind:
How does it sound? And the test function could be called |
That's close but not exactly. For the second part, I was planning to have a piece of code that will be used for every test case that completes a transaction. This piece of code can use transaction as an input and will prepare mocks for geth rpc api. Take a look at |
Ah okay, I see what you mean now. I'll start getting a PR ready in a bit. |
@dshulyak I don't believe I solved it the way you imagined but this looked like the best way to me. |
Problem
Transaction manager (
txqueue_manager.go
) should be covered with additional test cases to ensure that it won't get accidentally broken after next changes.Test cases that are currently missing:
Implementation
The text was updated successfully, but these errors were encountered: