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

Fix Oracle's token pair deterministic order #5021

Merged
merged 1 commit into from
May 20, 2024

Commits on May 20, 2024

  1. Fix Oracle's token pair deterministic order:

    Price Oracle data-series logic uses `unordered_map` to update the Oracle object.
    This results in different servers disagreeing on the order of that hash table.
    Consequently, the generated ledgers will have different hashes.
    The fix uses `map` instead to guarantee the order of the token pairs
    in the data-series.
    gregtatcam committed May 20, 2024
    Configuration menu
    Copy the full SHA
    cecfdee View commit details
    Browse the repository at this point in the history