EIPs icon indicating copy to clipboard operation
EIPs copied to clipboard

eip-4750: note the gas cost of callf and retf

Open lightclient opened this issue 3 years ago • 1 comments
trafficstars

The EIP currently doesn't specify the gas cost of CALLF and RETF. Per the evmon implementation, I've set them both to 8 gas.

lightclient avatar Nov 07 '22 13:11 lightclient

All tests passed; auto-merging...

(pass) eip-4750.md

classification
updateEIP
  • passed!

eth-bot avatar Nov 07 '22 13:11 eth-bot

Since this is soon to be implemented, I'd suggest author / contributor to provide gas cost choice plus rationale in the same PR or make it a placeholder signaling gas cost choice was arbitrary and it's pending future change, in chase clients start to implement it

You can find the reasoning on the EOFv1 checklist. It will be added later.

To be honest, most EIPs don't provide a strong reasoning. I appreciate your comment, but you make it seem like we make up numbers randomly, which is definitely not the case.

axic avatar Dec 01 '22 13:12 axic

Appreciate the response.

IMHO: Gas Cost choice affects economy and thus I think from a editorial standpoint, if gas cost is chosen, EIP should document why. Such documentation, or a placeholder of "there will be a documentation", preferably live in the EIP itself, if the principle is for a EIP should be sufficiently self-contained for important decision and rationale. If lack time at this moment, putting just a "TODO: add gas cost rationale or update gas cost later" will be ok too

Just my two cents 🙏

xinbenlv avatar Dec 01 '22 13:12 xinbenlv