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

Add a script to do layer 1 stress tests #34

Merged
merged 216 commits into from
Jul 12, 2022

Conversation

vtleonardo
Copy link
Contributor

@vtleonardo vtleonardo commented Jul 1, 2022

Scope

This PR is introducing a layer transaction spammer script written in go that is integrated with the new transaction watcher. This script should be used to simulate a more realistic layer 1 environment and see how our node will behave in such a highly competitive environment.

Why?

This script should allow us to test "high traffic" on our local Ethereum nodes (mainly hardhat). During high traffic is expected that our node will start failing to send transactions. This script should be used to test how robust the retry mechanism will be in such situations.

Blocked by #11 (once it's merged, this PR should be rebased)

vtleonardo and others added 30 commits May 3, 2022 16:19
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with the understanding that we're going to cleanup after all PR's are merged.

@github-actions github-actions bot added actions go Pull requests that update Go code javascript Pull requests that update Javascript code labels Jul 11, 2022
@github-actions github-actions bot removed javascript Pull requests that update Javascript code actions labels Jul 12, 2022
@vtleonardo vtleonardo merged commit 9c123c5 into alicenet:main Jul 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants