-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat/optimise oracle #6
Conversation
yan-soon
commented
Jul 15, 2024
•
edited
Loading
edited
- add hook from carbon to check if a particular result (given a timestamp and oracle id) has already been committed
- prune votes that have been committed
- add chain id to signing of oracle votes
- increase p2p frequency from 100ms -> 250ms
- enable subaccount signing of oracle votes
- add signature prefix to differentiate between main/subaccount signing, and signature type (ed25519/sr25519/secp256k1)
} | ||
|
||
const ( | ||
DefaultOracleSubAccountKeyName = "oracle_sub_account_key.json" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we default to what was previously used by the legacy oracle service
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the legacy oracle service didnt have a key file like this because the key was added directly to the keyring, but since we are signing the oracle votes from cometbft, i used the same format as to how they import validator keys to sign block votes/proposals