forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bugfix/estimate caller balance #19
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This fixes an issue with clef, which already transforms the signature to use the legacy 27/28 encoding. Fixes ethereum#20994
* accounts/abi: removed Kind from Type struct * accounts/abi: removed unused code
…eanup tests: cleanup snapshot generator goroutine leak
…tor-release core/state/snapshot: release iterator after verification
* rpc flags related to starting http server renamed to http * old rpc flags aliased and still functional * pprof flags fixed * renames gpo related flags * linted * renamed rpc flags for consistency and clarity * added warn logs * added more warn logs for all deprecated flags for consistency * moves legacy flags to separate file, hides older flags under show-deprecated-flags command * legacy prefix and moved some more legacy flags to legacy file * fixed circular import * added docs * fixed imports lint error * added notes about when flags were deprecated * cmd/utils: group flags by deprecation date + reorder by date, * modified deprecated comments for consistency, added warn log for --rpc * making sure deprecated flags are still functional * show-deprecated-flags command cleaned up * fixed lint errors * corrected merge conflict * IsSet --> GlobalIsSet * uncategorized flags, if not deprecated, displayed under misc Co-authored-by: Martin Holst Swende <[email protected]>
tests: skip consensus test using 1GB RAM
* accounts/abi: added getType func to Type struct * accounts/abi: fixed tuple unpack * accounts/abi: removed type.Type * accounts/abi: added comment * accounts/abi: removed unused types * accounts/abi: removed superfluous declarations * accounts/abi: typo
cmd/geth: handle memfixes on 32bit arch with large RAM
…ne-eth64 eth: skip transaction announcer goroutine on eth<65
…21025) * eth: don't reassign more cache than is being made available * eth: don't inadvertently enable snapshot in a case where --snapshot wasn't given
core/state/snapshot: don't create storage list for non-existing accounts
* accounts/abi/bind: add void if no return args specified Currently the java generator generates invalid input on pure/view functions that have no return type. e.g. `function f(uint u) view public {}` This is not a problem in practice as people rarely ever write functions like this. * accounts/abi/bind: use elseif instead of nested if
…1038) * Include 0x0000 address into the dump if it is present * core/state: go fmt Co-authored-by: Alexey Akhunov <[email protected]>
This finally adds the error check that the documentation of StateDB.dbErr promises to do. dbErr was added in 9e5f03b (June 2017), and the check was already missing in that commit. We somehow survived without it for three years.
* core/state: more verbose stateb errors * core/state: fix flaw * core/state: fixed lint Co-authored-by: Marius van der Wijden <[email protected]>
cmd/geth: Add back if handling for mining flags
Using the freezer to init the database was fine when we were using a local ancients database, but is very slow with the s3 freezer. This refactors to pull those records across from the old database rather than reconstructing them from blocks.
The snapshotting process tends to take place on systems with less RAM, so warming the address file into RAM can cause problems. In 1.9.12 we didn't do this, because the warming process started later. Our snapshotting logic requires the backend to be started during initialization, but we don't really benefit from the warming process.
For estimateGasList, we're adding a parameter to get within 1% of the correct value and return the high - That's good enough for most use cases, and saves several iterations of the estimator. Passing "true" as an additional parameter to estimateGasList will run it in precise mode.
ethdb/cdc, replica: Allocate partitions equal to available brokers
Wrong target branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.