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

Consume gasRefund From Potential ethereumjs-vm Addition #80

Closed
wants to merge 1 commit into from
Closed

Consume gasRefund From Potential ethereumjs-vm Addition #80

wants to merge 1 commit into from

Conversation

mikeseese
Copy link
Contributor

This fixes case 1 in #26, but will require the merging of PR ethereumjs/ethereumjs-monorepo#284 before fixed.

This PR adds the gasRefund to the estimated gas call. This can be merged prior to ethereumjs/ethereumjs-monorepo#284 being merged, but may be fruitless to do so until ethereumjs/ethereumjs-monorepo#284 is merged to maintain cohesion and ensuring the problem does end up fixing #26.

More discussion can be found on #26 and ethereumjs/ethereumjs-monorepo#283

@benjamincburns
Copy link
Contributor

I'm not sure whether it is correct to account for the gas refund in eth_estimateGas. See ethereum/interfaces#8 for (unresolved) discussion on the ambiguity of this RPC method.

@benjamincburns
Copy link
Contributor

Calling this one blocked for now for similar reasons to #75.

@mikeseese
Copy link
Contributor Author

Being closed in favor of #141

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants