-
Notifications
You must be signed in to change notification settings - Fork 5
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
test: added BSP delete file test #238
base: main
Are you sure you want to change the base?
Conversation
5943141
to
8069a5a
Compare
method: "submitProof", | ||
checkTxPool: true, | ||
timeout: 100 | ||
}); |
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 is working but not what we discussed. The assertExtrinsicPresent
function doesn't return the actual extrinsic so I cannot check the bspId (also not the actual ID but the adddress).
I could add an optional address value to assertExtrinsicPresent
to verify it is indeed the one that submitted the proof but it would be pretty specific to submitProof
method.
For now this is working just to check when we have one BSP trying to store.
This PR test the process for a BSP to request to stop storing a file. The previously needed
generateForestProof
function was missing but is now available.