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

Add migration handler to enable 09-localhost client and store sentinel connectionEnd #3032

Closed
3 tasks
Tracked by #3034
damiannolan opened this issue Jan 20, 2023 · 0 comments
Closed
3 tasks
Tracked by #3034
Assignees
Milestone

Comments

@damiannolan
Copy link
Contributor

Summary

Add a migration handler for chain upgrades to enable the 09-localhost client and store a sentinel localhost connectionEnd in state.

  1. Create the 09-localhost client and set in state using the 02-client keeper SetClientState
  2. Create the sentinal localhost connectionEnd using the CreateLocalhost method added to 03-connection in Add sentinel localhost connectionEnd to genesis state #3031

This can be run as an automatic migration handler by bumping the core IBC module consensus version and registering a new migration in module.go.

err := cfg.RegisterMigration(exported.ModuleName, 3, m.Migrate3to4)
if err != nil {
	panic(err)
}

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged/assigned
@damiannolan damiannolan added this to the v7.1.0 milestone Jan 20, 2023
@damiannolan damiannolan moved this to Todo in ibc-go Jan 20, 2023
@chatton chatton self-assigned this Jan 24, 2023
@chatton chatton moved this from Todo to In progress in ibc-go Jan 24, 2023
@github-project-automation github-project-automation bot moved this from In progress to Todo in ibc-go Jan 30, 2023
@damiannolan damiannolan moved this from Todo to Done in ibc-go Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done 🥳
Development

No branches or pull requests

2 participants