This PR adds fuzz coverage for wallet/spend
.
Motivation: Issue 27272
This PR adds Fuzz coverage to the whole concept of Creating a New Transaction as well as other sections of the Spend file. Because CreateTransaction
is one of the most frequently used functions in the wallet codebase, merging this PR will significantly improve the wallet codebase’s Fuzz testing!
I also used the Singleton Class
concept for creating Wallet instances because it assures that only one instance of it is created during all Fuzz runs, which significantly boosts the file’s exec/sec
.