Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Smart Contract: Add Checks on Product Deletion #36

Open
prix0007 opened this issue Jun 17, 2022 · 0 comments
Open

Smart Contract: Add Checks on Product Deletion #36

prix0007 opened this issue Jun 17, 2022 · 0 comments
Labels
core Enchancements that are done by core team enhancement New feature or request

Comments

@prix0007
Copy link
Contributor

When a active order is in base contract, the product owner should not be able to delete it.

Have additional Checks on products deletion , that there are not any pending orders with that product in it.

  • For now take a naive approach, by checking sequentially, can be optimised later.
@prix0007 prix0007 added enhancement New feature or request core Enchancements that are done by core team labels Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
core Enchancements that are done by core team enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant