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 v2.60.4 #207

Merged
merged 17 commits into from
Jul 22, 2024
Merged

Upstream v2.60.4 #207

merged 17 commits into from
Jul 22, 2024

Conversation

mininny
Copy link
Member

@mininny mininny commented Jul 18, 2024

Sync from erigontech's upstream v2.60.4 release: https://github.com/erigontech/erigon/releases/tag/v2.60.4

yperbasis and others added 17 commits June 28, 2024 11:10
…ntech#10944)

Cherry pick PR erigontech#10843 into the release branch

Co-authored-by: Angus Scott <angusscott@me.com>
This is an additional check as erigontech#9990 could not be reliably reproduced.
The conjecture is that at some point there is a race condition somewhere
related to either storing snapshot file for an older block or updating
the DB for a more recent block.
Somewhere the code sets sender value directly to zero or overwrites a
pointer, leading to sender address being incorrectly assigned to ZERO.
…ch#10960)

fixes erigontech#9531

Changes:
- fixes a bug with the prestate tracer where we were incorrectly
subtracting the value of a transaction from the "to" address balance in
the "pre" state (should not be done for CREATE calls)
- fixes a bug with the prestate tracer where we were incorrectly adding
the value of a transaction to the "from" address balance in the "pre"
state (should not be done for CREATE calls)
- fixes a bug with the prestate tracer where we were incorrectly
decrementing the nonce value of a transaction's "from" address in the
"pre" state (should not be done for CREATE calls)
- adds a test generator that can generate the test files for us based on
real life transaction hash and node rpc url - check README
https://github.com/ledgerwatch/erigon/blob/fix-prestate-tracer-on-create-e2/eth/tracers/internal/tracetest/testgenerator/README.md
- adds test cases
- fixes some existing test cases that were setup with incorrect data
…ault true is preserved (erigontech#10986)

relates to erigontech#9784

- Adds support for an optional `"includePrecompiles"` tracer config
option for `callTracer` that users can use to control behaviour
(previous default of including precompile traces is preserved)
- Adds tests for default and for `"includePrecompiles": false` based on
https://etherscan.io/tx/0x536434786ace02697118c44abf2835f188bf79902807c61a523ca3a6200bc350
…rigontech#10979)

relates to erigontech#9784

- Adds support for an optional `"includePrecompiles"` tracer config
option for our OeTracer (OpenEthereum) that users can use to match
output of debug_* apis with callTracer (by default it includes
precompiles). Note default spec for OpenEthereum traces are to not
include precompiles - this is preserved by this PR
- Note geth has support for `"includePrecompiles"` so we are getting
more aligned as well -
https://github.com/ethereum/go-ethereum/blob/master/eth/tracers/native/call_flat.go#L124
- Adds tests for OeTracer
…1004)

made a mistake in previous PR
erigontech#10986
should always pop the precompiles stack for correctness
…erigontech#11020)

Duplicating erigontech#10887

Co-authored-by: awskii <awskii@users.noreply.github.com>
This add a Tip-Tracking test on Erigon v2 for Gnosis chain/network
…gontech#11078)

Cherry picks erigontech#11077

> A followup PR to erigontech#10119
which sets the fields `txpool.pricelimit`, `miner.gasprice` and
`gpo.ignoreprice` to 25gwei only for polygon amoy network.
> Upon sufficient announcements, it will be generalised to all polygon
chains later.
@mininny mininny merged commit a02e8eb into op-erigon Jul 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.