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 for qa issue #606

Merged
merged 11 commits into from
Feb 10, 2025
Merged

Upstream for qa issue #606

merged 11 commits into from
Feb 10, 2025

Conversation

blxdyx
Copy link
Collaborator

@blxdyx blxdyx commented Feb 10, 2025

eastorski and others added 11 commits February 7, 2025 09:21
We encountered an issue with producing blocks in the devnet environment
when the --dev.period flag is set to 0, which is its default value. The
issue was caused by an infinite wait on a channel read in one of the
goroutines inside the `StartMining` function.

Additionally, in this PR, I removed the unused `noempty` variable from
the `stage_mining_exec.go` file. The logic remains unchanged—I only
removed if blocks that were never executed.
…#13728)

Previously `IsServiceTransaction` relied on the `certifier` being set by
`Initialize`. But in some contexts (e.g. Issue erigontech#13588)
`IsServiceTransaction` is called w/o `Initialize`.
Polygon node crashed with the following error

```
[EROR] [02-06|09:17:35.922] polygon sync crashed - stopping node     err="pos sync heimdall failed: span scraper failed: can't fetch id range: error while fetching data from Heimdall: url='https://heimdall-api-amoy.polygon.technology/bor/latest-span', status=404, body='<!DOCTYPE html>\n<html>\n\n<head>\n  <title>Error ・ Cloudflare Access</title>
```

This should not be a failing error as it is likely due to Cloudflare
masking downtime of the Heimdall endpoint that are currently covered by
`ErrServiceUnavailable`. We specifically check for `404` status codes as
other status codes like `403` may signal other errors such as
Cloudflare's DDoS protection.
…h#13743)

fixes erigontech#13739

I deactivated most of them, but:

- I didn't delete them, maybe @antonis19 you want to keep it, but demote
to debug or trace log levels instead?
- there is another block of code apparently doing only logs, but I
didn't remove it bc I'm not familiar with the code and it looks like
only getters, but maybe it could have some side effect, I didn't dig
deeper, maybe you want to confirm.
…h#13740)

Using the param instead of returned value. Fixes one more rpc-compat
hive test
@setunapo setunapo merged commit 46b7f6b into node-real:main Feb 10, 2025
9 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.

9 participants