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

feat(core): all-around tx check in assertoor #1259

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

rodrigo-o
Copy link
Contributor

@rodrigo-o rodrigo-o commented Nov 25, 2024

Motivation

We want to have more checks regarding transactions, this PR accomplish that through assertoor

Description

This PR tackles 2 main things:

  • Having a way to validate the tx spammer is working and continues to work after at least one epoch
  • Add the run_transaction_test check to the assertoor suite to not just validate blob transactions.

To do it I separated the network_params.yaml used for the make localnet from 2 new ones used just for the assertoor workflow, one for the blobs + stability check and the other for the tx + stability check. Also at the end of the stability check we make sure at least one block is proposed by us with more than 50tx (which happens after 1 epoch and the reorg/fork check). The separations was done due to time, it wasn't possible to parallelize the test as far as i checked without creating a new playbook and I preferred to use the already provided in parallel steps.

Apart from creating the 2 new files, I removed assertoor from the one used by make localnet.

TIME
Right now every job (which run in parallel) takes ~15min, and added to the ~6min for the build it accounts to ~21min. This is, right now after the parallelization in the cancun engine hive test, the longest workflow in the CI.

Closes #1128

@rodrigo-o rodrigo-o changed the title feat(l1): all-around tx check in assertoor feat(core): all-around tx check in assertoor Nov 25, 2024
run_block_proposal_check: false
run_blob_transaction_test: true
tests:
- 'https://raw.githubusercontent.com/lambdaclass/ethrex/refs/heads/assertoor-allaround-tx-check/test_data/assertoor/el-stability-check.yml'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

After review and before merging assertoor-allaround-tx-check will be replaced by main.

run_block_proposal_check: false
run_transaction_test: true
tests:
- 'https://raw.githubusercontent.com/lambdaclass/ethrex/refs/heads/assertoor-allaround-tx-check/test_data/assertoor/el-stability-check.yml'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@rodrigo-o rodrigo-o marked this pull request as ready for review November 25, 2024 20:39
@rodrigo-o rodrigo-o requested a review from a team as a code owner November 25, 2024 20:39
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.

Assertoor test must check the tx spammer is working as expected as part of the stability check
1 participant