First think , I don't think so weth contract address is going to change , even it changes and we call this function, but we should take our balance from old address to new one.
Case 1 : We change the weth: address but we didn't move our balance from the old address , so first we have to move our balance to new contract then allow to change the address.
Case 2: If we just change the address without transfer the balance, function like `executeERC20SwapAndFee:SmartVaultV3 get effected the it will not work as expected.
It will make system unavailable and maybe fail few transitions, waste gas fee.
Manual Review
when call function also call transfer function from ERC20 and move balance from old contract to new one, with one transactions.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.