code-423n4 / 2023-03-zksync-findings

6 stars 1 forks source link

QA Report #99

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

See the markdown file with the details of this report here.

GalloDaSballo commented 1 year ago

[N-01] legacy transactions is not correct, it should be EIP2930 transactions

NC

[N-02] require() should be used instead of assert()

R

[N-03] Require messages are too short and unclear

NC

[N-04] Duplicated require() checks should be refactored to a modifier :

R

[N-05] Adding a return statement when the function defines a named return variable, is redundant

R

[N-06] Typo ^0.8;

NC (as don't use floating pragma)

[N-07] Include return parameters in NatSpec comments

NC

[N-08] Use underscores for number literals

NC

GalloDaSballo commented 1 year ago

3R 4NC

c4-judge commented 1 year ago

GalloDaSballo marked the issue as grade-c