risc0 / zeth

A "Type 0" zkEVM. Prove validity of Ethereum blocks using RISC Zero's zkVM
Apache License 2.0
381 stars 68 forks source link

chore: Refactor and fix lints #97

Open petarvujovic98 opened 9 months ago

petarvujovic98 commented 9 months ago

Refactor some format arg captures Refactor nested if statements into guard clauses Refactor if-else chains into match pattern

petarvujovic98 commented 7 months ago

I believe that it makes the statements more readable, that's pretty much the only reason behind them. Not sure if there is a way to check for this in CI, but I might be able to have a look at it if it's a requirement