Marius van der Wijden
7217ef4c9c
consensus/beacon: verify timestamp is greater than parent timestamp ( #25236 )
2022-07-05 10:05:10 +03:00
Marius van der Wijden
87bb5db675
core: allow external processor ( #25233 )
2022-07-05 10:02:49 +03:00
0xfade
90d00963b0
fix eth call panic with txtrace ( #33 )
...
* fix eth call panic with txtrace
* fix slice copy
Co-authored-by: Zhang Guyu <zhangguyu6@gmail.com>
2022-07-05 09:38:35 +08:00
Felix Lange
f6ac80c507
cmd/geth, cmd/devp2p: fix some cli parsing issues ( #25234 )
...
* cmd/geth: add some missing argument count checks
* internal/flags: skip cmds with no action func in MigrateGlobalFlags
* internal/flags: add Merge
* cmd/devp2p: re-add listener config flags in discv4 commands
2022-07-04 19:52:19 +02:00
スパイク
55f914a1d7
signer/core/apitypes: support primitive types int96/uint96 ( #25105 )
...
I have a EIP712 typehash using uint96, but it's currently not supported
by go-ethereum. This change fixes it.
2022-07-04 15:01:07 +02:00
Marius van der Wijden
5f6e870ee6
core: apply ttd override to uninitialized db ( #25136 )
...
* core: apply ttd override to genesis block
* core: apply overrides properly
2022-07-04 12:25:17 +03:00
Marius van der Wijden
e537193421
core: allow external code to set the block validator for malicious tests ( #25119 )
...
* core: don't validate state
* core: allow external validator
* core: revert
* core: comments
* Update blockchain_reader.go
* core: move SetValidator to blockchain.go
* core: rename method
2022-07-04 12:24:06 +03:00
Marius van der Wijden
62470eeaf8
consensus/beacon: copy td value so we can modify it ( #25230 )
...
* consensus/beacon: copy td value so we can modify it
* consensus/beacon: copy td value so we can modify it
2022-07-04 11:54:15 +03:00
Seungbae.yu
2697e44d81
all: change format 0x%x to %#x ( #25221 )
2022-07-04 11:03:32 +03:00
Brion
7cdb63ee31
Merge pull request #32 from DeBankDeFi/discard-ancient
...
implemented online ancient db pruning
2022-07-04 15:55:21 +08:00
aaronbuchwald
953a29f5fd
Replace fmt.Errorf with errors.New in abi argument ( #25181 )
...
Replace unnecessary fmt.Errorf with errors.New in accounts/abi/argument.go
2022-07-04 09:21:00 +02:00
Péter Szilágyi
de1cecb22e
eth/catalyst: disallow importing blocks via newPayload during snap sync ( #25210 )
...
* eth/catalyst: disallow importing blocks via newPayload during snap sync
* eth/catalyst: make tests pass by using full sync only
* eth/catalysts: make the import delay a bit cleaner
* eth/catalyst: fix typo
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2022-07-01 14:38:26 +03:00
user
46e99e460b
add flag for controlling whether blocks should be pruned during undexing transactions
2022-07-01 12:27:06 +08:00
user
0a0a8733ab
fix grammer error raised by golint-ci
2022-07-01 11:19:26 +08:00
user
a6e42641a2
skip the ancient check when prunning turned on
2022-07-01 10:58:04 +08:00
0xfade
3efb9afc5d
Merge pull request #31 from DeBankDeFi/tx_trace
...
🎉 impl oe style `trace_transaction` api
2022-07-01 10:03:55 +08:00
user
815f402a56
refine the implementation
2022-07-01 09:28:57 +08:00
user
d46ea0ebf7
remove unneeded code
2022-06-30 22:57:15 +08:00
user
978827202f
refine the implementation
2022-06-30 22:54:13 +08:00
user
81157fc4a8
temprorarily stash the implementation
2022-06-30 17:05:44 +08:00
Péter Szilágyi
692bfd1bf8
Merge pull request #25206 from dbadoy/master
...
common/prque: fix typo
2022-06-30 09:23:34 +03:00
Seungbae.yu
a1cb7282b0
common/prque: fix typo
2022-06-30 13:24:04 +09:00
user
65992dd82c
support discarding ancient totally
2022-06-30 11:50:19 +08:00
Felix Lange
5e252282c0
params: begin v1.10.21 release cycle
2022-06-30 00:30:39 +02:00
Felix Lange
8f2416a89a
params: go-ethereum v1.10.20 stable
2022-06-30 00:27:43 +02:00
Felix Lange
75ebeb7fe0
build/deb: fix auto-completion install paths ( #25204 )
2022-06-29 23:19:30 +02:00
Felix Lange
63b2d49b5b
build: upgrade to golangci-lint v1.46.2 ( #25202 )
...
This upgrade is required to fix lint issues with urfave/cli/v2, which
uses generics when built with Go 1.18
2022-06-29 20:49:04 +02:00
willian.eth
ea0bf08547
build: fix auto-completion scripts and include them in .deb package ( #25195 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-29 19:41:39 +02:00
Marius van der Wijden
d12b1a91cd
consensus/beacon: check that only the latest pow block is valid ttd block ( #25187 )
...
* consensus/beacon: check that only the latest pow block is valid ttd block
* consensus/beacon: move verification to async function
* consensus/beacon: fix verifyTerminalPoWBlock, add test cases
* consensus/beacon: cosmetic changes
* consensus/beacon: apply karalabe's fixes
2022-06-29 15:13:19 +03:00
Seungbae.yu
c2070f8d15
common: increase StorageSize test coverage ( #25188 )
2022-06-29 12:13:00 +02:00
lightclient
3e693e1ef6
internal/ethapi: return chain id for EIP-155 legacy txs ( #25155 )
2022-06-29 11:58:59 +02:00
Andre Patta
9ecf8a97a9
cmd/utils: fix applying bootstrap nodes from config file ( #25174 )
2022-06-29 11:57:12 +02:00
aaronbuchwald
300f6121ad
core/rawdb: simplify TestDiskSeek to use memorydb ( #25182 )
2022-06-29 11:54:42 +02:00
Ruohui Wang
3f712e7447
core/rawdb: fix typo in comment ( #25191 )
2022-06-29 11:47:33 +02:00
Guillaume Ballet
d1890aa402
fix: linter warning ( #25192 )
2022-06-29 10:54:57 +02:00
zeim839
9a5c1000c7
cmd/geth, p2p: add support for custom discovery UDP port ( #24979 )
...
This adds a new flag to set the discovery port to be different from
the TCP listener port.
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-28 17:25:47 +02:00
Marius van der Wijden
1438e7c324
params: set TTD for sepolia testnet ( #25179 )
2022-06-28 14:48:13 +02:00
barryz
7895734fa0
add trace_trasnaction api
2022-06-28 15:26:47 +08:00
barryz
7dd5de08bb
persist tx trace result to db while processing blks
2022-06-28 15:26:11 +08:00
barryz
ab6a1c2ddb
add tx-trace store and CLI flags
2022-06-28 15:26:11 +08:00
barryz
531833ce20
commit testdata
2022-06-28 15:26:11 +08:00
XD
816adeb683
Merge pull request #30 from DeBankDeFi/ancient-db-prunning
...
Initial implement of the ancient db prunning
2022-06-28 10:36:31 +08:00
cifer76
86cd551061
only start pruning after bloom indexer catches up
2022-06-28 01:29:40 +08:00
willian.eth
52ed3570c4
cmd: migrate to urfave/cli/v2 ( #24751 )
...
This change updates our urfave/cli dependency to the v2 branch of the library.
There are some Go API changes in cli v2:
- Flag values can now be accessed using the methods ctx.Bool,
ctx.Int, ctx.String, ... regardless of whether the flag is 'local' or
'global'.
- v2 has built-in support for flag categories. Our home-grown category
system is removed and the categories of flags are assigned as part of
the flag definition.
For users, there is only one observable difference with cli v2: flags must now
strictly appear before regular arguments. For example, the following command is
now invalid:
geth account import mykey.json --password file.txt
Instead, the command must be invoked as follows:
geth account import --password file.txt mykey.json
2022-06-27 18:22:36 +02:00
lightclient@protonmail.com
0c6f81f888
all: remove version field from rpc.API
2022-06-27 12:39:46 +02:00
lightclient
119f955686
all: remove public field from rpc.API ( #25059 )
...
all: remove public field from rpc.API
2022-06-27 13:33:13 +03:00
lightclient
c7f485d9e5
internal/ethapi: add note about eth_chainId compatibility with EIP-695 ( #25168 )
...
Co-authored-by: Felix Lange <fjl@twurst.com>
2022-06-25 21:34:21 +02:00
lightclient
647c6f2db6
internal/ethapi: always return chain id ( #25166 )
...
The error was introduced in PR #21686 , but there is no good reason to enforce sync
in this method, and it causes issues with EL/CL integration.
2022-06-24 18:03:13 +02:00
int88
e620fa3980
eth: fix typo ( #25161 )
2022-06-24 15:28:01 +03:00
cifer76
e1f09e47f1
fix typo
2022-06-24 14:47:59 +08:00