forked from QuorumProof/QuorumProof
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate_feature_branch.sh
More file actions
33 lines (25 loc) · 1.07 KB
/
Copy pathcreate_feature_branch.sh
File metadata and controls
33 lines (25 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/bash
# Script to create branch and prepare PR for issue #558
cd /workspaces/QuorumProof
# Create a new branch for the metadata fuzzing implementation
BRANCH_NAME="feature/implement-credential-metadata-fuzzing"
git checkout -b "$BRANCH_NAME"
# Add the changes
git add fuzz/fuzz_targets/fuzz_credential_metadata.rs
git add fuzz/Cargo.toml
git add SOLUTION_ISSUE_558.md
# Create commit
git commit -m "feat: Implement fuzzing for credential metadata - closes #558
- Add new fuzz target for credential metadata parsing and validation
- Test 10,000+ metadata variations across different patterns
- Verify no panics or crashes with arbitrary metadata input
- Support empty, maximum, and oversized metadata edge cases
- Generate metadata in 6 different formats (IPFS, hex, random, repeating, UTF-8/binary, high-entropy)
This addresses issue #558 acceptance criteria:
✓ Generate random metadata
✓ Verify no panics or crashes
✓ Support 10,000+ test cases"
# Display branch info
echo "✓ Branch created: $BRANCH_NAME"
echo "✓ Changes committed"
echo "✓ Ready for PR creation"