-
Notifications
You must be signed in to change notification settings - Fork 18
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
Simulation framework for multi-client server testing #358
Closed
Commits on Oct 18, 2024
-
Simulation framework for multi-client server testing
This PR introduces a simulation framework designed to test the server by simulating multiple clients performing various actions over several rounds. The framework reads simulation configurations from YAML files, validates them against a predefined schema, and executes the simulation accordingly. Here's a summary of the key changes made: 1. **New `simulation` Module**: - Added a new Go module `simulation` with its own `go.mod` and `go.sum`. - Introduced a main application for running simulations based on a YAML configuration. - Included functions for setting up clients, performing actions like onboarding, sending transactions, and claiming funds. - Added validation of simulation configuration against a schema using `gojsonschema`. 2. **Simulation Configuration**: - Added `simulation1.yaml` as an example configuration file for running simulations. - Defined a `schema.yaml` for validating simulation configurations. 3. **`.gitignore` Updates**: - Added `.idea` to ignore IntelliJ IDEA project files. 4. **`Dockerfile` Update**: - Updated the base image version of Golang from `1.23.1` to `1.23.2`. 5. **`go.work` Update**: - Updated the Go version from `1.23.1` to `1.23.2`. - Added a new directory `./simulation` to the workspace. 6. **`go.work.sum` Update**: - Added new dependencies `github.com/coreos/go-systemd` and `github.com/go-task/slim-sprig`. 7. **`e2e_test.go` Modifications**: - Removed the `setupAspWallet` function and replaced its usage with `utils.SetupAspWalletCovenantless`. 8. **`test_utils.go` Modifications**: - Added a new function `SetupAspWalletCovenantless` to handle wallet setup with optional initial funding.
Configuration menu - View commit details
-
Copy full SHA for ca53648 - Browse repository at this point
Copy the full SHA ca53648View commit details -
Configuration menu - View commit details
-
Copy full SHA for 132e9ce - Browse repository at this point
Copy the full SHA 132e9ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for 056b396 - Browse repository at this point
Copy the full SHA 056b396View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee4e34b - Browse repository at this point
Copy the full SHA ee4e34bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e9e689 - Browse repository at this point
Copy the full SHA 8e9e689View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770c0e8 - Browse repository at this point
Copy the full SHA 770c0e8View commit details
Commits on Oct 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 716ab7d - Browse repository at this point
Copy the full SHA 716ab7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9c943a - Browse repository at this point
Copy the full SHA e9c943aView commit details
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0150c26 - Browse repository at this point
Copy the full SHA 0150c26View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5b79000 - Browse repository at this point
Copy the full SHA 5b79000View commit details
Commits on Oct 27, 2024
-
* rework nonces encoding * add a check in Musig2Nonce decode function * musig2_test: increase number of signers to 20 * musig2.json: add a test case with a 35 leaves tree
Configuration menu - View commit details
-
Copy full SHA for afb7c73 - Browse repository at this point
Copy the full SHA afb7c73View commit details
Commits on Oct 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa5867a - Browse repository at this point
Copy the full SHA aa5867aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f9b11 - Browse repository at this point
Copy the full SHA 25f9b11View commit details -
Configuration menu - View commit details
-
Copy full SHA for f327948 - Browse repository at this point
Copy the full SHA f327948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53c9064 - Browse repository at this point
Copy the full SHA 53c9064View commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 9194f35 - Browse repository at this point
Copy the full SHA 9194f35View commit details
Commits on Nov 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a477571 - Browse repository at this point
Copy the full SHA a477571View commit details
Commits on Nov 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8812573 - Browse repository at this point
Copy the full SHA 8812573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9e1dd4f - Browse repository at this point
Copy the full SHA 9e1dd4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 67111ac - Browse repository at this point
Copy the full SHA 67111acView commit details -
Configuration menu - View commit details
-
Copy full SHA for b189d64 - Browse repository at this point
Copy the full SHA b189d64View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d5804 - Browse repository at this point
Copy the full SHA e9d5804View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae46457 - Browse repository at this point
Copy the full SHA ae46457View commit details -
Configuration menu - View commit details
-
Copy full SHA for aaacbfd - Browse repository at this point
Copy the full SHA aaacbfdView commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d9c9536 - Browse repository at this point
Copy the full SHA d9c9536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2987a49 - Browse repository at this point
Copy the full SHA 2987a49View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53d7d19 - Browse repository at this point
Copy the full SHA 53d7d19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0465e91 - Browse repository at this point
Copy the full SHA 0465e91View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d3fef4 - Browse repository at this point
Copy the full SHA 1d3fef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2de6d3f - Browse repository at this point
Copy the full SHA 2de6d3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50816c1 - Browse repository at this point
Copy the full SHA 50816c1View commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c6632f3 - Browse repository at this point
Copy the full SHA c6632f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bca611 - Browse repository at this point
Copy the full SHA 9bca611View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5eb1b72 - Browse repository at this point
Copy the full SHA 5eb1b72View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.