feat: dealbot-specific subgraph#469
Merged
Merged
Conversation
c8c638d to
c7c7134
Compare
c7c7134 to
c19fc95
Compare
SgtPooki
requested changes
Apr 23, 2026
Collaborator
SgtPooki
left a comment
There was a problem hiding this comment.
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)
24f9bac to
5835eef
Compare
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".
SgtPooki
approved these changes
Apr 24, 2026
BigLep
reviewed
May 15, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
mainnet: https://api.goldsky.com/api/public/project_cmo9sxe5xd4ai01x8cpageyid/subgraphs/dealbot-mainnet/0.3.0/gncalibration: https://api.goldsky.com/api/public/project_cmo9sxe5xd4ai01x8cpageyid/subgraphs/dealbot-calibration/0.3.0/gn