matter-labs / zksync

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

Limited Error Handling #571

Open ManiiiHz opened 4 months ago

ManiiiHz commented 4 months ago

There's limited error handling in the contract. For example, when transferring funds to the bootloader, if the transfer fails, there's a require statement, but no specific error message is provided, making it harder to debug in case of failures. the route is: core/tests/ts-integration/contracts/paymaster-nonce/Paymaster.sol