Skip to content

Add code-existence check, compressed event logger, slot fetcher, G009 rule - #675

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
devwums:feat/issues-657-658-659-660
Jul 28, 2026
Merged

Add code-existence check, compressed event logger, slot fetcher, G009 rule#675
mijinummi merged 1 commit into
MDTechLabs:mainfrom
devwums:feat/issues-657-658-659-660

Conversation

@devwums

@devwums devwums commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Adds small, focused starter implementations for four assigned issues:

  • CodeCheckLib.isContract: raw extcodesize check via inline Yul, avoiding high-level .code.length overhead.
  • CompressedLogger: packs timestamp/categoryId/amount into one bytes32 word (user stays an indexed topic for filtering).
  • StorageSlotFetcher.fetchSlots: batches arbitrary storage-slot reads into one dynamic array via a Yul sload loop.
  • detect_redundant_sstore (Rule G009): starter text-scan detector flagging state variables assigned more than once in a function body; full CFG-based tracking is a natural follow-up.

These are intentionally small starter implementations; dedicated test suites (per the issues' test/... scope) can follow in subsequent PRs.

Closes #660
Closes #659
Closes #658
Closes #657

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@devwums Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mijinummi
mijinummi merged commit 742cd37 into MDTechLabs:main Jul 28, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants