Telegram (ask questions / claim the issue here first): https://t.me/+DOylgFv1jyJlNzM0
Why this matters
fuzz/fuzz_targets/fuzz_target_1.rs is the default empty libfuzzer stub (// fuzzed code goes here). fuzz/fuzz_targets/lending_pool_fuzz.rs asserts assert_eq!(balance, amount) and balance_before - amount == balance_after, which encode the pre-share-model 1:1 deposit semantics; under the current LP-share model in lending_pool/src/lib.rs, get_deposit returns asset value of shares and withdraw takes a share count, so these invariants are stale.
Acceptance criteria
Files to touch
- fuzz/fuzz_targets/fuzz_target_1.rs
- fuzz/fuzz_targets/lending_pool_fuzz.rs
- lending_pool/src/lib.rs
Out of scope
- Adding a corpus or CI fuzz scheduling
- Multi-contract differential fuzzing
Why this matters
fuzz/fuzz_targets/fuzz_target_1.rs is the default empty libfuzzer stub (// fuzzed code goes here). fuzz/fuzz_targets/lending_pool_fuzz.rs asserts assert_eq!(balance, amount) and balance_before - amount == balance_after, which encode the pre-share-model 1:1 deposit semantics; under the current LP-share model in lending_pool/src/lib.rs, get_deposit returns asset value of shares and withdraw takes a share count, so these invariants are stale.
Acceptance criteria
Files to touch
Out of scope