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] Add support for Master Blueprint Service Manager Spec #828

Open
7 tasks done
shekohex opened this issue Nov 20, 2024 · 0 comments · May be fixed by #830
Open
7 tasks done

[TASK] Add support for Master Blueprint Service Manager Spec #828

shekohex opened this issue Nov 20, 2024 · 0 comments · May be fixed by #830
Assignees
Labels
feature ➕ Tasks that are functional additions or enhancements task ✔️

Comments

@shekohex
Copy link
Contributor

shekohex commented Nov 20, 2024

Overview

We need to add support for the following Spec: tangle-network/tnt-core#21

Checklist

  • Add a new storage to the service pallet to hold all the versions of the MBSM contract addresses Vec<Address> where the index is the version number.
  • Add another storage to hold a mapping between Service Id and the MBSM version used.
  • Add new method to push a new version
  • Add a method to get the most recent version of the MBSM (the top most one in the stack)
  • Update all the evm hooks in the functions.rs file of the service pallet to call MBSM of the current blueprint and pass the blueprint_id as the first param.
  • Create a new hook onBlueprintCreated defined in the above Spec and PR
  • Update tests related to service pallet

Other notes

Companion PR in tnt-core with the new contracts: tangle-network/tnt-core#22

@shekohex shekohex added feature ➕ Tasks that are functional additions or enhancements task ✔️ labels Nov 20, 2024
@shekohex shekohex self-assigned this Nov 20, 2024
@github-project-automation github-project-automation bot moved this to Not Started 🕧 in Webb Universe Nov 20, 2024
@shekohex shekohex moved this from Not Started 🕧 to Building 🏗️ in Webb Universe Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ➕ Tasks that are functional additions or enhancements task ✔️
Projects
Status: Building 🏗️
Development

Successfully merging a pull request may close this issue.

1 participant