-
Notifications
You must be signed in to change notification settings - Fork 407
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
HIP draft – Validator Oracles #272
HIP draft – Validator Oracles #272
Conversation
HIP proposing that staked validators be allowed to opt-in as price Oracles & submit price data.
Here is a link to the rich text view - https://github.com/cvolkernick/HIP/blob/94c86f987b2b898de1dccd134d271376aab18e24/0038-validator-oracles.md |
I don't hate the idea because it does dramatically increase the size of the potential pool of oracle prices. Unfortunately, there's no limitations here on who the oracles are. In theory, the account with 300+ validators could take over price prediction very easily. The current system, even though has flaws, at least protects against Sybil attacks. |
Are there measures that can be taken to prevent this...? E.g. limit to a certain # of submissions per period (blocks preferably), or attach a marginal cost of some kind? It seems inherently cost-prohibitive to stake 10K HNT 300x to manipulate the Oracle price, moreso when you can't even access your stake for 5 months. Or perhaps there needs to be some minimum threshold in terms of submission diversity or number of submissions for the price to update (maybe in addition with the submission rate limiting or cost mentioned above)? I don't necessarily question your point in and of itself, rather attempting to address the concerns you point out with creative solutions. |
Open to being creative. Adding a limit is possible but it doesn't solve the issue of a plurality of submissions coming from a single real entity. Splitting by account also causes similar issues so submission diversity isn't something that can be done on chain. |
Understood; I suppose my outstanding question is, is it even plausible to do that to begin with if you are inherently required to stake 10K HNT (currently ~$215K) for one validator? You would have to spend $1M just to submit 4 data points. With a current pool size of 2K+ that seems impractical IMO (assuming that a significant enough % of staked validators are participating, of course). As a related note, is there any particular reason why an oracle-based pricing was chosen as opposed to pulling in market price data from exchanges, etc? Pulling data from the market almost seems to be a more practical way of obtaining this information than attempting to derive it from a manual process. |
The monetary burden is an important one but why is the wallet with 300+ validators more important than the one with 1? Comes back to my earlier point about Sybil resistance.
Here's a decent primer on the Oracle problem. Not advocating that particular implementation. |
Thank you @abhay for the background info will give it a read |
Regarding the Sybil resistance point: https://www.proofofhumanity.id/ Could potentially have other applications / implications elsewhere beyond the scope of this particular HIP, as well. |
This draft HIP has been officially numbered and merged. Please direct future comments towards #282 and please tag |
HIP proposing that staked validators be allowed to opt-in as price Oracles & submit price data.