Rules Wishlist
See original GitHub issueThis is my wishlist for additional rules. Let me know if you are against any of them getting implemented in the core. I will work on some of them but anything else is up for grabs.
- Suggest
send
instead of dangerouscall.value()
(WIP @federicobond) - Suggest avoiding
block.timestamp
as it can be manipulated by miners (only in functions) (WIP @federicobond) - Ensure any function that uses
msg.value
has payable modifier (WIP @federicobond) -
Ensure fallback function has payable modifier (WIP @federicobond) - Ensure
send
return value is checked. - Extract magic number to constant
- Suggest using
selfdestruct
instead of deprecatedsuicide
(WIP @federicobond) - Suggest better storage packing (see Warning here)
- Find duplicate code (this one is hard, perhaps we can write a generic implementation and then integrate it into solium)
Issue Analytics
- State:
- Created 7 years ago
- Comments:16 (13 by maintainers)
Top Results From Across the Web
The Amazon Wish List – Everything You Need To Know
Another purpose of the wish list is that it acts as a form of a gift registry. When you create a list and...
Read more >Terms & Conditions - Wishlist
Gift Cards are not redeemable for cash unless required by law. Unauthorized or unlawful reproduction, resale, modification, or trade of Gift ...
Read more >Minimalism Rule: How to use Wishlist Strategy - YouTube
Support my channel: https://www.patreon.com/ckspace Instagram: https://www.instagram.com/chengkiiit/ Minimalism video: 5 Reasons Why I am ...
Read more >Wishlists (Steamworks Documentation)
Players can add your game to their wishlist on Steam to keep track of games they are interested in. When your game releases...
Read more >Secret Santa Gift Exchange Rules - Giftster
I don't really know what I want for Christmas” response. Give your family a few ideas of things they could include on their...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
returns
should actuallyreturn
for each code path, and should return the correct typereturns
should not have anyreturn
statement@mushketyk you’re not overthinking. There are several rules which are on pause because of this problem of Solium only being file-aware instead of project-aware, ie, at any given time, a rule only has context of 1 file whereas it should have context of the entire project so any external elements can also be considered. This problem is well documented in #83
Let’s keep this rule on hold for now, because making solium project-aware is a major design change so it will take time. I’ll work on it in near future.