diff --git a/CHANGELOG.md b/CHANGELOG.md index 197f918746..3197620043 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ See [RELEASE](./RELEASE.md) for workflow instructions. +## v1.1.7 + +### Improvements + +- [#5038](https://github.com/spacemeshos/go-spacemesh/pull/5038) add index for faster query to refballot + +there was a regression in proposal builder that started to use codepath that was used in different domain, which was executed once per runtime. now this is executed on every proposal creation and might be too slow. + + ## v1.1.6 ### Upgrade information diff --git a/sql/migrations/0003_next.sql b/sql/migrations/0003_activesets.sql similarity index 100% rename from sql/migrations/0003_next.sql rename to sql/migrations/0003_activesets.sql diff --git a/sql/migrations/0004_ballots_index.sql b/sql/migrations/0004_ballots_index.sql new file mode 100644 index 0000000000..ec8388a41f --- /dev/null +++ b/sql/migrations/0004_ballots_index.sql @@ -0,0 +1 @@ +CREATE INDEX ballots_by_atx_by_layer ON ballots (atx, layer asc);