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

build: backport changes for node v1.29.2-rc1 #12515

Merged
merged 6 commits into from
Sep 27, 2024

Conversation

rjan90
Copy link
Contributor

@rjan90 rjan90 commented Sep 26, 2024

Related Issues

#12464

Proposed Changes

Backports:

Checklist

Before you mark the PR ready for review, please make sure that:

rjan90 and others added 4 commits September 26, 2024 09:35
* chore: bump go-libp2p to v0.35.5

chore: bump go-libp2p to v0.35.5

* chore: add changelog entry in unreleased section

chore: add changelog entry in unreleased section
Co-authored-by: Rod Vagg <rod@vagg.org>
@rjan90 rjan90 marked this pull request as ready for review September 26, 2024 08:06
CHANGELOG.md Outdated Show resolved Hide resolved
@rjan90 rjan90 mentioned this pull request Sep 26, 2024
51 tasks
rjan90 and others added 2 commits September 26, 2024 10:44
chore: cleanup changelog to only be the backports
…pochs (#12428)

* fix(drand): `StateGetBeaconEntry` uses chain beacons for historical epochs

Fixes: #12414

Previously StateGetBeaconEntry would always try and use a drand beacon to get
the appropriate round. But as drand has shut down old beacons and we've
removed client details from Lotus, it has stopped working for historical
beacons.
This fix restores historical beacon entries by using the on-chain lookup,
however it now follows the rules used by StateGetRandomnessFromBeacon and the
get_beacon_randomness syscall which has some quirks with null rounds prior to
nv14. See #12414 (comment)
for specifics.

StateGetBeaconEntry still blocks for future epochs and uses live drand beacon
clients to wait for and fetch rounds as they are available.

* fixup! fix(drand): `StateGetBeaconEntry` uses chain beacons for historical epochs

* fixup! fix(drand): `StateGetBeaconEntry` uses chain beacons for historical epochs
@rjan90 rjan90 merged commit 6210608 into release/v1.29.2 Sep 27, 2024
86 checks passed
@rjan90 rjan90 deleted the phi/backports-v1291 branch September 27, 2024 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ☑️ Done (Archive)
Development

Successfully merging this pull request may close these issues.

4 participants