allora-network / allora-chain

Node software to run the Allora Network
https://www.allora.network/
Apache License 2.0
73 stars 67 forks source link

[ORA-1931] Ensure deterministic order in GetAndUpdateActiveTopicWeights #450

Closed guilherme-brandao closed 4 weeks ago

guilherme-brandao commented 1 month ago

What is the purpose of the change

Fix potential non deterministic order in GetAndUpdateActiveTopicWeights function

Testing and Verifying

(Please pick one of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

Documentation and Release Note

Where is the change documented?