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

SRI - Trigger storage of CAH in BPI smart contract on successful workstep execution #805

Closed
2 tasks
ognjenkurtic opened this issue Jul 3, 2024 · 0 comments
Closed
2 tasks
Assignees
Milestone

Comments

@ognjenkurtic
Copy link
Collaborator

Overview

Once the workstep executes successfully, we want to store the resulting content addressable hash in the BPI smart contract, so that a third party can validate that the workstep was executed with the correct inputs.

Scope of this one is to trigger the setAnchorHash method of the registered BPI smart contract with the workgroup id and the actual CAH as parameters, after the workstep has been successfully executed by the BPI.

This one is currently blocked by #803

Reference

Questions

  • Do we wait for the execution of the blockchain transaction?

Acceptance

  • CAH is stored in the BPI smart contract after successfully execution of the workstep
  • e2e test is extended to verify behavior with local hardhat node

Tasks

  • Implement triggering of setAnchorHash
  • Extend e2e test
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

No branches or pull requests

1 participant