-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Simulate transactions by default to set gas automatically #2047
Merged
Commits on Aug 24, 2018
-
Simulate transactions before actual execution
* Change --gas=0 semantic in order to enable gas auto estimate. * REST clients have been modified to simulate the execution of the tx first to then populate the context with the estimated gas amount returned by the simulation. * The simulation returns both an unadjusted gas estimate and an adjusted one. The adjustment is required to ensure that the ensuing execution doesn't fail due to state changes that might have occurred. Gas adjustment can be controlled via the CLI's --gas-adjustment flag. * Tiny refactorig of REST endpoints error handling. Closes: #1246
Configuration menu - View commit details
-
Copy full SHA for f432c0c - Browse repository at this point
Copy the full SHA f432c0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 323fac3 - Browse repository at this point
Copy the full SHA 323fac3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d55bd - Browse repository at this point
Copy the full SHA 47d55bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e959478 - Browse repository at this point
Copy the full SHA e959478View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e9ceb4 - Browse repository at this point
Copy the full SHA 7e9ceb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dea467 - Browse repository at this point
Copy the full SHA 2dea467View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb5fe99 - Browse repository at this point
Copy the full SHA fb5fe99View commit details -
Configuration menu - View commit details
-
Copy full SHA for f36f749 - Browse repository at this point
Copy the full SHA f36f749View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e8feec - Browse repository at this point
Copy the full SHA 7e8feecView commit details
Commits on Aug 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 76a16ab - Browse repository at this point
Copy the full SHA 76a16abView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.