-
Notifications
You must be signed in to change notification settings - Fork 6
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
[stress test] inject erc-20 txs #13
Comments
Have some questions here.
|
|
@bitwiseguy Are you already working on this? |
@GrapeBaBa - No I am not working on it. Please feel free to assign it to yourself and work on it if you have the time to do it. Would welcome the contribution |
@bitwiseguy Glad to contribute, however we need to decide which method to select for implementation first. |
@GrapeBaBa - awesome! As a first step I would try deploying a simple ERC-20 contract during the stress test initialization and send token transfers through that as one version of the stress test. So we would have two options for stress testing, ideally configurable through the env vars file by expanding the number of valid options to this variable, or adding a supplementary env var that allows you to select the stress type (and default to the simple eth transfer version if not specified):
|
@bitwiseguy If you are ok, we can help to draft a PR for ERC-20 testing. I have talked with @thinkAfCod yesterday, we could start it next week. |
Currently the stress test just injects simple eth transfer txs. While the test is able to fill blocks up to the gas target with these txs, it does not provide the same processing strain on the node as other txs that contain different opcodes. As a next step, it would be nice to be able to also inject txs that contain SSTORE/SLOAD opcodes (e.g. ERC-20 token transfers) and compare the results.
Since writing to unique storage slots is suspected to be a driver of processing block time, the inject txs should aim to use many different storage slots instead of the same slots across many txs.
The text was updated successfully, but these errors were encountered: