Skip to content
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

Missing instructions #10

Open
ekkis opened this issue Dec 21, 2019 · 2 comments
Open

Missing instructions #10

ekkis opened this issue Dec 21, 2019 · 2 comments

Comments

@ekkis
Copy link
Contributor

ekkis commented Dec 21, 2019

I need to compile this contract locally for testing purposes. when I call the 'write' method as per the instructions I get the error:

Error 3050003: eosio_assert_message assertion failure
Error Details:
assertion failure with message: account is not a qualified oracle
pending console output: length 1

but don't find guidance in the README as to how to make me a qualified oracle. help?

- Edit I -

also, in looking through the code I find no references to the producers_table where a write occurs, only when checking for validity (which issues the above error message). so I can't see how a valid producer record is produced. how does this work?

@systemzax
Copy link
Contributor

Qualified oracles are block producers on the chain that have a rank better or equal to the minimum_rank configuration setting (defaults to 105, meaning any block producer ranked 1 to 105 is a qualified oracle and able to push rates).

The function check_oracle handles this: https://github.com/eostitan/delphioracle/blob/master/include/delphioracle/delphioracle.hpp#L490

@ekkis
Copy link
Contributor Author

ekkis commented Dec 24, 2019

so in the case of running a local node, disconnected from any chain, for testing purposes, this doesn't automatically work why?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants