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

Fallback Function #592

Open nimagaret2 opened 4 months ago

nimagaret2 commented 4 months ago

Consider adding a fallback function ( fallback() external payable ) to handle Ether sent to the contract without a specified function call. This ensures that any Ether sent to the contract unintentionally is handled appropriately. The mentioned route is: core/tests/ts-integration/contracts/context/context.sol