Skip to content

feat: dealbot-specific subgraph#469

Merged
SgtPooki merged 3 commits into
FilOzone:mainfrom
probe-lab:retrieval-anon-subgraph
Apr 27, 2026
Merged

feat: dealbot-specific subgraph#469
SgtPooki merged 3 commits into
FilOzone:mainfrom
probe-lab:retrieval-anon-subgraph

Conversation

@dennis-tra
Copy link
Copy Markdown
Contributor

@dennis-tra dennis-tra commented Apr 23, 2026

This PR is a follow-up of #459 and adds only the subgraph configuration. This was requested by @SgtPooki in this comment. I've marked the other PR as draft for now.

As mentioned in the other PR this is largely based on the PDP-Explorer but I have stripped everything that's not needed by dealbot. Turns out, a lot wasn't needed.

The other PR has 19 commits with changes to the subgraph scattered among them. Therefore, this PR only has a single commit with the final state of the other PR.

Subgraph

I have deployed the new subgraphs:

@FilOzzy FilOzzy added this to FOC Apr 23, 2026
@github-project-automation github-project-automation Bot moved this to 📌 Triage in FOC Apr 23, 2026
@dennis-tra dennis-tra force-pushed the retrieval-anon-subgraph branch from c8c638d to c7c7134 Compare April 23, 2026 14:01
@dennis-tra dennis-tra changed the title add: dealbot-specific subgraph feat: dealbot-specific subgraph Apr 23, 2026
@dennis-tra dennis-tra force-pushed the retrieval-anon-subgraph branch from c7c7134 to c19fc95 Compare April 23, 2026 14:03
Copy link
Copy Markdown
Collaborator

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

one minor comment that might be based on current subgraph failures.. and another that should hopefully reduce the size of changes needed significantly (use source ABIs)

Comment thread apps/subgraph/src/pdp-verifier.ts Outdated
Comment thread apps/subgraph/package.json Outdated
@github-project-automation github-project-automation Bot moved this from 📌 Triage to ⌨️ In Progress in FOC Apr 23, 2026
@dennis-tra dennis-tra force-pushed the retrieval-anon-subgraph branch from 24f9bac to 5835eef Compare April 24, 2026 08:54
handleNextProvingPeriod now stores event.params.challengeEpoch verbatim instead of event.block.number + maxProvingPeriod. This is the contract's own schedule, so a late-mined nextProvingPeriod tx won't shift the stored deadline forward. Skipped/faulted-period math keeps event.block.number as the reference point for when the SP actually submitted because that's the signal for "did they prove in time".
@github-project-automation github-project-automation Bot moved this from ⌨️ In Progress to ✔️ Approved by reviewer in FOC Apr 24, 2026
@SgtPooki SgtPooki merged commit 5271fee into FilOzone:main Apr 27, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this from ✔️ Approved by reviewer to 🎉 Done in FOC Apr 27, 2026
@dennis-tra dennis-tra deleted the retrieval-anon-subgraph branch April 28, 2026 10:56
Copy link
Copy Markdown
Contributor

@BigLep BigLep left a comment

Choose a reason for hiding this comment

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

I know I'm late to the party. I'm only engaging now as part of getting my head around #487 with the new subgraph.

I assume feedback here will get discussed here if needed, but ultimately incrporated into #487 or a separate PR.

Comment thread apps/subgraph/networks.json
Comment thread apps/subgraph/README.md
Comment thread .github/workflows/test.yml
Comment thread apps/subgraph/README.md
SgtPooki pushed a commit that referenced this pull request May 26, 2026
* test: assert contract addresses are up-to-date

As of comment: https://github.com/FilOzone/dealbot/pull/469/changes#r3245740521

* docs: add motivation for custom dealbot subgraph

addresses comment: https://github.com/FilOzone/dealbot/pull/469/changes#r3245751024

* docs: describe subgraph release & deploy process

* docs(subgraph): link #573, generalize version, deploy calib first
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

4 participants