Skip to content

Commit

Permalink
Mark v1.13.0-rc4 and backport v1.13: sdk to v0.46.4-pio-1, codeQL, an…
Browse files Browse the repository at this point in the history
…d pruning command (#1230)

* bump sdk to v0.46.4-pio-1 (#1229)

* Switch to a local version of the sdk (that's mostly what the v0.46-4-pio-1 will be).

* Use the updated server.FlagDisableIAVLFastNode name.

* Update the third-party swagger and then regen the whole thing.

* Bump cosmos-sdk to v0.46.4-pio-1 (from v0.46.3-pio-4).

* make proto-update-deps

* Add changelog entry.

* run codeql on code changes only (#1226)

* run codeql on code changes only

* update changelog

* Add pruning subcommand to provenance root cmd. (#1209)

* Add pruning subcommand to provenance root cmd.

* We already check that a floor gas fee is paid by every tx, hence i think the validation check for min-gas-price is irrelevant now, and an ante handler already checks that flag if some node wants to enforce higher gas price at node/mempool level already.(min_gas_prices_decorator.go)

* Adding changelog.

* Copy the v1.12.2 section from main into the changelog.

* Update changelog and release changelog to reflect v1.13.0-rc4.

Co-authored-by: Ergels Gaxhaj <[email protected]>
Co-authored-by: Arnab Mitra <[email protected]>
  • Loading branch information
3 people authored Nov 16, 2022
1 parent f013aeb commit e9bf975
Show file tree
Hide file tree
Showing 9 changed files with 1,214 additions and 37 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: "CodeQL"

on:
pull_request:
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".github/workflows/codeql-analysis.yml"
push:
branches:
- main
Expand Down
64 changes: 63 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,30 @@ Ref: https://keepachangelog.com/en/1.0.0/

## Unreleased

* nothing

---

## [v1.13.0-rc4](https://github.com/provenance-io/provenance/releases/tag/v1.13.0-rc4) - 2022-11-16

This is a state-compatible version upgrade for v1.13.0-rc3.

### Improvements

* Updated Cosmos-SDK to v0.46.4-pio-1 (from v0.46.3-pio-1) [PR 1229](https://github.com/provenance-io/provenance/pull/1229).
This brings back the ModuleAccountByName query and also brings back the `--iavl-disable-fastnode` flag for the `start` command (defaulted to `true`).
* Improve CodeQL workflow to run on Go file changes only [#1225](https://github.com/provenance-io/provenance/issues/1225).
* Add prune command available though cosmos sdk to provenanced.[#1208](https://github.com/provenance-io/provenance/issues/1208).
* Update swagger files [PR 1229](https://github.com/provenance-io/provenance/pull/1229).

### Bug Fixes

* Unable to publish Java/Kotlin JARs for release candidates to Maven [#1223](https://github.com/provenance-io/provenance/issues/1223)
* Unable to publish Java/Kotlin JARs for release candidates to Maven [#1223](https://github.com/provenance-io/provenance/issues/1223).

### Full Commit History

* https://github.com/provenance-io/provenance/compare/v1.13.0-rc3...v1.13.0-rc4
* https://github.com/provenance-io/provenance/compare/v1.12.2...v1.13.0-rc4

---

Expand Down Expand Up @@ -124,6 +145,47 @@ Ref: https://keepachangelog.com/en/1.0.0/

---

## [v1.12.2](https://github.com/provenance-io/provenance/releases/tag/v1.12.2) - 2022-11-01

Provenance v1.12.2 enables the ability to upgrade your IAVL state store to be faster and handle errors better. This upgrade is recommended and should be done at your convenience prior to the v1.13 chain upgrade.

The IAVL store upgrade is expected to take 30 to 90 minutes. During that time, your node will be down. There will be some log output (info level), but it is sparce and there may be long periods (25+ minutes) without any new log output. Once it has started, it's best to not interrupt the process.

It is highly recommended that you do one of these two prior to the v1.13 chain upgrade:

Either

- Upgrade your node's IAVL store:
1. Stop your node.
2. Upgrade `provenanced` to v1.12.2.
3. Run the command: `provenanced config set iavl-disable-fastnode false`.
4. Restart your node. Once the upgrade has finished, your node will automatically run as normal.

Or

- Explicitly define that you don't want to upgrade your node's IAVL store:
1. Ensure that you have `provenanced` v1.12.1 (or higher), e.g. Run the command: `provenanced version`. If you are on 1.12.0, upgrade to at least v1.12.1.
2. Run the command: `provenanced config set iavl-disable-fastnode true`.

---

You can manually update your `app.toml` file, but using the `config set` command is the recommended method. The `iavl-disable-fastnode` field was added in v1.12.1 and most likely does not yet exist in your `app.toml` file. There are other new sections and fields too. Using the command will add them all (using defaults) as well as their descriptions. If you want to update your `app.toml` manually, the `iavl-disable-fastnode` entry should go below the `index-events` entry and before the `[telemetry]` section.

If you do nothing before the v1.13 chain upgrade, your node will most likely upgrade the IAVL store when v1.13 first runs. The v1.13 chain upgrade and migrations are expected to only take a minute. If your node is also upgrading the IAVL store at that time, it will take 30-90+ minutes.

Note: The command `provenanced config get iavl-disable-fastnode` will report a value regardless of whether the field exists in `app.toml`. As such, that command is insufficient for determining whether the value exists in the `app.toml` file.

### Improvements

* Bump Cosmos-SDK to v0.45.10-pio-4 (from v0.45.9-pio-1) [PR 1202](https://github.com/provenance-io/provenance/pull/1202)
* Allow the IAVL store to be upgraded [PR 1193](https://github.com/provenance-io/provenance/pull/1193).

### Full Commit History

* https://github.com/provenance-io/provenance/compare/v1.12.1...v1.12.2

---

## [v1.12.1](https://github.com/provenance-io/provenance/releases/tag/v1.12.1) - 2022-10-14

### Improvements
Expand Down
23 changes: 23 additions & 0 deletions RELEASE_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
## [v1.13.0-rc4](https://github.com/provenance-io/provenance/releases/tag/v1.13.0-rc4) - 2022-11-16

This is a state-compatible version upgrade for v1.13.0-rc3.

### Improvements

* Updated Cosmos-SDK to v0.46.4-pio-1 (from v0.46.3-pio-1) [PR 1229](https://github.com/provenance-io/provenance/pull/1229).
This brings back the ModuleAccountByName query and also brings back the `--iavl-disable-fastnode` flag for the `start` command (defaulted to `true`).
* Improve CodeQL workflow to run on Go file changes only [#1225](https://github.com/provenance-io/provenance/issues/1225).
* Add prune command available though cosmos sdk to provenanced.[#1208](https://github.com/provenance-io/provenance/issues/1208).
* Update swagger files [PR 1229](https://github.com/provenance-io/provenance/pull/1229).

### Bug Fixes

* Unable to publish Java/Kotlin JARs for release candidates to Maven [#1223](https://github.com/provenance-io/provenance/issues/1223).

### Full Commit History

* https://github.com/provenance-io/provenance/compare/v1.13.0-rc3...v1.13.0-rc4
* https://github.com/provenance-io/provenance/compare/v1.12.2...v1.13.0-rc4

---

## [v1.13.0-rc3](https://github.com/provenance-io/provenance/releases/tag/v1.13.0-rc2) - 2022-11-02

### Improvements
Expand Down
Loading

0 comments on commit e9bf975

Please sign in to comment.