Martin Holst Swende
8541ddbd95
common/compiler, cmd/abigen: remove solc/vyper compiler integration
2022-05-23 17:57:02 +02:00
Martin Holst Swende
af02e97929
accounts/abi: validate fieldnames, fixes #24930 ( #24932 )
2022-05-23 17:35:46 +02:00
SHIVAM SHARMA
8c3423ca7c
Merge pull request #407 from maticnetwork/POS-374
...
Added logging for statesyncs data
2022-05-23 20:01:19 +05:30
rjl493456442
59ac229f87
core/state/snapshot: detect and clean up dangling storage snapshot in generation ( #24811 )
...
* core/state/snapshot: check dangling storages when generating snapshot
* core/state/snapshot: polish
* core/state/snapshot: wipe the last part of the dangling storages
* core/state/snapshot: fix and add tests
* core/state/snapshot: fix comment
* README: remove mentions of fast sync (#24656 )
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
* core, cmd: expose dangling storage detector for wider usage
* core/state/snapshot: rename variable
* core, ethdb: use global iterators for snapshot generation
* core/state/snapshot: polish
* cmd, core/state/snapshot: polish
* core/state/snapshot: polish
* Update core/state/snapshot/generate.go
Co-authored-by: Martin Holst Swende <martin@swende.se>
* ethdb: extend db test suite and fix memorydb iterator
* ethdb/dbtest: rollback changes
* ethdb/memorydb: simplify iteration
* core/state/snapshot: update dangling counter
* core/state/snapshot: release iterators
* core/state/snapshot: update metrics
* core/state/snapshot: update time metrics
* metrics/influxdb: temp solution to present counter meaningfully, remove it
* add debug log, revert later
* core/state/snapshot: fix iterator panic
* all: customized snapshot iterator for backward iteration
* core, ethdb: polish
* core/state/snapshot: remove debug log
* core/state/snapshot: address comments from peter
* core/state/snapshot: reopen the iterator at the next position
* ethdb, core/state/snapshot: address comment from peter
* core/state/snapshot: reopen exhausted iterators
Co-authored-by: Tbnoapi <63448616+nuoomnoy02@users.noreply.github.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-05-23 13:26:22 +03:00
Manav Darji
2323f2c96e
fix: modify build eth fn definition for account unlock handling ( #412 )
2022-05-23 15:27:35 +05:30
Manav Darji
1b53044055
internal/cli/server, eth: add option to disable personal wallet endpoints ( #394 )
...
* initial disable-bor-wallet implementation
* fixes and enhancements
* update docs using clidoc
* fixes in clique auth
2022-05-23 14:06:51 +05:30
Felix Lange
2b0d0ce8b0
build/bot: create .ssh directory in ppa-build.sh ( #24922 )
2022-05-20 17:25:17 +02:00
Felix Lange
d4faff965f
build/bot: avoid install of python-bzrlib, python-paramiko in PPA build ( #24921 )
2022-05-20 17:19:22 +02:00
Felix Lange
adcad1cd39
build/bot: add ppa-build.sh ( #24919 )
2022-05-20 16:46:38 +02:00
Felix Lange
04b6c56375
build/bot: remove xctool invocation in macos build script ( #24918 )
2022-05-20 15:52:22 +02:00
Felix Lange
8cab5e171c
build/bot: add mac build script ( #24917 )
2022-05-20 15:03:15 +02:00
Shivam Sharma
59337a7a07
Minor Fix
2022-05-20 17:32:49 +05:30
Shivam Sharma
20d99d94df
Adding individual gasUsed
2022-05-20 15:57:08 +05:30
Péter Szilágyi
7aced8114f
Merge pull request #24915 from karalabe/catalyst-custom-errors
...
core, eth, les, rpc: polish catalyst errors, add context
2022-05-20 12:50:56 +03:00
Péter Szilágyi
34bda5eae3
core, eth, les, rpc: polish catalyst errors, add context
2022-05-20 12:15:54 +03:00
Shivam Sharma
b88353c27d
Minor Fix
2022-05-20 14:20:59 +05:30
Marius van der Wijden
4a4d531052
eth/catalyst: update implementation to spec ( #24802 )
...
* eth/catalyst: return invalid payload attributes error
* eth/catalyst: implement LVH as specified, add tests
* eth/catalyst: return current block hash not header hash
* eth/catalyst: fix test
* eth/catalyst: bring error codes in line with spec
2022-05-20 11:12:12 +03:00
Shivam Sharma
dba374026f
Minor Changes
2022-05-20 12:32:37 +05:30
Shivam Sharma
8b8395870c
Added number of event-records in log
2022-05-20 12:31:41 +05:30
Shivam Sharma
c8f8465edb
Added logging for state-sync total gas usage
2022-05-20 12:31:21 +05:30
Ferran
e01a0f2619
Limit state sync by gas
2022-05-20 12:31:06 +05:30
Eduard S
310f751639
eth/tracers/js: add memory.length method ( #24887 )
2022-05-19 14:35:30 +02:00
Evgeny Danienko
01117acbcc
fmt
2022-05-19 14:41:49 +03:00
Evgeny Danienko
89fadee71e
dont panic
2022-05-19 14:38:49 +03:00
Evgeny Danienko
d4938065c1
fix test
2022-05-19 14:15:35 +03:00
Péter Szilágyi
a35a5cad22
Merge pull request #24908 from zhaochonghe/master
...
core: fix the order of address in queue
2022-05-19 11:27:29 +03:00
Martin Holst Swende
59e0f1ee00
tests: update reference tests ( #24899 )
...
* tests: update reference tests
* tests: fix flaw in state test execution
* f
2022-05-19 11:00:45 +03:00
zhaochonghe
2bfd9a28d1
core: fix the order of address in queue ( #24907 )
...
reverse the order of address in queue
2022-05-19 15:25:22 +08:00
Evgeny Danienko
fb46dd8cdf
minor fixes
2022-05-19 10:23:34 +03:00
Péter Szilágyi
7bcbbbf836
Merge pull request #24905 from holiman/fix_has
...
ethdb/remotedb: fix flawed check in Has/HasAncient
2022-05-19 08:25:34 +03:00
Martin Holst Swende
2f4996a9b2
ethdb/remotedb: fix flawed check in Has/HasAncient
2022-05-18 20:02:05 +02:00
Jerry
cd1a8990ae
Merge pull request #403 from cffls/v0.3.0-dev
...
Implement and enable 'unlock' flag
2022-05-18 09:43:51 -07:00
Péter Szilágyi
5c5ef6f16e
Merge pull request #24901 from karalabe/fix-linter
...
params: fix broken linter
2022-05-18 18:00:28 +03:00
Péter Szilágyi
975dee2593
params: fix broken linter
2022-05-18 17:58:59 +03:00
Afr Schoe
21a3a21bf9
params: update goerli bootnodes ( #24900 )
...
* params: update goerli bootnodes
* params: use ip for enodes
2022-05-18 17:48:08 +03:00
Sina Mahmoodi
bf693228a3
eth/tracers/js: goja tracer ( #23773 )
...
This adds a JS tracer runtime environment based on the Goja VM. The new
runtime replaces the duktape runtime, which will be removed soon.
Goja is implemented in Go and is faster for cases where the Go <-> JS
transition overhead dominates overall performance. It is faster because
duktape is written in C, and the transition cost includes the cost of using
cgo. Another reason for using Goja is that go-duktape is not maintained
anymore.
We expect the performace of JS tracing to be at least as good or better with
this change.
2022-05-18 16:34:18 +02:00
Marius van der Wijden
cc9fb8e21d
eth/catalyst, miner: build the execution payload async ( #24866 )
...
* eth/catalyst: build the execution payload async
* miner: added comment, added test case
* eth/catalyst: miner: move async block production to miner
* eth/catalyst, miner: support generate seal block async
* miner: rework GetSealingBlockAsync to use a passed channel
* miner: apply rjl's diff
* eth/catalyst: nitpicks
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
2022-05-18 17:33:37 +03:00
Marius van der Wijden
e6fa102eb0
core, eth, internal, rpc: implement final block ( #24282 )
...
* eth: core: implement finalized block
* eth/catalyst: fix final block
* eth/catalyst: update finalized head gauge
* internal/jsre/deps: updated web3.js to allow for finalized block
* eth/catalyst: make sure only one thread can call fcu
* eth/catalyst: nitpicks
* eth/catalyst: use plain mutex
* eth: nitpicks
2022-05-18 17:30:42 +03:00
Martin Holst Swende
57192bd0dc
ethdb/remotedb, cmd: add support for remote (readonly) databases ( #24836 )
...
* ethdb/remotedb, cmd: add support for remote (readonly) databases
* ethdb/remotedb: minor changes
* ethdb/remotedb: close the conn
* cmd, ethdb: add rpc accessor for ancient data
* internal/ethapi: license
* ethdb/remotedb: linter fixes
2022-05-18 17:27:17 +03:00
Evgeny Danienko
b1b0c0e2fb
test ErrCheckpointMismatch
2022-05-18 17:21:51 +03:00
Jerry
c02e2cbb93
Rename whitelist to requiredblocks
2022-05-17 17:08:41 -07:00
Evgeny Danienko
2930d04428
misspell
2022-05-17 19:28:08 +03:00
Evgeny Danienko
3aaf6bc13e
cherry-pick from Jerry's Chen branch
2022-05-17 19:25:59 +03:00
Evgeny Danienko
af2b5e06b0
wip
2022-05-17 19:24:16 +03:00
Evgeny Danienko
3dd7f59531
more tests
2022-05-17 19:23:57 +03:00
Håvard Anda Estensen
4b309c7006
all: replace non-trivial uses of package ioutil with os ( #24886 )
...
Co-authored-by: Martin Holst Swende <martin@swende.se>
2022-05-17 14:27:04 +02:00
Håvard Anda Estensen
e644d45c14
all: use strings.EqualFold for string comparison ( #24890 )
2022-05-17 13:56:52 +02:00
Martin Holst Swende
e0a9752b96
cmd/geth: add db check-state-content to verify integrity of trie nodes ( #24840 )
...
This PR adds db tooling (geth db check-state-content) to verify the integrity of trie nodes. It iterates through the 32-byte key space in the database, which is expected to contain RLP-encoded trie nodes, addressed by hash.
2022-05-17 13:01:46 +02:00
Marius van der Wijden
381c66caf0
eth/catalyst: set the correct LatestValidHash ( #24855 )
...
* eth/catalyst: set the correct LatestValidHash
* eth/catalyst: core: return LVH during reorg, rework invalid teminal block
* eth/catalyst: nitpicks
2022-05-17 12:32:55 +03:00
Sina Mahmoodi
29a6b6bcac
graphql: add raw fields to block and tx ( #24816 )
2022-05-17 11:31:17 +03:00