Skip to content
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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open

Conversation

undercover-cactus
Copy link
Contributor

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.

method: "submitProof",
checkTxPool: true,
timeout: 100
});
Copy link
Contributor Author

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.

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

Successfully merging this pull request may close these issues.

1 participant