ci pipeline configuration pipeline implemented#184
Open
MoscowDev wants to merge 1 commit into
Open
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Property-Based Fuzz Testing Implementation Summary
Implemented comprehensive property-based fuzz testing for the
/transactions/batch-buildpayload parser to validate the resilience and stability of the XDR transaction builder against malformed, oversized, and maliciously structured input data.Completed Work
Integrated the fast-check property-based testing framework into the backend testing suite.
Designed and implemented arbitrary generators capable of producing highly randomized transaction payloads, including:
Number.MAX_SAFE_INTEGER,NaN,Infinity, and other numeric edge cases.Developed fuzz test scenarios that continuously generate and submit randomized payloads to the
/transactions/batch-buildendpoint to simulate real-world and adversarial input conditions.Added validation assertions to ensure:
Verified that the XDR builder remains stable when processing deeply nested arrays, oversized payload structures, and malformed asset amount values.
Outcome
The transaction builder endpoint is now protected by robust fuzz testing coverage that proactively identifies edge cases and validation gaps. The implementation significantly improves API reliability by ensuring malformed or malicious payloads are safely rejected through validation logic, preventing crashes, panics, or unexpected failures within the XDR generation workflow.
closes #171