-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
Difficulty: Easycairogood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
π Overview
Implement a set of functions for updating existing content on the platform. This feature should ensure that only authorized users can update content, track changes, and emit events reflecting content updates.
π οΈ Tasks
-
Content Update Function
- Develop a function that allows updating existing content.
-
Ownership Verification
- Implement checks to verify that only users who own the content can perform updates.
-
Update History Tracking
- Create a mechanism to log and track update history for each content change.
-
Partial Updates
- Ensure that the update function supports partial updates (i.e., updating only specified fields without altering others).
-
Event Emission
- Emit events whenever content is updated to notify other parts of the system or external listeners.
β Acceptance Criteria
- Content can be updated only by authorized users.
- Ownership verification prevents unauthorized changes.
- Update history is properly recorded with each update.
- Partial updates function as expected without error.
- Events are emitted correctly for every content update.
π References
- For more context on project structure and standards, refer to the ChainLib README.
Let's ensure these functions are robust and follow our existing project architecture. π
Metadata
Metadata
Assignees
Labels
Difficulty: Easycairogood first issueGood for newcomersGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week