Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ct): add checks for unused imports #12348

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

smartcontracts
Copy link
Contributor

A few things in this commit:

  • Adds a new check for unused imports in contracts
  • Cleans up contracts based on that check
  • Removes several files that aren't being used anymore

@smartcontracts smartcontracts requested a review from a team as a code owner October 6, 2024 02:17
Copy link

codecov bot commented Oct 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.91%. Comparing base (e165a7e) to head (393688d).
Report is 9 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #12348      +/-   ##
===========================================
- Coverage    64.10%   63.91%   -0.19%     
===========================================
  Files           52       52              
  Lines         4312     4312              
===========================================
- Hits          2764     2756       -8     
- Misses        1374     1383       +9     
+ Partials       174      173       -1     
Flag Coverage Δ
cannon-go-tests 63.91% <ø> (-0.19%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

A few things in this commit:
- Adds a new check for unused imports in contracts
- Cleans up contracts based on that check
- Removes several files that aren't being used anymore
@tynes
Copy link
Contributor

tynes commented Oct 7, 2024

This will wreck some of #12356. We should be explicit around merge plan to reduce conflicts

@smartcontracts smartcontracts added this pull request to the merge queue Oct 7, 2024
Merged via the queue into develop with commit fb8ac6b Oct 7, 2024
64 checks passed
@smartcontracts smartcontracts deleted the sc/check-unused-imports branch October 7, 2024 21:23
samlaf pushed a commit to samlaf/optimism that referenced this pull request Nov 10, 2024
A few things in this commit:
- Adds a new check for unused imports in contracts
- Cleans up contracts based on that check
- Removes several files that aren't being used anymore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants