-
Notifications
You must be signed in to change notification settings - Fork 349
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
E2E Fuzzer Tool for celestia-node tests #1535
Comments
Consider adding a fuzz test that generates a valid block that contains strange padding or reorders blobs in a namespace. |
ref #1162, as simplifying the programmatic signing of txs could be useful |
The remaining things for this epic are basically just #2382 |
Is the tool proposed in this epic: a new stand-alone binary? features added to the existing |
using txsim, or whatever scripts, in the knuu e2e tests to fuzz the e2e test it should be similar to if we actually had tests for robusta, so fill the blocks for a while, change the validator set dramatically, perhaps even perform an upgrade or restart nodes. The goal is to provide us with a basic set of behaviors that should all work in an predictable way and cover a wide spectrum of potential states of a chain. This is to give us better confidence that a network consisting of 4 nodes works as intended, along with providing celestia-node with a good foundation for attempting to find edge cases there |
Does this mean: modify Is that reusable by celestia-node? |
I'm not sure what the exact testing suite infrastructure would look like, it could fit into the existing tests or be its own test. Therefore, it would also run when we run the e2e tests, and celestia-node could use the same infrastructure we use the run that test (the e2e package). celestia-node doesn't have that infra setup atm afaik, however they should be able to import the same package similar to how they are importing the testnode package |
moved the AC that this needs to be a tool for celestia-node to use in knuu as a bonus. That might be useful, but doesn't need to be included to close this issue. |
closing in favor of #3540 if we need a tool for celestia-node to use, then we should create a separate issue for that. |
Ref: celestiaorg/celestia-app#1256, celestiaorg/celestia-app#1535 This commit introduces a new package `txsim` for contolled fuzz testing at a transaction level. It's purpose is to simulate a wide range of possible user interactions while also being able to apply a considerable load to the network.
It would be really useful to have a tool to fuzz as many possible scenarios that could happen in celestia-app. This would include things like all possible transactions, validator set changes, block sizes, evidence in the block, and potentially even invalid blocks that are signed over.
We first only target this tool for the non-determinism tests, but in theory (not required to close this issue) could be implemented as a tool that could be applied to any network.
AC
Bonus (not required for merging)
The text was updated successfully, but these errors were encountered: