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

Dev eth v1.10.22 #64

Merged
merged 108 commits into from
Nov 2, 2023
Merged
Changes from 1 commit
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
bd544f3
common/prque: fix typo
dbadoy Jun 30, 2022
d698ffa
eth/catalyst: disallow importing blocks via newPayload during snap sy…
karalabe Jul 1, 2022
8a8b11d
Replace fmt.Errorf with errors.New in abi argument (#25181)
aaronbuchwald Jul 4, 2022
0230cbd
all: change format `0x%x` to `%#x` (#25221)
dbadoy Jul 4, 2022
df15f70
consensus/beacon: copy td value so we can modify it (#25230)
MariusVanDerWijden Jul 4, 2022
ebf7092
core: allow external code to set the block validator for malicious te…
MariusVanDerWijden Jul 4, 2022
e521830
core: apply ttd override to uninitialized db (#25136)
MariusVanDerWijden Jul 4, 2022
27e6c30
signer/core/apitypes: support primitive types int96/uint96 (#25105)
spkjp Jul 4, 2022
1f4d550
cmd/geth, cmd/devp2p: fix some cli parsing issues (#25234)
fjl Jul 4, 2022
19f5f7c
core: allow external processor (#25233)
MariusVanDerWijden Jul 5, 2022
bc9a43a
consensus/beacon: verify timestamp is greater than parent timestamp (…
MariusVanDerWijden Jul 5, 2022
1e50ef5
internal/ethapi: add basefee to block overrides (#25219)
s1na Jul 5, 2022
a09c789
trie: fix typo in comment (#25241)
aaronbuchwald Jul 6, 2022
5d5e466
core/types: fix typo in comment (#25249)
dbadoy Jul 6, 2022
09f65bc
internal/ethapi: fix chain ID check to return all non-zero IDs (#25244)
lightclient Jul 7, 2022
56c5351
rpc: add graceful shutdown timeout for HTTP server (#25258)
windycrypto Jul 8, 2022
0d36230
p2p/discover: fix typos in comments (#25272)
dbadoy Jul 10, 2022
3460fa5
core, eth: pre-allocate map in storage copy (#25279)
dbadoy Jul 12, 2022
5630511
eth/tracers: add initial revertReasonTracer tracer (#25265)
fanbsb Jul 12, 2022
b471d42
params: enable DNS discovery on Sepolia too
karalabe Jul 12, 2022
668072e
internal/build: add a timestamp to the tar archive folder
karalabe Jul 12, 2022
b222b5d
accounts/abi: fix typo in comment (#25271)
eltociear Jul 14, 2022
73c2cae
accounts/abi/bind/backends: return hash of new blocks (#25163)
DragonDev1906 Jul 14, 2022
b90c634
Merge pull request #25096 from lightclient/remove-version-field
cp-wjhan Sep 25, 2023
734c819
internal/ethapi: error if tx args includes chain id that doesn't matc…
lightclient Jul 14, 2022
ad4485c
core: prevent negative fee during RPC calls (#25214)
PlasmaPower Jul 15, 2022
2c22e12
core, les, eth: port snap sync changes (#24898)
rjl493456442 Jul 15, 2022
c18797a
trie: fixed make lint error
cp-wjhan Sep 25, 2023
9e1cd09
tests: only activate merge on london rules (#25239)
MariusVanDerWijden Jul 15, 2022
0a31c0d
trie: fix 'gosimple' lint issue (#25309)
fjl Jul 15, 2022
fa0c972
p2p/discover: apply netrestrict in discv5 response handler (#25304)
hadv Jul 15, 2022
2f0dcff
cmd/geth: remove redundant 0x in dbGet/dbDelete (#25315)
gballet Jul 18, 2022
727d8cd
accounts/abi: substitude arg%d to the range keyword (#25307)
gballet Jul 19, 2022
f6bf601
params: Add Shanghai and Cancun blocks (#25305)
gballet Jul 19, 2022
54efc87
params: change Merge config to print simpler message
tqpcharlie Jul 21, 2022
3eff1c8
cmd/puppeth: remove support for exporting non-Geth genesis configurat…
jwasinger Jul 22, 2022
9ffa552
params: set goerli TTD to 10_790_000 (#25324)
MariusVanDerWijden Jul 22, 2022
30c0ace
signer/core: add canonical TypedData hashing methods (#25283)
nik-suri Jul 22, 2022
77d627f
deps: update goleveldb
cp-wjhan Sep 25, 2023
95a8cda
params: set sepolia mergeNetsplitBlock to 1735371 (#25372)
MariusVanDerWijden Jul 23, 2022
a195693
cmd/geth: eth/catalyst: enable authrpc by default (#25152)
MariusVanDerWijden Jul 23, 2022
058d284
eth/catalyst: better warning for ttd not configured (#25394)
MariusVanDerWijden Jul 25, 2022
c4d77a7
cmd: use flags.Merge for grouping flags (#25392)
rjl493456442 Jul 25, 2022
6abe049
consensus/beacon: fix typo in comment (#25391)
gballet Jul 25, 2022
b2fff71
p2p/netutil: minor code cosmetic
Abirdcfly Jul 25, 2022
99567e3
eth, internal, light: fix error string capitalization (#25364)
dbadoy Jul 25, 2022
3a48e2f
light: fix differTries err message in tests (#25358)
eval-exec Jul 25, 2022
67fad3e
eth/catalyst: fixed make lint error
cp-wjhan Sep 25, 2023
478d099
all: add whitespace linter (#25312)
jsvisa Jul 25, 2022
f78e870
eth/tracers/js: fix capitalization in tests
karalabe Jul 25, 2022
8111ed1
eth: support bubbling up bad blocks from sync to the engine API (#25190)
karalabe Jul 25, 2022
72e1f5f
core: eth: rpc: implement safe rpc block (#25165)
MariusVanDerWijden Jul 25, 2022
37d44b6
go.mod: downgrade leveldb (#25413)
cp-wjhan Sep 25, 2023
a5d9c2f
wemix/scripts: add authrpc option
cp-wjhan Oct 5, 2023
f896a96
core, trie, eth, cmd: rework preimage store (#25287)
rjl493456442 Jul 27, 2022
7385c06
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
karalabe Jul 28, 2022
65cb8df
node: set JWT expiry to 60 seconds (#25416)
MariusVanDerWijden Jul 28, 2022
702cb08
eth/catalyst: return syncing not accepted (#25414)
MariusVanDerWijden Jul 28, 2022
c2342e3
eth/catalyst: return 0x0 if latestvalid is pow block (#25423)
MariusVanDerWijden Jul 28, 2022
72c71ea
ethereum, ethclient: add FeeHistory support (#25403)
lightclient Jul 29, 2022
12c7774
all: use AbsTime.Add instead of conversion (#25417)
dbadoy Jul 29, 2022
9304051
cm/puppeth: fix crash when of ethstats specifier doesn't contain `:` …
jsvisa Jul 29, 2022
ffc23b0
eth: fix typo in comment (#25327)
rithwikbabu Jul 29, 2022
cd679b3
common/compiler: json unmarshalling error checks (#25449)
henry-0 Aug 1, 2022
61345a4
cmd, core, eth, les, params: add merge-passed chain config (#24538)
karalabe Aug 1, 2022
dba9ebc
eth: fix typo in catalyst api (#25460)
s1na Aug 1, 2022
df53219
eth/gasprice/feehistory: support finalized block (#25442)
lightclient Aug 1, 2022
e949d35
consensus/ethash: remove temp files created during DAG generation (#2…
manoj398 Aug 2, 2022
bef7de8
cmd/devp2p/internal/ethtest: update tests for eth/67 (#25306)
fjl Aug 2, 2022
ad018cc
node, rpc: add ReadHeaderTimeout config option (#25338)
Tristan-Wilson Aug 3, 2022
f4bc85e
core/types: fix typo in comment (#25359)
yzhaoyu Aug 3, 2022
499eecf
core: preallocate batch size in bloomIndexer (#25289)
dbadoy Aug 3, 2022
659b796
internal/ethapi: don't estimate gas if no limit provided in eth_creat…
lightclient Aug 3, 2022
46eddb2
graphql: embed *Resolver instead of backend interface (#25468)
fjl Aug 3, 2022
4e94d67
node: remove noop path.Join (#25475)
jsvisa Aug 4, 2022
ab66245
core, trie: rework trie committer (#25320)
rjl493456442 Aug 4, 2022
e7e8e27
core: use TryGetAccount to read what TryUpdateAccount has written (#2…
gballet Aug 4, 2022
09b627b
cmd, core, ethdb, node: move chain freezer one folder deeper (#25487)
rjl493456442 Aug 8, 2022
dd4914c
core/state/snapshot, ethdb/rocksdb: Fixed RocksDB Iterator error.
cp-wjhan Oct 19, 2023
ef96ba5
eth/downloader: fix log errors of queue_test.go (#25494)
int88 Aug 8, 2022
2df96d2
core: fix uncle creation in TestFastVsFullChains (#25476)
int88 Aug 8, 2022
3b749d7
eth: formatted error nit (#25499)
aaronbuchwald Aug 9, 2022
8172979
eth/tracers: add onlyTopCall option to callTracer (#25430)
s1na Aug 9, 2022
5ed07cc
all: cleanup the APIs for initializing genesis (#25473)
rjl493456442 Aug 9, 2022
e1f17a8
core: remove unused bc ChainContext in applyTransaction
Aug 10, 2022
847c7ff
signer/rules: register clef api properly when rules are used (#25455)
holiman Aug 10, 2022
1f60924
build: add static linking support (#25492)
0xe3b0c4 Aug 10, 2022
41513f3
accounts/abi: display name in "method/event not found" error (#25512)
darioush Aug 11, 2022
6c11e5a
internal/ethapi: rework setDefaults for tx args so fee logic is separ…
lightclient Aug 11, 2022
f23b62c
core/genesis: remove calaverasAllocData (#25516)
Aug 12, 2022
441ecd0
params: set ttdpassed on goerli (#25519)
holiman Aug 15, 2022
cc35e1e
params: set mainnet terminal total difficulty for the merge (#25528)
MariusVanDerWijden Aug 16, 2022
47bb911
core, trie: flush preimages to db on blockchain close (#25533)
gballet Aug 17, 2022
5d9295e
core/state, trie, light: add a TryDeleteAccount method (#25531)
gballet Aug 17, 2022
b96eeb3
core: make tx journal check and open atomic (#25530)
dbadoy Aug 17, 2022
5255691
cmd. core: save preimages on genesis creation (#25538)
gballet Aug 18, 2022
b8e0f39
rlp/rlpgen: fix error handling when target type not found (#25547)
jtraglia Aug 18, 2022
28d241b
trie: improve node rlp decoding performance (#25357)
rjl493456442 Aug 18, 2022
0e5d9fd
all: fix some typos (#25551)
jtraglia Aug 19, 2022
2f7cab6
internal/ethapi: fix comment typo (#25548)
ucwong Aug 19, 2022
2f45095
accounts/abi/bind/backends: typo fix (#25549)
ucwong Aug 19, 2022
17188a0
eth, les: unlock downloader peerSet if there's an error (#25546)
jtraglia Aug 19, 2022
797a104
cmd/geth: parse uint64 value with ParseUint instead of Atoi (#25545)
jtraglia Aug 19, 2022
93bfed8
consensus/beacon: check ttd reached on pos blocks (#25552)
MariusVanDerWijden Aug 19, 2022
dad79e6
eth/filters: add global block logs cache (#25459)
s1na Aug 19, 2022
e753ea4
accounts/abi: fix set function (#25477)
zhiqiangxu Aug 19, 2022
9703bda
internal/ethapi: fix build regression (#25555)
fjl Aug 19, 2022
ccc9a0a
eth/catalyst: warn less frequently if no beacon client is available (…
karalabe Aug 22, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
eth/catalyst: fix NewPayload warn log when dropping due to snap sync
karalabe authored and cp-wjhan committed Oct 6, 2023
commit 7385c067663813bcf201e96f0590dd99a8e06d37
12 changes: 11 additions & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
@@ -424,7 +424,17 @@ func (api *ConsensusAPI) delayPayloadImport(block *types.Block) (beacon.PayloadS
// payload as non-integratable on top of the existing sync. We'll just
// have to rely on the beacon client to forcefully update the head with
// a forkchoice update request.
log.Warn("Ignoring payload with missing parent", "number", block.NumberU64(), "hash", block.Hash(), "parent", block.ParentHash())
if api.eth.SyncMode() == downloader.FullSync {
// In full sync mode, failure to import a well-formed block can only mean
// that the parent state is missing and the syncer rejected extending the
// current cycle with the new payload.
log.Warn("Ignoring payload with missing parent", "number", block.NumberU64(), "hash", block.Hash(), "parent", block.ParentHash())
} else {
// In non-full sync mode (i.e. snap sync) all payloads are rejected until
// snap sync terminates as snap sync relies on direct database injections
// and cannot afford concurrent out-if-band modifications via imports.
log.Warn("Ignoring payload while snap syncing", "number", block.NumberU64(), "hash", block.Hash())
}
return beacon.PayloadStatusV1{Status: beacon.ACCEPTED}, nil
}