Solidity has access to the remaining gas via
msg.gas which changes from line to line. But I would like to know if I can access the initially submitted gasLimit. Is that possible in Solidity?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.Sign up to join this community