Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accounts/abi/bind, eth: rely on getCode for sanity checks, not estimate and call #2589

Merged
merged 1 commit into from
May 20, 2016

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented May 20, 2016

A while ago we've added a semantic modification to estimateGas to return an error message if no contract was available to call. Turned out that people were using estimate gas for plain transfers too, which broke. Given that estimate gas should just plain estimate whatever it's given, this PR reverts that change, and instead moves contract code checking into the native dapp backends.

Fixes #2577

@robotally
Copy link

robotally commented May 20, 2016

Vote Count Reviewers
👍 0
👎 0

Updated: Fri May 20 13:13:34 UTC 2016

@bas-vk
Copy link
Member

bas-vk commented May 20, 2016

Have not tried it but code looks 👍

@karalabe karalabe added this to the 1.4.5 milestone May 20, 2016
@obscuren obscuren merged commit 847aaff into ethereum:develop May 20, 2016
@obscuren obscuren removed the review label May 20, 2016
@obscuren
Copy link
Contributor

👍

maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants