-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
onlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week
Description
Issue Description:
We need to build a robust oracle system that allows authorized external data sources to submit performance evaluations, session updates, and verification data. Currently, our contract has oracle management functions but no actual data submission capabilities - it's like having a mailbox with no way to put mail in it!
📌 Requirements
- You are to create functions that let authorized oracles submit performance evaluation scores for auditions
- Build a system for real-time session status updates from external venue management systems
- Implement participant credential verification through trusted identity providers
- Add comprehensive data validation to ensure oracle submissions are legitimate and properly formatted
- Create event emissions for all oracle activities to maintain transparency
- Build error handling that gracefully manages invalid or malicious oracle data
- Design the system to handle multiple oracle sources with conflict resolution
- Ensure oracle data can be queried efficiently by front-end applications
- Add timestamp tracking for all oracle submissions
- Implement data expiration mechanisms for time-sensitive information
🔍 Testing Requirements
- Ensure to verify that only authorized oracles can submit data
- Test data validation catches malformed submissions
- Confirm events are properly emitted for all oracle activities
- Test conflict resolution when multiple oracles submit different data
- Verify timestamp accuracy and data expiration functionality
- Test edge cases like oracle removal during active submissions
- Confirm integration with existing audition and session management
- Test gas efficiency for batch oracle submissions
- Verify error handling for network issues during submission
- Test oracle data retrieval performance under load
🎯 Expected Outcome
- A fully functional oracle system that enhances the contract's real-world connectivity
- Complete test coverage for all oracle operations
- Clear documentation on how to integrate external data sources
- Performance metrics showing efficient gas usage
🚀 How to Contribute
- Fork & Clone the repository
- Create a new branch:
- Review the existing oracle management functions to understand the current architecture
- Implement the oracle data submission system following Cairo's best practices
- Add comprehensive tests covering all edge cases
- Submit a PR with detailed documentation and usage examples
Note:
- Ensure to take a look at the current season and audition contract:
https://github.com/hackinsync/musicstrk/blob/main/contract_/src/audition/season_and_audition.cairo - Join our telegram community for technical discussions:
TG community
Thanks for helping us build a more connected audition platform! You could give this repo a star too 🚀
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
onlydust-waveContribute to awesome OSS repos during OnlyDust's open source weekContribute to awesome OSS repos during OnlyDust's open source week