Ethereum validators set a withdrawal address to automatically receive their staking rewards. These rewards are distributed gas free at the protocol level through a process called "validator sweeping."
What happens if instead of setting an EOA address as the withdrawal address, a user inputs a smart contract address that contains a fallback function?
- Would the fallback function fail?
- If the fallback function is able to be executed, is the gas costs of the function also covered at the protocol level for free by the "sweep?"
- Is the cost debited from the withdrawn ETH?