crytic / crytic/echidna

Feature Request: Cache fetched source code during on-chain fuzzing for reuse in subsequent runs

Open
#1,555 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
3.2k
Forks
432
Avg merge
1d 20h
Merged PRs (30d)
5

Description

### Describe the desired feature

```
Fetching source for 0x14716C982Fd8b7F1E8F0c4dbb496dCe438a29D93 from Sourcify... Success!
```

This now happens after every run, which is a lot when debugging. It would be great if we can cache this.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Sourcify source-fetch path and the lifecycle of on-chain fuzzing runs. Implement reuse of fetched source data across subsequent runs so the same address is not fetched every time, then verify the behavior by repeating a run that previously triggered the fetch.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
performance, security, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.