- Jun 28, 2021
-
-
Zsolt Felföldi authored
* eth/gasprice: implement feeHistory API * eth/gasprice: factored out resolveBlockRange * eth/gasprice: add sanity check for missing block * eth/gasprice: fetch actual gas used from receipts * miner, eth/gasprice: add PendingBlockAndReceipts * internal/ethapi: use hexutil.Big * eth/gasprice: return error when requesting beyond head block * eth/gasprice: fixed tests and return errors correctly * eth/gasprice: rename receiver name * eth/gasprice: return directly if blockCount == 0 Co-authored-by:
rjl493456442 <garyrong0905@gmail.com>
-
- Jun 25, 2021
-
-
piersy authored
Previously, the test waited a second and then failed if geth had not started. This caused the test to fail intermittently. This change checks whether the IPC is open 10 times over a 5 second period and then fails if geth is still not available.
-
- Jun 09, 2021
-
-
Martin Holst Swende authored
-
- Jun 08, 2021
-
-
Péter Szilágyi authored
* all: rename internal 1559 gas fields, add support for graphql * cmd/evm/testdata, core: use public 1559 gas names on API surfaces
-
- Jun 07, 2021
-
-
Martin Holst Swende authored
This updates the tests submodule to the London fork tests, and also updates the test runner to support the new EIP-1559 fields in test JSON.
-
- Jun 03, 2021
-
-
Martin Holst Swende authored
-
- May 31, 2021
-
-
Martin Holst Swende authored
* cmd/geth, core, params: replace baikal with calaveras * params: fix genesis hash for Calaveras Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- May 27, 2021
-
-
Felix Lange authored
-
Marius van der Wijden authored
-
rene authored
-
Martin Holst Swende authored
* cmd/utils: avoid 1Gb alloc in --dev mode * cmd/geth: avoid 512Mb alloc in genesis query tests
-
- May 25, 2021
-
-
rene authored
This PR refactors the eth test suite to make it more readable and easier to use. Some notable differences: - A new file helpers.go stores all of the methods used between both eth66 and eth65 and below tests, as well as methods shared among many test functions. - suite.go now contains all of the test functions for both eth65 tests and eth66 tests. - The utesting.T object doesn't get passed through to other helper methods, but is instead only used within the scope of the test function, whereas helper methods return errors, so only the test function itself can fatal out in the case of an error. - The full test suite now only takes 13.5 seconds to run.
-
- May 18, 2021
-
-
lightclient authored
-
- May 17, 2021
-
-
Martin Holst Swende authored
This is the initial implementation of EIP-1559 in packages core/types and core. Mining, RPC, etc. will be added in subsequent commits. Co-authored-by:
Marius van der Wijden <m.vanderwijden@live.de> Co-authored-by:
lightclient@protonmail.com <lightclient@protonmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
lightclient authored
* cmd/evm: return json error if unmarshalling from stdin fails * cmd/evm: make error capitalizations uniform (all lowercase starts) * cmd/evm: capitalize error sent directly to stderror
-
- May 12, 2021
-
-
Martin Holst Swende authored
* cmd/geth, eth, core: snapshot dump + unify with trie dump * cmd/evm: dump API fixes * cmd/geth, core, eth: fix some remaining errors * cmd/evm: dump - add limit, support address startkey, address review concerns * cmd, core/state, eth: minor polishes, fix snap dump crash, unify format Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- May 11, 2021
-
-
Ryan Schneider authored
This adds a cmd line parameter `--gpo.ignoreprice`, to make the gas price oracle ignore transactions below the given threshold.
-
- May 10, 2021
-
-
Ceelog authored
'geth monitor' subcommand is no longer supported.
-
- May 06, 2021
-
-
Martin Holst Swende authored
* all: define London+baikal, undefine yolov3, add london override flag * cmd, core, params: add baikal genesis definition
-
- May 05, 2021
-
-
rene authored
This changes the SimultaneousRequests test to send the requests from the same connection, as it doesn't really make sense to test whether a node can respond to two requests with different request IDs from separate connections.
-
- May 04, 2021
-
-
Felix Lange authored
This removes auto-configuration of the snap.*.ethdisco.net DNS discovery tree. Since measurements have shown that > 75% of nodes in all.*.ethdisco.net support snap, we have decided to retire the dedicated index for snap and just use the eth tree instead. The dial iterators of eth and snap now use the same DNS tree in the default configuration, so both iterators should use the same DNS discovery client instance. This ensures that the record cache and rate limit are shared. Records will not be requested multiple times. While testing the change, I noticed that duplicate DNS requests do happen even when the client instance is shared. This is because the two iterators request the tree root, link tree root, and first levels of the tree in lockstep. To avoid this problem, the change also adds a singleflight.Group instance in the client. When one iterator attempts to resolve an entry which is already being resolved, the singleflight object waits for the existing resolve call to finish and returns the entry to both places.
-
- May 03, 2021
-
-
Marius van der Wijden authored
-
- Apr 30, 2021
-
-
rene authored
This PR fixes a couple of issues in the eth test suite that caused flakiness when run in the CI.
-
- Apr 28, 2021
-
-
rene authored
-
Martin Holst Swende authored
-
- Apr 27, 2021
-
-
lightclient authored
-
- Apr 23, 2021
- Apr 19, 2021
-
-
Felix Lange authored
-
Felix Lange authored
The new -limit option makes the filter operate on top N nodes by score. This also adds ENR attribute stats in the nodeset info command. Node set commands are now documented in README.
-
- Apr 16, 2021
-
-
Guillaume Ballet authored
This change adds the --catalyst flag, enabling an RPC API for eth2 integration. In this initial version, catalyst mode also disables all peer-to-peer networking. Co-authored-by:
Mikhail Kalinin <noblesse.knight@gmail.com> Co-authored-by:
Felix Lange <fjl@twurst.com>
-
- Apr 15, 2021
-
-
Péter Szilágyi authored
* all: add thousandths separators for big numbers on log messages * p2p/sentry: drop accidental file * common, log: add fast number formatter * common, eth/protocols/snap: simplifty fancy num types * log: handle nil big ints
-
- Apr 14, 2021
-
-
Gary Rong authored
* eth/protocols: persist received state segments * core: initial implementation * core/state/snapshot: add tests * core, eth: updates * eth/protocols/snapshot: count flat state size * core/state: add metrics * core/state/snapshot: skip unnecessary deletion * core/state/snapshot: rename * core/state/snapshot: use the global batch * core/state/snapshot: add logs and fix wiping * core/state/snapshot: fix * core/state/snapshot: save generation progress even if the batch is empty * core/state/snapshot: fixes * core/state/snapshot: fix initial account range length * core/state/snapshot: fix initial account range * eth/protocols/snap: store flat states during the healing * eth/protocols/snap: print logs * core/state/snapshot: refactor (#4) * core/state/snapshot: refactor * core/state/snapshot: tiny fix and polish Co-authored-by:
rjl493456442 <garyrong0905@gmail.com> * core, eth: fixes * core, eth: fix healing writer * core, trie, eth: fix paths * eth/protocols/snap: fix encoding * eth, core: add debug log * core/state/generate: release iterator asap (#5) core/state/snapshot: less copy core/state/snapshot: revert split loop core/state/snapshot: handle storage becoming empty, improve test robustness core/state: test modified codehash core/state/snapshot: polish * core/state/snapshot: optimize stats counter * core, eth: add metric * core/state/snapshot: update comments * core/state/snapshot: improve tests * core/state/snapshot: replace secure trie with standard trie * core/state/snapshot: wrap return as the struct * core/state/snapshot: skip wiping correct states * core/state/snapshot: updates * core/state/snapshot: fixes * core/state/snapshot: fix panic due to reference flaw in closure * core/state/snapshot: fix errors in state generation logic + fix log output * core/state/snapshot: remove an error case * core/state/snapshot: fix condition-check for exhausted snap state * core/state/snapshot: use stackTrie for small tries * core/state/snapshot: don't resolve small storage tries in vain * core/state/snapshot: properly clean up storage of deleted accounts * core/state/snapshot: avoid RLP-encoding in some cases + minor nitpicks * core/state/snapshot: fix error (+testcase) * core/state/snapshot: clean up tests a bit * core/state/snapshot: work in progress on better tests * core/state/snapshot: polish code * core/state/snapshot: fix trie iteration abortion trigger * core/state/snapshot: fixes flaws * core/state/snapshot: remove panic * core/state/snapshot: fix abort * core/state/snapshot: more tests (plus failing testcase) * core/state/snapshot: more testcases + fix for failing test * core/state/snapshot: testcase for malformed data * core/state/snapshot: some test nitpicks * core/state/snapshot: improvements to logging * core/state/snapshot: testcase to demo error in abortion * core/state/snapshot: fix abortion * cmd/geth: make verify-state report the root * trie: fix failing test * core/state/snapshot: add timer metrics * core/state/snapshot: fix metrics * core/state/snapshot: udpate tests * eth/protocols/snap: write snapshot account even if code or state is needed * core/state/snapshot: fix diskmore check * core/state/snapshot: review fixes * core/state/snapshot: improve error message * cmd/geth: rename 'error' to 'err' in logs * core/state/snapshot: fix some review concerns * core/state/snapshot, eth/protocols/snap: clear snapshot marker when starting/resuming snap sync * core: add error log * core/state/snapshot: use proper timers for metrics collection * core/state/snapshot: address some review concerns * eth/protocols/snap: improved log message * eth/protocols/snap: fix heal logs to condense infos * core/state/snapshot: wait for generator termination before restarting * core/state/snapshot: revert timers to counters to track total time Co-authored-by:
Martin Holst Swende <martin@swende.se> Co-authored-by:
Péter Szilágyi <peterke@gmail.com>
-
- Apr 13, 2021
-
-
Mudit Gupta authored
Co-authored-by:
Felix Lange <fjl@twurst.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-
Martin Holst Swende authored
This PR makes it easier to inspect the freezer index, which could be useful to investigate things like #22111
-
- Apr 06, 2021
-
-
Peter Simard authored
Move the cache sanity check to the SetEthConfig function to allow the config file to load.
-
- Mar 30, 2021
-
-
Martin Holst Swende authored
Adds the command "geth db dumptrie <root> <seek> <max>", to better help investigate the trie data
-
- Mar 29, 2021
-
-
Marius van der Wijden authored
-
- Mar 26, 2021
-
-
Felix Lange authored
This upgrades the cloudflare client dependency to v0.14.0. The new version changes the API because all methods now require a context parameter. This change also reduces the log level of the 'Skipping...' message to debug, following a similar change in the AWS deployer.
-
Felix Lange authored
The PR implements the --miner.notify.full flag that enables full pending block notifications. When this flag is used, the block notifications sent to mining endpoints contain the complete block header JSON instead of a work package array. Co-authored-by:
AlexSSD7 <alexandersadovskyi7@protonmail.com> Co-authored-by:
Martin Holst Swende <martin@swende.se>
-