Show target file first in multi-file verification #1283
Labels
C-forge
Command: forge
Cmd-forge-verify
Command: forge verify-contract/check
D-average
Difficulty: average
P-normal
Priority: normal
T-feature
Type: feature
Component
Forge
Describe the feature you would like
After successfully verifying a multi-file contract, the target file should be listed first and if possible the remaining file should be listed in decreasing relevance
Additional context
After successfully verifying a multi-file contract, the target file should be listed first. Currently it looks as if foundry lists the files alphabetically (see this recent verification on master)
for files 2-n, not sure how they do it but based on my very limited experience hh seemed to do a good job of some kind of reverse relevance sorting (see older verification w hh)
debated whether to label this as a bug or feature, but feature ultimately felt more appropriate
The text was updated successfully, but these errors were encountered: