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

erigon 2.60.0 #173525

Closed
wants to merge 1 commit into from
Closed

erigon 2.60.0 #173525

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jun 3, 2024

Created by brew bump


Created with brew bump-formula-pr.

release notes
**WARNING**

Erigon 3 has been under R&D for a long time and is getting closer to release. We plan this release, v2.60.0, to be the last significant release based on Erigon 2. There might be patch v2.60.x releases for critical issues, but by and large, we intend all future development to be based on Erigon 3. The code of Erigon 3 now lives in branch main, which is our default branch now. We advise all forks of Erigon to either switch their development to Erigon 3 or use branch release/2.60 if they choose to stay on Erigon 2.
You can read more about Erigon 3 at https://erigon.tech/merging-erigon-3-and-erigon-4-and-possibly-caplin.

Drop support of golang 1.20

Fixes pruning of logs issue introduced in 2.59.x:

For users using prune=hrtc flag or any prune flags with non-zero prune.r.older value following must be performed when upgrading from 2.59.x

  • Stop the node, upgrade to v2.60.0
  • Then,
integration stage_log_index --reset --datadir=<your_datadir> --chain=<chain_name>
  • Then restart and let it sync to the tip.

(Optional) Database compaction: Stop the node at chain-tip (after syncing is finished) Then

integration mdbx_to_mdbx --chaindata=<your_datadir>/chaindata --chaindata.to=<your_datadir>/chaindata2 --datadir=<any_random_location_for_temp_files>
mv chaindata chaindataOld
mv chaindata2 chaindata

Then restart. The new chaindata may be up to 1/3 of the size of the old (Bonus!). If all goes well, you can delete chaindataOld

rm -rf chaindataOld

Tip: To do the integration commands with docker image, you can always do

docker run -it -v <your_datadir>:/data --entrypoint sh thorax/erigon:devel

Then the value of datadir for integration and mdbx commands is /data on the docker shell, where you can run the above.

N.B. Also, just a reminder, 2.58 originally synced node cannot see much benefit on upgrading (it was also in the release notes of 2.59) The above suggestion would work when upgrading from 2.59.x

by @somnathb1 in erigontech/erigon#10019 erigontech/erigon#9968 erigontech/erigon#9932 erigontech/erigon#9733

Caplin:

Silkworm:

Otterscan:

New:

Bugfixes:

Full Changelog: erigontech/erigon@v2.59.3...v2.60.0

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue formula deprecated Formula deprecated bump-formula-pr PR was created using `brew bump-formula-pr` labels Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

Thanks for contributing to Homebrew! 🎉 It looks like you're having trouble with a CI failure. See our contribution guide for help. You may be most interested in the section on dealing with CI failures. You can find the CI logs in the Checks tab of your pull request.

@krehel krehel closed this Jun 3, 2024
@github-actions github-actions bot added the outdated PR was locked due to age label Jul 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bump-formula-pr PR was created using `brew bump-formula-pr` formula deprecated Formula deprecated go Go use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant