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

feat: Add a cli cmd to prune old states according to current settings (backport #12742) #13120

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Sep 1, 2022

This is an automatic backport of pull request #12742 done by Mergify.
Cherry-pick of d874ace has failed:

On branch mergify/bp/release/v0.45.x/pr-12742
Your branch is up to date with 'origin/release/v0.45.x'.

You are currently cherry-picking commit d874acee4.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   client/pruning/main.go
	modified:   simapp/simd/cmd/root.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   CHANGELOG.md
	both modified:   store/rootmulti/store.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/github/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…#12742)

* add PruningCmd and change PruneStores signature

* the mimimum default pruning interval is 10

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit d874ace)

# Conflicts:
#	CHANGELOG.md
#	store/rootmulti/store.go
@alexanderbez
Copy link
Contributor

cc @adu-crypto

@tac0turtle tac0turtle merged commit 3bdbaf1 into release/v0.45.x Sep 2, 2022
@tac0turtle tac0turtle deleted the mergify/bp/release/v0.45.x/pr-12742 branch September 2, 2022 05:33
tomtau pushed a commit to crypto-org-chain/cosmos-sdk that referenced this pull request Sep 5, 2022
… (backport cosmos#12742) (cosmos#13120)

* feat: Add a cli cmd to prune old states according to current settings (cosmos#12742)

* add PruningCmd and change PruneStores signature

* the mimimum default pruning interval is 10

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit d874ace)

* fix backport error and conflicts

Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
Co-authored-by: adu <adu.du@crypto.com>
JeancarloBarrios pushed a commit to agoric-labs/cosmos-sdk that referenced this pull request Sep 28, 2024
… (backport cosmos#12742) (cosmos#13120)

* feat: Add a cli cmd to prune old states according to current settings (cosmos#12742)

* add PruningCmd and change PruneStores signature

* the mimimum default pruning interval is 10

Co-authored-by: Marko <marbar3778@yahoo.com>
(cherry picked from commit d874ace)

# Conflicts:
#	CHANGELOG.md
#	store/rootmulti/store.go

* fix backport error and conflicts

Co-authored-by: adu-crypto <94821467+adu-crypto@users.noreply.github.com>
Co-authored-by: adu <adu.du@crypto.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants