-
Notifications
You must be signed in to change notification settings - Fork 37
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
Unable to write a price #11
Comments
Make sure you call the "configure" function first. This will add the 'eosusd' pair entry to the 'pairs' datatable, allowing oracles to push values for this pair. Additional pairs can be added by calling the 'newbounty' function, then having oracles and custodians voting in favor of the new pair. You can set the approval thresholds in the parameters of the configure action. |
ok. I have no idea what all these parameters are and I don't find docs on it so I've just set them all to 0: cleos push action delphioracle configure '{"datapoints_per_instrument": 0, "bars_per_instrument": 0, "vote_interval": 0, "write_cooldown": 0, "approver_threshold": 0, "approving_oracles_threshold": 0, "approving_custodians_threshold": 0, "minimum_rank": 0, "paid": 0, "min_bounty_delay": 0, "new_bounty_delay": 0}' but when I execute the above it pukes with:
as if it doesn't recognise the parameters I'm passing it |
also curious, is use of CONTRACT, ACTION and TABLE new or is it old? I tag my actions with |
I've added instructions to the README for how to do this |
due to the other issue I opened: #10 I commented out the check to try to force a write. now I get another error
The text was updated successfully, but these errors were encountered: