Problem: gas_limit and after_gas check potentially underflow
Problem: gas_limit and after_gas check potentially underflow

Solution: calculate all_gas_cost first

ethereumproject/sputnikvm,ethereumproject/sputnikvm,sorpaas/sputnikvm