sei-protocol / sei-chain

Apache License 2.0
2.7k stars 805 forks source link

Add sorting to a test store to fix flaky test #1752

Closed stevenlanders closed 3 months ago

stevenlanders commented 3 months ago

Describe your changes and provide context

Testing performed to validate your change

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 60.75%. Comparing base (c3d0eee) to head (ee86905). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1752/graphs/tree.svg?width=650&height=150&src=pr&token=DG7ZZJ3PVV&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1752?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) ```diff @@ Coverage Diff @@ ## main #1752 +/- ## ========================================== - Coverage 60.77% 60.75% -0.03% ========================================== Files 373 373 Lines 27129 27131 +2 ========================================== - Hits 16489 16484 -5 - Misses 9527 9534 +7 Partials 1113 1113 ``` | [Files](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1752?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol) | Coverage Δ | | |---|---|---| | [app/test\_state\_store.go](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1752?src=pr&el=tree&filepath=app%2Ftest_state_store.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol#diff-YXBwL3Rlc3Rfc3RhdGVfc3RvcmUuZ28=) | `66.18% <100.00%> (+0.32%)` | :arrow_up: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/sei-protocol/sei-chain/pull/1752/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=sei-protocol)