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

Upstream merge from go-ethereum/v1.11.6 #901

Merged
merged 1,271 commits into from
Aug 1, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
1271 commits
Select commit Hold shift + click to select a range
da3c974
ethdb/pebble: fix nil callbacks (#26650)
karalabe Feb 9, 2023
3086c25
eth/downloader: fix timeout resurrection panic (#26652)
karalabe Feb 9, 2023
22c3ad1
core/state, trie: remove unused error-return from trie Commit operati…
holiman Feb 9, 2023
77380b9
go.mod: update pebble to latest master (#26654)
karalabe Feb 9, 2023
b0cd8c4
core/vm: set tracer-observable `value` of a delegatecall to match par…
ziogaschr Feb 10, 2023
0ea65d4
ethdb: add benchmark test suite (#26659)
rjl493456442 Feb 10, 2023
241cf62
params: schedule shanghai fork on sepolia (#26662)
MariusVanDerWijden Feb 10, 2023
2def62b
eth/filters: avoid block body retrieval when no matching logs (#25199)
s1na Feb 13, 2023
7d29fff
eth/tracers: more fork overrides in traceBlockToFile (#26655)
darioush Feb 13, 2023
03585ed
tests/fuzzers: supply gnark multiexp config, fixes #26669 (#26670)
holiman Feb 13, 2023
1c5fa40
cmd/devp2p: reduce output of node crawler (#26674)
holiman Feb 14, 2023
f44ebc4
params: update mainnet + rinkeby CHT (#26677)
holiman Feb 14, 2023
ff38c9e
eth/filters: replace atomic pointer with value (#26689)
s1na Feb 14, 2023
101587b
p2p/dnsdisc: fix tests with Go 1.20 (#26690)
fjl Feb 14, 2023
dbd6c13
eth/catalyst: return error if withdrawals are nil post-shanghai (#26691)
MariusVanDerWijden Feb 14, 2023
5967a22
ethdb/pebble: Fix `MemTableStopWritesThreshold` (#26692)
patrick-ogrady Feb 15, 2023
7fb42e6
eth/downloader: handle missing withdrawals if empty list is expected …
MariusVanDerWijden Feb 15, 2023
18b641b
params: go-ethereum v1.11.0 stable
holiman Feb 15, 2023
194b5c9
params: begin v1.11.1 release cycle
holiman Feb 15, 2023
5ccc99b
travis, build: update Go to 1.20.1 (#26653)
karalabe Feb 16, 2023
08bf8a6
core: check genesis state presence by disk read (#26703)
rjl493456442 Feb 16, 2023
645e3e8
core, eth/downloader: make body validation more strict (#26704)
holiman Feb 16, 2023
13d7de7
eth/downloader: fix empty-body case in queue fetchresult (#26707)
holiman Feb 16, 2023
e9d4249
eth/downloader: fix typo (#26716)
ucwong Feb 16, 2023
4d35256
all: remove deprecated uses of math.rand (#26710)
holiman Feb 16, 2023
7696106
params: go-ethereum v1.11.1 stable
holiman Feb 16, 2023
b40c109
params: begin v1.11.2 release cycle
holiman Feb 16, 2023
6428663
eth/catalyst: send INVALID instead of INVALID_BLOCK_HASH (#26696)
MariusVanDerWijden Feb 17, 2023
a0d63bc
ci: disable coverage reporting in appveyor and travis
holiman Feb 17, 2023
15e5e61
eth/catalyst: request too large error (#26722)
rkrasiuk Feb 17, 2023
7c749c9
core/trie: remove trie tracer (#26665)
holiman Feb 19, 2023
1db978c
rpc: fix unmarshaling of null result in CallContext (#26723)
fjl Feb 19, 2023
2166c86
build: ship bootstrapper Go along with builder for PPA (#26731)
karalabe Feb 20, 2023
e1e2781
build: fix setting env var, temp early exit
karalabe Feb 20, 2023
4ec4235
build: fix gobootstrap path for the PPA
karalabe Feb 20, 2023
a43efce
build: add some PPA debug logs, sigh
karalabe Feb 20, 2023
1652684
internal/build: revert raising the chunk size for PPA
karalabe Feb 20, 2023
c02334b
build: yet another weird PPA fix
karalabe Feb 20, 2023
4519054
build: fix (finaly?) the PPA env vars for Go bootstrapping
karalabe Feb 20, 2023
41dee26
build: fix Go 1.19.0 bootstrapper issues on 386 PPA
karalabe Feb 20, 2023
ba4267f
build: enable Lunar Lobster PPA builds
karalabe Feb 20, 2023
13ef21d
Revert "core/trie: remove trie tracer (#26665)" (#26732)
rjl493456442 Feb 20, 2023
7d4db69
cmd/geth: clarify dumpconfig options (#26729)
swkim101 Feb 21, 2023
90d2551
core, eth: merge snap-sync chain download progress logs (#26676)
karalabe Feb 21, 2023
6d2d126
core: fix accessor mismatch for genesis state (#26747)
holiman Feb 21, 2023
2f20fd3
core/rawdb: expose chain freezer constructor without internals (#26748)
karalabe Feb 21, 2023
fe01a2f
all: use unified emptyRootHash and emptyCodeHash (#26718)
rjl493456442 Feb 21, 2023
4034c67
eth/filters: fix a breaking change and return rpctransaction (#26757)
yierx Feb 22, 2023
f86f048
common/math: allow HexOrDecimal to accept unquoted decimals too (#26758)
karalabe Feb 22, 2023
73b01f4
params: release Geth v1.11.2
karalabe Feb 22, 2023
f6a7cc6
params: begin v.1.11.3 release cycle
karalabe Feb 22, 2023
a36c68f
log: improve documentation (#26753)
naterarmstrong Feb 22, 2023
09a9ccd
core/rawdb, node: use standalone flock dependency (#26633)
holiman Feb 23, 2023
b3ae073
eth: use the last announced finalized block as the sync ancient limit…
karalabe Feb 23, 2023
ee530c0
Merge pull request #26721 from holiman/nocover
karalabe Feb 23, 2023
c155c8e
cmd/devp2p: faster crawling + less verbose dns updates (#26697)
holiman Feb 27, 2023
2ad150d
eth/tracers: add native flatCallTracer (aka parity style tracer) (#26…
ziogaschr Feb 28, 2023
2ea48f8
core: improve withdrawal index assignment in GenerateChain (#26756)
Rjected Feb 28, 2023
98b0ea6
ethdb/pebble: fix range compaction (#26771)
rjl493456442 Feb 28, 2023
2bb622c
ethdb/pebble: fix max memorytable size (#26776)
rjl493456442 Feb 28, 2023
e1b98f4
ethclient: include withdrawals in ethclient block responses (#26778)
peterbitfly Feb 28, 2023
cd31f2d
all: change chain head markers from block to header (#26777)
karalabe Mar 2, 2023
19f74fa
core/rawdb, ethdb/pebble: disable pebble on openbsd (#26801)
karalabe Mar 3, 2023
0101895
core: fix a merge fault (#26802)
karalabe Mar 3, 2023
403cac7
README, go.mod, event, internal/version: bump min Go to 1.19 (#26803)
karalabe Mar 3, 2023
27e5982
travi: remove strange leftover Go version
karalabe Mar 3, 2023
d865a5d
core, params: schedule Shanghai on goerli (#26795)
MariusVanDerWijden Mar 6, 2023
4c23fe9
eth: remove admin.peers[i].eth.head and difficulty (#26804)
karalabe Mar 6, 2023
8718614
core/types: add EffectiveGasPrice in Receipt (#26713)
fjl Mar 6, 2023
5bc2ef9
core, eth/catalyst: fix race conditions in tests (#26790)
MariusVanDerWijden Mar 6, 2023
544e4a7
metrics: improve accuracy of CPU gauges (#26793)
turboboost55 Mar 6, 2023
4688d3c
ethclient: fix panic when requesting missing blocks (#26817)
fjl Mar 7, 2023
77e33e5
core, miner: revert block gas counter in case of invalid transaction …
rjl493456442 Mar 7, 2023
39be753
internal/ethapi: add tests for transaction types JSON marshal/unmarsh…
ajsutton Mar 7, 2023
cb1f6bd
cmd/evm: correct `alloc` for `t8n` testdata (#26822)
gurukamath Mar 7, 2023
41af42e
eth/tracers/native: set created address to nil in case of failure (#2…
s1na Mar 7, 2023
1e3177d
accounts/usbwallet: mitigate ledger app chunking issue (#26773)
prestwich Mar 7, 2023
78429f7
beacon/engine: don't omit empty withdrawals in ExecutionPayloadBodies…
MariusVanDerWijden Mar 7, 2023
a54d91a
build: update to go 1.20.2 (#26824)
fjl Mar 7, 2023
5ed08c4
params: go-ethereum v1.11.3 stable
fjl Mar 7, 2023
bb4ac2d
params: begin v1.11.4 release cycle
fjl Mar 7, 2023
f7661a6
core/rawdb: find smallest block stored in key-value store when chain …
rjl493456442 Mar 8, 2023
02796f6
signer/core: accept all solidity primitive types for EIP-712 signing …
daferna Mar 8, 2023
e14043d
params: remove EF azure bootnodes (#26828)
skylenet Mar 8, 2023
b80f05b
core/vm: use golang native big.Int (#26834)
holiman Mar 8, 2023
1bf1168
core/vm: fix typo in comment (#26838)
JBossBC Mar 9, 2023
5395362
core/forkid: fix issue in validation test (#26544)
fjl Mar 9, 2023
08f6a2a
cmd/evm: update readmes for the tests (#26841)
holiman Mar 9, 2023
67ac5f0
core, core/types: plain Message struct (#25977)
roberto-bayardo Mar 9, 2023
df02799
travis: only build PPAs nightly, not on every push, too heavy (#26846)
karalabe Mar 9, 2023
051493d
p2p: small comment typo (#26850)
panicalways Mar 10, 2023
564db9a
core: add Timestamp method in BlockGen (#26844)
fjl Mar 10, 2023
6cf2e92
core/txpool: implement additional DoS defenses (#26648)
MariusVanDerWijden Mar 10, 2023
7e3b149
params: go-ethereum v1.11.4 stable
fjl Mar 10, 2023
4930614
params: begin v1.11.5 release cycle
fjl Mar 10, 2023
789de23
tests: define `MuirGlacier` fork (#26856)
gurukamath Mar 10, 2023
ca61048
code/vm: fix comment typo (#26865)
JBossBC Mar 13, 2023
a20e387
core: minor code refactor (#26852)
s7v7nislands Mar 13, 2023
d1c5f91
core/txpool: use priceList.Put instead of heap.Push (#26863)
ucwong Mar 13, 2023
5f81db6
eth: return error if 'safe' or 'finalized' tag used pre-merge (#26862)
lightclient Mar 13, 2023
94ff721
.travis.yml: reenable PPA build on tag push (#26873)
fjl Mar 13, 2023
c8a6b71
core/state, trie: port changes from PBSS (#26763)
rjl493456442 Mar 14, 2023
eca3d39
p2p/discover: pass invalid discv5 packets to Unhandled channel (#26699)
holiman Mar 14, 2023
b5c9be3
all: update links in documentation (#26882)
ssflynn77 Mar 14, 2023
6bc68f8
Increase websocket frame size (from erigon rpc client) (#26883)
jotto Mar 14, 2023
f86913b
cmd/devp2p, cmd/geth: add version in --help output (#26895)
fjl Mar 15, 2023
bba2a1b
core: show db error-info in case of mismatched hash root (#26870)
rjl493456442 Mar 16, 2023
48d1bf0
consensus: improve consensus engine definition (#26871)
rjl493456442 Mar 16, 2023
d8066dc
eth/catalyst: increase update consensus timeout (#26840)
MariusVanDerWijden Mar 16, 2023
f733657
internal/ethapi: avoid int overflow in GetTransactionReceipt (#26911)
darioush Mar 16, 2023
b7bfbc1
trie, accounts/abi: add error-checks (#26914)
darioush Mar 17, 2023
58d0f64
rlp: support for uint256 (#26898)
holiman Mar 17, 2023
ee8e83f
eth: fix output file permissions in admin_exportChain (#26912)
darioush Mar 17, 2023
81b0aa0
trie: reduce unit test time (#26918)
MariusVanDerWijden Mar 20, 2023
80ff0b4
core/txpool: use atomic int added in go1.19 (#26913)
s7v7nislands Mar 20, 2023
5d23d21
params: schedule shanghai fork on mainnet (#26908)
MariusVanDerWijden Mar 20, 2023
e6b6a8b
core/txpool: allow future local transactions (#26930)
MariusVanDerWijden Mar 20, 2023
a38f410
params: go-ethereum v1.11.5 stable
holiman Mar 21, 2023
7ecb578
params: begin v1.11.6 release cycle
holiman Mar 21, 2023
2ed8013
build: allow building nightly archives via cron jobs (#26938)
karalabe Mar 21, 2023
8a9a73c
log: add special casing of uint256 into the logger (#26936)
karalabe Mar 21, 2023
905a723
core/rawdb: use atomic int added in go1.19 (#26935)
s7v7nislands Mar 21, 2023
b3f43c8
core/vm: expose jumptable constructors (#26880)
holiman Mar 21, 2023
20f8eb7
eth/catalyst: fix races (#26950)
MariusVanDerWijden Mar 22, 2023
7f3fc15
core/rawdb: update freezertable read meter (#26946)
jsvisa Mar 23, 2023
37ecff0
cmd/evm, tests: record preimages if dump is expected (#26955)
lightclient Mar 23, 2023
8990c92
core/state: add account address to Trie slot accessors (#26934)
gballet Mar 23, 2023
7dc1007
metrics: add cpu counters (#26796)
turboboost55 Mar 23, 2023
f6c3a53
metrics/influxdb: use smaller dependency and reuse code between v1 an…
holiman Mar 23, 2023
b1acaf4
eth/gasprice: change feehistory input type from int to uint64 (#26922)
aaronbuchwald Mar 23, 2023
0137bd6
go.mod: update golang.org/x/tools (#26960)
holiman Mar 24, 2023
792d893
rlp/rlpgen: print want/expect output string if mismatch (#26932)
ucwong Mar 24, 2023
df383ad
ethclient: ensure returned subscription is nil on error (#26976)
norwnd Mar 25, 2023
41f89ca
core/state, trie: remove Try prefix in Trie accessors (#26975)
gballet Mar 27, 2023
117530b
metrics/librato: ensure resp.body closed (#26969)
jsvisa Mar 27, 2023
881fed0
core/vm: use atomic.Bool (#26951)
s7v7nislands Mar 27, 2023
79532a2
core/bloombits: use atomic type (#26993)
s7v7nislands Mar 28, 2023
fb8a3aa
core/state: use atomic.Bool (#26992)
s7v7nislands Mar 28, 2023
a236e03
graphql: fix data races (#26965)
s1na Mar 28, 2023
fd94b4f
eth/tracers/native: prevent panic for LOG edge-cases (#26848)
jwasinger Mar 28, 2023
56c1f98
internal/debug: add log.logfmt flag to set logging to use logfmt (#26…
ajsutton Mar 28, 2023
7ca4f60
docs: update outdated DeriveSha docs comment (#26968)
davidmurdoch Mar 28, 2023
a03490c
remove @gballet as a GraphQL codeowner (#27012)
gballet Mar 30, 2023
949cee2
core: use atomic type (#27011)
s7v7nislands Mar 30, 2023
62fb7d3
graphql: revert storage access regression (#27007)
s1na Mar 30, 2023
2d14928
cmd/geth: Add `--log.format` cli param (#27001)
ajsutton Mar 30, 2023
50317bd
ethdb/pebble: use atomic type (#27014)
s7v7nislands Mar 30, 2023
9ce0474
common: fix json marshaller MixedcaseAddress (#26998)
rjl493456442 Mar 30, 2023
d0fbb10
eth/catalyst: improve consensus heartbeat (#26896)
openex27 Mar 30, 2023
b92d0ea
miner: use atomic type (#27013)
s7v7nislands Mar 31, 2023
00a73fb
accounts/abi/bind: handle UnpackLog with zero topics (#26920)
aaronbuchwald Mar 31, 2023
bed07cd
cmd/evm: use correct parent number for t8n base fee calculation (#27032)
gurukamath Apr 3, 2023
dc2f4b9
go.mod : update snappy (#27027)
ucwong Apr 3, 2023
2c57984
common: delete MakeName (#27023)
lightclient Apr 3, 2023
7076ae0
cmd/geth: enable log rotation (#26843)
sudeepdino008 Apr 3, 2023
94457cc
cmd, miner, signer: avoid panic if keystore is not available (#27039)
rjl493456442 Apr 3, 2023
a25dd80
test/fuzzers: fuzz rlp handling of big.Int and uint256.Int (#26917)
holiman Apr 3, 2023
beda6c4
core/txpool: move some validation to outside of mutex (#27006)
holiman Apr 3, 2023
db18293
eth/downloader: use atomic types (#27030)
s7v7nislands Apr 3, 2023
9b1a82c
core/vm: clarify comment (#27045)
joohhnnn Apr 4, 2023
91faf2c
consensus, core/typer: add 4844 excessDataGas to header, tie it to Ca…
karalabe Apr 4, 2023
d2cf493
consensus/misc, params: add EIP-4844 blobfee conversions (#27041)
karalabe Apr 4, 2023
0b76eb3
eth/tracers: report correct gasLimit in call tracers (#27029)
jsvisa Apr 4, 2023
ab1a404
all: remove debug-field from vm config (#27048)
holiman Apr 4, 2023
b4dcd1a
metrics: make gauge_float64 and counter_float64 lock free (#27025)
Exca-DK Apr 4, 2023
2adce0b
eth/tracers: use atomic type (#27031)
s7v7nislands Apr 4, 2023
9d37102
build: upgrade -dlgo version to Go 1.20.3
sandakersmann Apr 4, 2023
230df98
core/txpool: disallow future churn by remote txs (#26907)
MariusVanDerWijden Apr 5, 2023
b946b7a
core, miner: drop transactions from the same sender when error occurs…
rjl493456442 Apr 5, 2023
4a9fa31
Merge pull request #27051 from sandakersmann/master
karalabe Apr 8, 2023
5aa5295
params: new sepolia bootnodes (#27099)
parithosh Apr 17, 2023
8fe807c
cmd/devp2p: fix erroneous log output in crawler (#27089)
0x00Duke Apr 17, 2023
bedf285
signer/core: rename testdata files (#27063)
taeguk Apr 17, 2023
cb66eba
core: fix comment to reflect function name (#27070)
anusha-ctrl Apr 17, 2023
5e4d726
params: remove `EIP150Hash` from chainconfig (#27087)
jsvisa Apr 18, 2023
b197262
p2p: access embedded fields of Server directly (#27078)
joohhnnn Apr 18, 2023
3768b00
consensus/ethash: use atomic type (#27068)
s7v7nislands Apr 18, 2023
2b0a34b
cmd/devp2p: make crawler-route53-updater less verbose (#27116)
holiman Apr 19, 2023
f2df2b1
cmd/geth: rename --vmodule to --log.vmodule (#27071)
ajsutton Apr 19, 2023
3f7afc3
core/vm: order opcodes properly (#27113)
axic Apr 20, 2023
ae93e0b
metrics: use atomic type (#27121)
s7v7nislands Apr 20, 2023
99f81d2
all: refactor trie API (#26995)
rjl493456442 Apr 20, 2023
ea9e62c
params: go-ethereum v1.11.6 stable
holiman Apr 20, 2023
a043ec6
dev: add: merge upstream
marcello33 Jun 9, 2023
162af07
dev: chg: regression changes for bor after merge
marcello33 Jun 12, 2023
d3f6da9
dev: chg: more regression changes for bor after merge
marcello33 Jun 12, 2023
81c3f1e
dev: chg: txpool_test regression changes after merge
marcello33 Jun 13, 2023
00573af
dev: chg: gomock re-generate mocks for backend interface
marcello33 Jun 13, 2023
1c106dc
dev: add: merge develop in upstream-merge
marcello33 Jun 13, 2023
8562597
dev: chg: regression changes after develop is merged into upstream-merge
marcello33 Jun 13, 2023
b5571e9
dev: chg: further fixes merging develop into upstream-merge
marcello33 Jun 13, 2023
a85addd
dev: chg: apply changes to NewParallelBlockChain
marcello33 Jun 13, 2023
dda0d11
dev: chg: solve some TODOs
marcello33 Jun 13, 2023
df106e6
dev: fix: CreateConsensusEngine for new ethereum objects
marcello33 Jun 13, 2023
ab28b8a
dev: fix: NewParallelBlockChain using Genesis
marcello33 Jun 14, 2023
f1e7f6d
dev: fix: build ci.go
marcello33 Jun 14, 2023
631efbe
dev: fix: thelper and tparallel lint
marcello33 Jun 14, 2023
4307e68
dev: fix: http related and nilnil lint errors
marcello33 Jun 14, 2023
29620ff
dev: fix: ineffassign lint errors
marcello33 Jun 14, 2023
f5bfef0
dev: chg: comment position fix
marcello33 Jun 14, 2023
6850ca4
dev: fix: govet lint errors
marcello33 Jun 14, 2023
79ff0c1
dev: fix: error related lint issues
marcello33 Jun 14, 2023
2c87219
dev: fix: bodyclose lint issues
marcello33 Jun 15, 2023
3af5e43
dev: fix: some wsl lint issues
marcello33 Jun 15, 2023
2189170
dev: fix: more wsl lint issues
marcello33 Jun 15, 2023
d9a82cd
dev: fix: errorcheck lint issues
marcello33 Jun 15, 2023
131d7b2
dev: fix: solve more lint issues
marcello33 Jun 15, 2023
6223765
dev: fix: more wsl lint issues
marcello33 Jun 15, 2023
82f33b2
dev: fix: more errcheck lint issues
marcello33 Jun 15, 2023
f3ffacf
dev: fix: most of wsl lint issues
marcello33 Jun 15, 2023
99693ef
dev: fix: all remaining lint issues
marcello33 Jun 19, 2023
c57ef82
Merge branch 'develop' into mardizzone/upstream-merge
marcello33 Jun 21, 2023
ba61cfa
dev: fix: t.Parallel called multiple times
marcello33 Jun 21, 2023
43e114b
dev: fix: tests failing due to t.Parallel
marcello33 Jun 21, 2023
64486d0
fix : runtime testcases
0xsharma Jun 26, 2023
392bebd
fix : testcase : config, addTxWithChain, burnAmount
0xsharma Jun 26, 2023
36e2382
fix : ethhash bor burn contract
0xsharma Jun 26, 2023
a25bc77
fix : genspec config
0xsharma Jun 26, 2023
6d4e600
fix : freezer, TestStateProcessorErrors
0xsharma Jul 3, 2023
2b06029
core,eth,miner: fix initial test cases (#922)
Raneet10 Jul 4, 2023
2ad1e0f
fix : TestTransactionIndices, testBeaconSync
0xsharma Jul 4, 2023
616e33f
fix : TestBeaconSync66
0xsharma Jul 4, 2023
b605c38
core,eth: fix TestDeduplication, TestSyncAccountPerformance, TestTrac…
Raneet10 Jul 4, 2023
0a7ab3a
Merge pull request #924 from maticnetwork/raneet10/pos-1600
Raneet10 Jul 4, 2023
e2292bf
fix : TestTxIndexer
0xsharma Jul 4, 2023
25be127
rm : multiple coinbase balance
0xsharma Jul 5, 2023
a8aca88
fix : testCommitInterruptExperimentBor
0xsharma Jul 5, 2023
a454c46
adding balance send to burntcontract back
0xsharma Jul 5, 2023
46882e8
Fix header encoding test
cffls Jul 5, 2023
60b85cf
core,eth/tracers: fix TestPrestateWithDiffModeTracer
Raneet10 Jul 6, 2023
ddce55e
consensus/bor,eth/filters,miner,params,tests: fix mocks
Raneet10 Jul 12, 2023
c5b74b6
fix : TestGraphQLConcurrentResolvers
0xsharma Jul 12, 2023
c42f81f
fix : TestBuildPayload
0xsharma Jul 12, 2023
0f32302
common,core,miner: fix goleaks,duplicate init and inconsistent mutex …
Raneet10 Jul 13, 2023
2652d6c
fix : lint
0xsharma Jul 13, 2023
a8e85c4
fix : lint
0xsharma Jul 13, 2023
54acb92
fix : test-integration
0xsharma Jul 17, 2023
585dba2
fix : test-integration
0xsharma Jul 17, 2023
964faf2
core: restore AddFeeTransferLog post miner tipping
Raneet10 Jul 18, 2023
706af9e
fix : TestGraphQLConcurrentResolvers
0xsharma Jul 18, 2023
c48743a
fix : deadlocks
0xsharma Jul 21, 2023
973f116
rm: t.parallel from testQueueTimeLimiting tests
0xsharma Jul 23, 2023
a801b75
Merge pull request #910 from maticnetwork/shivam/POS-1599
0xsharma Jul 24, 2023
811c90f
Merge branch 'develop' into mardizzone/upstream-merge
0xsharma Jul 24, 2023
e7df3cc
Merge branch 'develop' into mardizzone/upstream-merge
0xsharma Jul 24, 2023
6528e45
fix : lint
0xsharma Jul 24, 2023
36fa343
fix : test-integration
0xsharma Jul 24, 2023
750437b
fix : TxDependency
0xsharma Jul 28, 2023
a2da3bb
Merge branch 'develop' into mardizzone/upstream-merge
0xsharma Jul 31, 2023
cfef444
add rpc.enabledeprecatedpersonal flag
manav2401 Aug 1, 2023
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: send INVALID instead of INVALID_BLOCK_HASH (#26696)
This change will break one hive test, but pass another and it will be the better way going forward
  • Loading branch information
MariusVanDerWijden authored Feb 17, 2023
commit 6428663faf50f8368cedf0297063154483cce72b
2 changes: 0 additions & 2 deletions beacon/engine/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ var (
// - newPayloadV1: if the payload was accepted, but not processed (side chain)
ACCEPTED = "ACCEPTED"

INVALIDBLOCKHASH = "INVALID_BLOCK_HASH"

GenericServerError = &EngineAPIError{code: -32000, msg: "Server error"}
UnknownPayload = &EngineAPIError{code: -38001, msg: "Unknown payload"}
InvalidForkChoiceState = &EngineAPIError{code: -38002, msg: "Invalid forkchoice state"}
Expand Down
2 changes: 1 addition & 1 deletion eth/catalyst/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func (api *ConsensusAPI) newPayload(params engine.ExecutableData) (engine.Payloa
block, err := engine.ExecutableDataToBlock(params)
if err != nil {
log.Debug("Invalid NewPayload params", "params", params, "error", err)
return engine.PayloadStatusV1{Status: engine.INVALIDBLOCKHASH}, nil
return engine.PayloadStatusV1{Status: engine.INVALID}, nil
}
// Stash away the last update to warn the user if the beacon client goes offline
api.lastNewPayloadLock.Lock()
Expand Down
4 changes: 2 additions & 2 deletions eth/catalyst/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -864,8 +864,8 @@ func TestInvalidBloom(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if status.Status != engine.INVALIDBLOCKHASH {
t.Errorf("invalid status: expected VALID got: %v", status.Status)
if status.Status != engine.INVALID {
t.Errorf("invalid status: expected INVALID got: %v", status.Status)
}
}

Expand Down