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

Bugfix/estimate caller balance #19

Closed
wants to merge 2,414 commits into from
Closed

Conversation

AusIV
Copy link

@AusIV AusIV commented Oct 3, 2020

No description provided.

BurtonQin and others added 30 commits May 1, 2020 13:48
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]>
* 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]>
AusIV and others added 28 commits July 24, 2020 10:26
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
@AusIV
Copy link
Author

AusIV commented Oct 3, 2020

Wrong target branch

@AusIV AusIV closed this Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.