-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(core): all-around tx check in assertoor (#1259)
**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 as expected. - Add [additional transaction checks](https://github.com/lambdaclass/ethrex/blob/f76c491700f1feda7741c7bd6b85d1e34493f49f/test_data/assertoor/el-stability-check.yml#L24-L29) to the assertoor suite to not just validate blob transactions. - `eoa-transactions-test` [[Link to playbook](https://github.com/ethpandaops/assertoor/blob/master/playbooks/stable/eoa-transactions-test.yaml)] 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 new tx checks. Also during the stability check we make sure at least one block is proposed by us with more than 50tx validating that the tx spammer is working as expected. The separation was done due to timing, 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 the new job takes ~15min, and added to the ~5min for the build it accounts to ~20min. Closes #1128
- Loading branch information
Showing
6 changed files
with
91 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
participants: | ||
- el_type: ethrex | ||
cl_type: lighthouse | ||
validator_count: 32 | ||
- el_type: geth | ||
cl_type: lighthouse | ||
validator_count: 32 | ||
- el_type: geth | ||
cl_type: lighthouse | ||
validator_count: 32 | ||
|
||
additional_services: | ||
- assertoor | ||
- tx_spammer | ||
|
||
assertoor_params: | ||
run_stability_check: false | ||
run_block_proposal_check: false | ||
tests: | ||
- https://raw.githubusercontent.com/ethpandaops/assertoor/refs/heads/master/playbooks/stable/blob-transactions-test.yaml | ||
- https://raw.githubusercontent.com/lambdaclass/ethrex/refs/heads/main/.github/config/assertoor/el-stability-check.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
participants: | ||
- el_type: ethrex | ||
cl_type: lighthouse | ||
validator_count: 32 | ||
- el_type: geth | ||
cl_type: lighthouse | ||
validator_count: 32 | ||
|
||
additional_services: | ||
- assertoor | ||
|
||
assertoor_params: | ||
run_stability_check: false | ||
run_block_proposal_check: false | ||
tests: | ||
- https://raw.githubusercontent.com/ethpandaops/assertoor/refs/heads/master/playbooks/stable/eoa-transactions-test.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters