I was trying to calculate the cost of a message call (CALL, DELEGATECALL, CALLCODE) following the yellow paper but I've not been able to fully understand it.

enter image description here

It seems that Ccallgas is an isolated formula not linked to the Ccall formula. My guess is that there is an error and the Ccall formula should be:

Ccall = Ccallgas + Cextra instead of Ccall = Cgascap + Cextra

Am I right? I don't understand either the meaning of gascap

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.