we can see that in the code, the amount is passed by setting msg.value. It is well known that transferring funds incurs thousands of gas costs. Why not pack the amount using shr(uint32) + offset(uint8) into calldata? This would require less than one thousand gas costs.
we can see that in the code, the amount is passed by setting msg.value. It is well known that transferring funds incurs thousands of gas costs. Why not pack the amount using shr(uint32) + offset(uint8) into calldata? This would require less than one thousand gas costs.