Skip to content

Commit

Permalink
Add -bytespersigop config to package fuzz target
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Sep 11, 2023
1 parent ad63201 commit 3654ad4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/fuzz/package_eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ void SetMempoolConstraints(ArgsManager& args, FuzzedDataProvider& fuzzed_data_pr
ToString(fuzzed_data_provider.ConsumeIntegralInRange<unsigned>(0, 200)));
args.ForceSetArg("-mempoolexpiry",
ToString(fuzzed_data_provider.ConsumeIntegralInRange<unsigned>(0, 999)));
args.ForceSetArg("-bytespersigop",
ToString(fuzzed_data_provider.ConsumeIntegralInRange<unsigned>(1, 999)));
}

void Finish(FuzzedDataProvider& fuzzed_data_provider, MockedTxPool& tx_pool, Chainstate& chainstate)
Expand Down

0 comments on commit 3654ad4

Please sign in to comment.