Skip to content

Conversation

rvagg
Copy link
Member

@rvagg rvagg commented May 30, 2025

Fixes a problem introduced, but overlooked in
#13123 which meant that F3 was never wired into the v2 TipSetProvider. Integration tests failed but we ignored it because we had a common flaky that was related so didn't take notice of it.

Fixes a problem introduced, but overlooked in
#13123
which meant that F3 was never wired into the v2 TipSetProvider. Integration
tests failed but we ignored it because we had a common flaky that was related
so didn't take notice of it.
@rvagg rvagg requested review from masih, rjan90 and Copilot May 30, 2025 04:41
@github-project-automation github-project-automation bot moved this to Todo in F3 May 30, 2025
@github-project-automation github-project-automation bot moved this to 📌 Triage in FilOz May 30, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue where F3 was not properly wired into the v2 TipSetProvider, ensuring that the full F3 functionalities are available via the expanded API.

  • Updated the tipset resolver parameters to use F3ModuleAPI instead of F3CertificateProvider.
  • Extended the F3 API implementation with additional methods and ensured proper dependency injection via the builder.
  • Updated the CHANGELOG to reflect the bug fix.

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
node/modules/eth.go Changed F3 type for tipset resolver to the expanded F3ModuleAPI.
node/impl/full/f3.go Expanded the F3 interface to include additional API methods.
node/builder_chain.go Updated dependency injection to wire F3ModuleAPI to its implementation.
CHANGELOG.md Documented the bug fix and API updates in F3 integration.
Comments suppressed due to low confidence (1)

node/impl/full/f3.go:27

  • Ensure integration tests cover the newly added F3ModuleAPI methods to verify correct behavior, especially for ticket renewal and participation functionality.
F3GetOrRenewParticipationTicket(ctx context.Context, minerID address.Address, previous api.F3ParticipationTicket, instances uint64) (api.F3ParticipationTicket, error)

@github-project-automation github-project-automation bot moved this from 📌 Triage to ✔️ Approved by reviewer in FilOz May 30, 2025
@github-project-automation github-project-automation bot moved this from Todo to In review in F3 May 30, 2025
@rvagg rvagg merged commit d8f7cba into master May 30, 2025
97 checks passed
@rvagg rvagg deleted the rvagg/f3-eth-api-fix branch May 30, 2025 07:33
@github-project-automation github-project-automation bot moved this from In review to Done in F3 May 30, 2025
@github-project-automation github-project-automation bot moved this from ✔️ Approved by reviewer to 🎉 Done in FilOz May 30, 2025
Copy link
Member

@masih masih left a comment

Choose a reason for hiding this comment

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

👍 many thanks for getting this sorted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

3 participants