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

Merge v1.14.4 #381

Merged
merged 89 commits into from
Feb 7, 2025
Merged

Merge v1.14.4 #381

merged 89 commits into from
Feb 7, 2025

Conversation

amsanghi
Copy link
Contributor

@amsanghi amsanghi commented Dec 9, 2024

fixes: NIT-2678

Merge upstream geth's v1.14.4 release into our geth fork:https://github.com/ethereum/go-ethereum/releases/tag/v1.14.4

nitro PR- OffchainLabs/nitro#2820

Testing done

geth and nitro tests pass

fjl and others added 30 commits May 9, 2024 12:40
…29731)

* core/state: remove slot dirtiness if it's set back to origin value

* core/state: suggestion from martin
* core, beacon, ethdb: fix typos

* revert file that can't be changed
Implements some of the changes required to charge and do gas accounting in verkle testnet.
…519)

* core/state: trie prefetcher change: calling trie() doesn't stop the associated subfetcher

Co-authored-by: Martin HS <[email protected]>
Co-authored-by: Péter Szilágyi <[email protected]>

* core/state: improve prefetcher

* core/state: restore async prefetcher stask scheduling

* core/state: finish prefetching async and process storage updates async

* core/state: don't use the prefetcher for missing snapshot items

* core/state: remove update concurrency for Verkle tries

* core/state: add some termination checks to prefetcher async shutdowns

* core/state: differentiate db tries and prefetched tries

* core/state: teh teh teh

---------

Co-authored-by: Jared Wasinger <[email protected]>
Co-authored-by: Martin HS <[email protected]>
Co-authored-by: Gary Rong <[email protected]>
* github: upgrade checkout action to version with node20

* Update go.yml

---------

Co-authored-by: Felix Lange <[email protected]>
It's a bit confusing to add msg.value into the balanceCheck within the conditional.
No impact on block validation since GasFeeCap is always set when processing transactions.
This fixes an issue for `debug_traceBlock*` methods where the BASEFEE opcode was returning always 0. This caused the method return invalid results.

Co-authored-by: Sina Mahmoodi <[email protected]>
Node discovery periodically revalidates the nodes in its table by sending PING, checking
if they are still alive. I recently noticed some issues with the implementation of this
process, which can cause strange results such as nodes dropping unexpectedly, certain
nodes not getting revalidated often enough, and bad results being returned to incoming
FINDNODE queries.

In this change, the revalidation process is improved with the following logic:

- We maintain two 'revalidation lists' containing the table nodes, named 'fast' and 'slow'.
- The process chooses random nodes from each list on a randomized interval, the interval being
  faster for the 'fast' list, and performs revalidation for the chosen node.
- Whenever a node is newly inserted into the table, it goes into the 'fast' list.
  Once validation passes, it transfers to the 'slow' list. If a request fails, or the
  node changes endpoint, it transfers back into 'fast'.
- livenessChecks is incremented by one for successful checks. Unlike the old implementation,
  we will not drop the node on the first failing check. We instead quickly decay the
  livenessChecks give it another chance.
- Order of nodes in bucket doesn't matter anymore.

I am also adding a debug API endpoint to dump the node table content.

Co-authored-by: Martin HS <[email protected]>
enode.Node has separate accessor functions for getting the IP, UDP port and TCP port.
These methods performed separate checks for attributes set in the ENR.

With this PR, the accessor methods will now return cached information, and the endpoint is
determined when the node is created. The logic to determine the preferred endpoint is now
more correct, and considers how 'global' each address is when both IPv4 and IPv6 addresses
are present in the ENR.
miner: fix TestBuildPayload sporadic failure

Co-authored-by: steven <[email protected]>
Copy link

cla-bot bot commented Dec 12, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Dec 16, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Dec 17, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

tsahee
tsahee previously requested changes Dec 19, 2024
Fix deterministic flag in geth v1.14.4 merge
Copy link

cla-bot bot commented Dec 20, 2024

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Jan 3, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@amsanghi amsanghi requested a review from tsahee January 3, 2025 15:50
Copy link

cla-bot bot commented Jan 21, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

In this mode, it's important that the maximal amount of state is accessed while
processing changes.
Copy link

cla-bot bot commented Jan 28, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Feb 5, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

Copy link

cla-bot bot commented Feb 6, 2025

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Steven Wang.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@eljobe eljobe dismissed tsahee’s stale review February 7, 2025 09:10

We took care of the deterministic deletions.

@eljobe eljobe self-requested a review February 7, 2025 09:11
Copy link
Member

@eljobe eljobe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eljobe eljobe merged commit 0ec8e93 into master Feb 7, 2025
7 of 8 checks passed
@eljobe eljobe deleted the merge-v1.14.4 branch February 7, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.