Skip to content

[oracle] Update miss calculation for abstaining and unmet quorum#11

Merged
udpatil merged 1 commit intomasterfrom
oracle-quorum
May 25, 2022
Merged

[oracle] Update miss calculation for abstaining and unmet quorum#11
udpatil merged 1 commit intomasterfrom
oracle-quorum

Conversation

@udpatil
Copy link
Collaborator

@udpatil udpatil commented May 24, 2022

This updates the oracle logic to differ from the Terra behavior. We want the oracle to penalize abstaining from votes by counting them as misses, and to also count unmet quorum as miss for validator/oracles that don't provide in-range values to prevent collusion to avoid meeting quorum.

@udpatil udpatil requested review from LCyson and codchen May 24, 2022 21:26
@udpatil
Copy link
Collaborator Author

udpatil commented May 24, 2022

There are a couple TODOs, which pertain to a measure of staleness, which will indicate whether an exchange rate is a stale rate or new. I plan on addressing this in a next PR.

@udpatil udpatil changed the title [oracle] Update miss calculation for abstaining and unment quorum [oracle] Update miss calculation for abstaining and unmet quorum May 24, 2022
@udpatil udpatil merged commit 7bbf4ce into master May 25, 2022
@udpatil udpatil deleted the oracle-quorum branch May 25, 2022 16:37
masih pushed a commit that referenced this pull request Sep 29, 2025
masih pushed a commit that referenced this pull request Oct 1, 2025
masih pushed a commit that referenced this pull request Oct 9, 2025
[SeiDB] Rocks DB State Store layer
masih pushed a commit that referenced this pull request Dec 17, 2025
Fast fail & log if there are unexpected concurrent access to MutableTree
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

Successfully merging this pull request may close these issues.

2 participants