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

[Routing] Add script to pre-generate instantiate/update msgs from chain registry #5449

Open
Tracked by #4344
nicolaslara opened this issue Jun 7, 2023 · 0 comments
Assignees

Comments

@nicolaslara
Copy link
Contributor

nicolaslara commented Jun 7, 2023

The registry contracts need to be instantiated with the following information:

  • Chain-Channel mappings from the chain registry
  • IBC denoms from the chain registry (pending on [Routing] Add denom name registry #5451)
  • Chain-Bech32 mappings prefixes from the chain registry
  • A global admin address and (optionally) admin addresses for other chains

The first there should be optionally set on initialization via a script. The same script should allow the global admin to update those values based on changes to the chain registry. The script would ideally allow us to preview changes before sending in a readable way.

Note that "changing" should almost never be used once something is set (only the owner, i.e.: governance, can do this). If something changes, we should just disable the existing mapping.

Refs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo 🕒
Development

No branches or pull requests

1 participant