Skip to content

Conversation

@qiweiii
Copy link
Contributor

@qiweiii qiweiii commented Aug 20, 2025

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes introduce a new fuzzing mode that uses blocks from existing test traces. However, the implementation chains these blocks sequentially, applying them to the pre-state of only the very first trace, which might not be the intended behavior for replaying traces. Other changes include better error handling in the fuzzer and necessary visibility adjustments for cross-module usage.

@qiweiii qiweiii marked this pull request as ready for review August 21, 2025 03:37
@qiweiii qiweiii enabled auto-merge (squash) August 21, 2025 03:38
public var stateRoot: Data32 {
get async {
await backend.rootHash
// TODO: should use backend.rootHash after StateTrie is fixed
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xlc
xlc previously approved these changes Aug 21, 2025
@codecov
Copy link

codecov bot commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 13.57466% with 191 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.80%. Comparing base (af446d5) to head (b68771b).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...es/Fuzzing/FuzzGenerator/FuzzGeneratorTraces.swift 0.00% 115 Missing ⚠️
Fuzzing/Sources/Fuzzing/FuzzingClient.swift 0.00% 58 Missing ⚠️
Fuzzing/Sources/Fuzzing/FuzzingSocket.swift 0.00% 6 Missing ⚠️
Boka/Sources/Fuzz.swift 0.00% 4 Missing ⚠️
...es/Fuzzing/FuzzGenerator/FuzzGeneratorRandom.swift 0.00% 4 Missing ⚠️
Blockchain/Sources/Blockchain/State/State.swift 84.61% 2 Missing ⚠️
Fuzzing/Sources/Fuzzing/FuzzingTarget.swift 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #352      +/-   ##
==========================================
- Coverage   82.00%   81.80%   -0.21%     
==========================================
  Files         377      378       +1     
  Lines       33067    33237     +170     
==========================================
+ Hits        27118    27190      +72     
- Misses       5949     6047      +98     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@qiweiii qiweiii requested a review from xlc August 21, 2025 06:49
@xlc xlc disabled auto-merge August 21, 2025 07:33
@xlc xlc merged commit 5c82bba into master Aug 21, 2025
3 of 7 checks passed
@xlc xlc deleted the fuzz-0819 branch August 21, 2025 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants