Turing Consulting pfp
Turing Consulting

@turingconsulting

As we can see, the previous snippet will check if the storageId parameter is different from the valid Storage IDs and revert in case none of them is valid. However, this can be performed in a more efficient way if we consider the fact that enums are actually uint8 types👀
1 reply
0 recast
1 reaction