-
Notifications
You must be signed in to change notification settings - Fork 2
feat: scripts to inspect on-chain state #19
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
Signed-off-by: Miroslav Bajtoš <[email protected]>
| registeredAt: providerInfo.registeredAt, | ||
| approvedAt: providerInfo.approvedAt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we present these two timestamps as ISO date strings?
| registeredAt: providerInfo.registeredAt, | ||
| approvedAt: providerInfo.approvedAt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we present these two timestamps as ISO date strings?
| @@ -0,0 +1,51 @@ | |||
| import { ethers } from 'ethers' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This information would be cool to be exposed by the PDP explorer. That is the default place for checking out a proof set. Either in the UI, or in their UI. I suggest opening an issue in https://github.com/FilOzone/pdp-explorer, listening which properties were missing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See for example https://pdp.vxb.ai/calibration/proofsets/484
| @@ -0,0 +1,33 @@ | |||
| import { ethers } from 'ethers' | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As above, this should be covered by https://pdp.vxb.ai/calibration/providers really
While troubleshooting failed retrievals caused by the retrieval worker not
ignoring providers not approved for Pandora, I wrote two scripts to inspect
on-chain state.
Let's discuss where would be a good home for them and in what form. (I can
imagine converting them into a static website hosted on GH pages.)
feat: add
inspect-proofsethelperfeat: script to list approved providers