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

app: demo consensuswarn #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

app: demo consensuswarn #1

wants to merge 1 commit into from

Conversation

elias-orijtech
Copy link
Owner

consensuswarn demo.

Comment on lines 35 to 41
// 1. Release a non-breaking patch version so that the chain can set the scheduled upgrade plan at upgrade-height.
// 2. Release the software defined in the upgrade-info
func (app *Evmos) ScheduleForkUpgrade(ctx sdk.Context) {
fmt.Println("potential consensus change")
// NOTE: there are no testnet forks for the existing versions
if !utils.IsMainnet(ctx.ChainID()) {
return

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change potentially affects state.

Call sequence:

(*github.com/evmos/evmos/v12/app.Evmos).ScheduleForkUpgrade (app/forks.go:37)
(*github.com/evmos/evmos/v12/app.Evmos).BeginBlocker (app/forks.go:898)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant