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

[TASK] Migrate example blueprints to workspace #611

Open
drewstone opened this issue Jan 13, 2025 · 0 comments
Open

[TASK] Migrate example blueprints to workspace #611

drewstone opened this issue Jan 13, 2025 · 0 comments
Assignees

Comments

@drewstone
Copy link
Contributor

drewstone commented Jan 13, 2025

  • Migrate over examples
  • Add an actual blueprint manager contract so that we can also test the blueprint jobs
  • Proposal for reorganization of examples. Should be presentable for docs and easy to navigate
  • Integrate operator key ECDSA verification as is done in here

For operator key verification example we are testing the correctness of the operator's ECDSA key in the blueprint. We need to ensure that the key provided when a service is requested is the same one that the operator is using (in the same format) as the one they can also make transactions from.

  1. Store operator address onRequest
  2. Add a function that returns successfully if the caller is an operator and fails otherwise.
  3. Write a test calling this function from an operator and not an operator to test success and failure case.
@Tjemmmic Tjemmmic transferred this issue from tangle-network/gadget-workspace Jan 27, 2025
@Tjemmmic Tjemmmic assigned Tjemmmic and unassigned tbraun96 Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Building 🏗️
Development

No branches or pull requests

3 participants