ergoplatform / ergoplatform/oracle-core
Submit string as datapoint...
- Dominant language
- Rust
- Stars
- 66
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
Hi... I am interested in ergo and oracle pools concept...I am trying to launch an oracle pool on my local ergo testnet, but I need to submit different data types as datapoint other than just numbers(f64)...
I want to ask is there any specific reason that this version of oracle-core and connector works with just numbers (f64 or u64) as datapoint?...
I changed all datapoint related data types( u64 and f64) to str and modified connector and oracle-core modules in connector project and now I`m trying to change deviation checks in oracle-core/api.rs now, but I doubted if there is any logical obstacle in my way...
Thanks in advance for your help...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing oracle-core/api.rs and the datapoint-related changes described for the connector and oracle-core modules. Trace where deviation checks assume numeric f64 or u64 values, then determine the scope and compatibility requirements for supporting string datapoints. Done would require an agreed design and corresponding updates across the affected modules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- blockchain
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100