-
Notifications
You must be signed in to change notification settings - Fork 59
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
Kevin/load test cleanup #1490
Kevin/load test cleanup #1490
Conversation
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.
Some high level questions and comment:
- What problem has you bumped so we start to configure
gas_price
? (Just curious, not saying it really needs justification) - Same, why for the
delay
? Seems like you must encountered some instability? - Might consider to add the essential config values in each scenario to their documents.
|> Transaction.sign(keys: keys) | ||
|> try_submit_tx(retries) | ||
|
||
outputs |
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.
n00bie comment, but would it be more consistent for public api to return {:ok, data}
instead?
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.
Hmm, good question.
The way I see it is that this function never returns an {:error
condition, so returning {ok,
is unnecessary. That is, the function will either successfully return the outputs of a tx or it will fail, but it won't return an :error
that can be handled.
I'm happy to be taught otherwise though...
Mainnet and Rinkeby gas prices are higher than Ropsten.
No, this is so that you can control how fast the txs are sent. Setting this to 0 means send txs as fast as possible, but for example with a long running test we want to send txs at a slower rate
Yes, good idea |
…elixir-omg into kevin/load-test-cleanup
…elixir-omg into kevin/load-test-cleanup
Overview
Clean up and refactor load test code, making the scenarios more modular and composable.
Changes
Describe your changes and implementation choices. More details make PRs easier to review.
gas_price
be configurable