- May 07, 2020
-
-
Martin Holst Swende authored
This finally adds the error check that the documentation of StateDB.dbErr promises to do. dbErr was added in 9e5f03b6 (June 2017), and the check was already missing in that commit. We somehow survived without it for three years.
-
Martin Holst Swende authored
* Include 0x0000 address into the dump if it is present * core/state: go fmt Co-authored-by:
Alexey Akhunov <akhounov@gmail.com>
-
Marius van der Wijden authored
* 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
-
Gary Rong authored
-
- May 06, 2020
-
-
Péter Szilágyi authored
core/state/snapshot: don't create storage list for non-existing accounts
-
Péter Szilágyi authored
-
Boqin Qin authored
-
Guillaume Ballet authored
-
Gary Rong authored
-
ploui authored
* 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
-
Péter Szilágyi authored
eth: skip transaction announcer goroutine on eth<65
-
Péter Szilágyi authored
cmd/geth: handle memfixes on 32bit arch with large RAM
-
Péter Szilágyi authored
-
- May 05, 2020
-
-
Marius van der Wijden authored
* 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
-
Péter Szilágyi authored
tests: skip consensus test using 1GB RAM
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
Péter Szilágyi authored
-
rene authored
* 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 <martin@swende.se>
-
- May 04, 2020
-
-
Péter Szilágyi authored
core/state/snapshot: release iterator after verification
-
Péter Szilágyi authored
-
Péter Szilágyi authored
tests: cleanup snapshot generator goroutine leak
-
Marius van der Wijden authored
-
Marius van der Wijden authored
* accounts/abi: removed Kind from Type struct * accounts/abi: removed unused code
-
Péter Szilágyi authored
-
- May 01, 2020
-
-
Martin Holst Swende authored
This fixes an issue with clef, which already transforms the signature to use the legacy 27/28 encoding. Fixes #20994
-
Boqin Qin authored
-
Felix Lange authored
-
- Apr 30, 2020
-
-
Martin Holst Swende authored
-
Gary Rong authored
-
Péter Szilágyi authored
core/state/snapshot: fix journal nil deserialziation
-
- Apr 29, 2020
-
-
Péter Szilágyi authored
-
Gary Rong authored
* core/state/snapshot: implement storage iterator * core/state/snapshot, tests: implement helper function * core/state/snapshot: fix storage issue If an account is deleted in the tx_1 but recreated in the tx_2, the it can happen that in this diff layer, both destructedSet and storageData records this account. In this case, the storage iterator should be able to iterate the slots belong to new account but disable further iteration in deeper layers(belong to old account) * core/state/snapshot: address peter and martin's comment * core/state: address comments * core/state/snapshot: fix test
-
- Apr 28, 2020
-
-
ucwong authored
-
Martin Holst Swende authored
* signer: properly handle terminal escape characters * log: use strconv conversion instead of custom escape function * log: remove relection tests for nil
-
ucwong authored
-
Steven E. Harris authored
-
ucwong authored
golang-lru is now a go module, and the upgrade corrects a couple of minor issues. In particular, the library could crash if you inserted nil into an LRU cache.
-
Felix Lange authored
This is a resubmit of #20668 which rewrites the problematic test without any additional goroutines. It also documents the test better. The purpose of this test is checking whether log events are sent correctly when importing blocks. The test was written at a time when blockchain events were delivered asynchronously, making the check hard to pull off. Now that core.BlockChain delivers events synchronously during the call to InsertChain, the test can be simplified. Co-authored-by:
BurtonQin <bobbqqin@gmail.com>
-
- Apr 27, 2020
-
-
Julian Y authored
This corrects the call to eth_getBlockByNumber, which previously returned this error: can't get latest block: missing value for required argument 1 Co-authored-by:
Felix Lange <fjl@twurst.com>
-