Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Fix/gas account not zero #487

Merged
merged 9 commits into from Sep 26, 2019
Merged

Fix/gas account not zero #487

merged 9 commits into from Sep 26, 2019

Conversation

nicholasjpaterno
Copy link
Contributor

Move gas estimation to BN
Handles the case where: The child message of a nonzero-value CALL operation gains an additional 2300 gas on top of the gas supplied by the calling account; this stipend can be considered to be paid out of the 9000 mandatory additional fee for nonzero-value calls.

Resolves #486

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 82.256% when pulling b2d808d on fix/gas-account-not-zero into 710bea1 on develop.

@coveralls
Copy link

coveralls commented Sep 24, 2019

Coverage Status

Coverage increased (+0.009%) to 82.248% when pulling 5b9f2f3 on fix/gas-account-not-zero into 710bea1 on develop.

@davidmurdoch davidmurdoch merged commit ca16291 into develop Sep 26, 2019
@nicholasjpaterno nicholasjpaterno deleted the fix/gas-account-not-zero branch September 26, 2019 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

eth_estimateGas returns too low value when value is passed to a CALL
3 participants