matter-labs / zksync

zkSync: trustless scaling and privacy engine for Ethereum
https://zksync.io
Apache License 2.0
4.88k stars 2.68k forks source link

Unused Modifier #570

Open taaaahaa opened 7 months ago

taaaahaa commented 7 months ago

The onlyBootloader modifier is defined but not used in any of the contract's functions. If it's not intended to be used, it should be removed to avoid unnecessary complexity. mentioned:core/tests/ts-integration/contracts/paymaster-nonce/Paymaster.sol