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

Bump cosmossdk.io/errors from 1.0.0-beta.7 to 1.0.0 #120

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 17, 2023

Bumps cosmossdk.io/errors from 1.0.0-beta.7 to 1.0.0.

Release notes

Sourced from cosmossdk.io/errors's releases.

Cosmovisor v1.0.0 Release Notes

This is the first major release of Cosmovisor. It changes the way Cosmovisor is searching for an upgrade event from an app. Instead of scanning standard input and standard output logs, the Cosmovisor observes the $DAEMON_HOME/upgrade-info.json file, that is produced by the x/upgrade module. The upgrade-info.json files is created by the x/upgrade module and contains information from the on-chain upgrade Plan record. Using the file based approach solved many outstanding problems: freezing when logs are too long, race condition with the x/upgrade handler, and potential exploit (if a chain would allow to log an arbitrary message, then an attacker could produce a fake upgrade signal and halt a chain or instrument a download of modified, hacked binary when the auto download option is enabled).

Auto downloads

Cosmovisor v1.0 supports auto downloads based on the information in the data/upgrade-info.json. In the Cosmos SDK < v0.44, that file doesn't contain upgrade.Plan.Info, that is needed for doing auto download. Hence Cosmovisor v1.0 auto download won't work with Apps updating from v0.43 and earlier.

NOTE: we don't recommend using auto download functionality. It can lead to potential chain halt when the upgrade Plan contains a bad link or the resource with the binary will be temporarily unavailable. We are planning on adding a upgrade verification command which can potentially solve this issue.

Other updates

  • Changed default value of DAEMON_RESTART_AFTER_UPGRADE to true.
  • Added version command, which prints both the Cosmovisor and the associated app version.
  • Added help command, which prints the Cosmovisor help without passing it to the associated version. This is an exception, because normally, Cosmovisor passes all arguments to the associated app.

For more details, please see the CHANGELOG.

Changelog

Sourced from cosmossdk.io/errors's changelog.

Changelog

[Unreleased]

Features

  • (baseapp) #16898 Add preFinalizeBlockHook to allow vote extensions persistence.
  • (cli) #16887 Add two new CLI commands: tx simulate for simulating a transaction; query block-results for querying CometBFT RPC for block results.
  • (x/gov) #16976 Add failed_reason field to Proposal under x/gov to indicate the reason for a failed proposal. Referenced from #238 under bnb-chain/greenfield-cosmos-sdk.

Improvements

  • (all modules) #15901 All core Cosmos SDK modules query have migrated to AutoCLI, ensuring parity between gRPC and CLI queries.
  • (types) #16890 Remove GetTxCmd() *cobra.Command and GetQueryCmd() *cobra.Command from module.AppModuleBasic interface.

... (truncated)

Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@faddat
Copy link
Collaborator

faddat commented Dec 24, 2023

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/go_modules/master/cosmossdk.io/errors-1.0.0 branch from 93ed588 to 7d7e03b Compare December 24, 2023 18:09
@faddat
Copy link
Collaborator

faddat commented Dec 24, 2023

@dependabot recreate

Bumps [cosmossdk.io/errors](https://github.com/cosmos/cosmos-sdk) from 1.0.0-beta.7 to 1.0.0.
- [Release notes](https://github.com/cosmos/cosmos-sdk/releases)
- [Changelog](https://github.com/cosmos/cosmos-sdk/blob/main/CHANGELOG.md)
- [Commits](cosmos/cosmos-sdk@errors/v1.0.0-beta.7...log/v1.0.0)

---
updated-dependencies:
- dependency-name: cosmossdk.io/errors
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/master/cosmossdk.io/errors-1.0.0 branch from 7d7e03b to 5929fdf Compare December 24, 2023 18:35
@faddat faddat merged commit 5846910 into master Dec 24, 2023
7 of 8 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/master/cosmossdk.io/errors-1.0.0 branch December 24, 2023 18:41
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.

1 participant