-
Notifications
You must be signed in to change notification settings - Fork 641
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
Update Interchain Account to use proto.Any
instead of BaseAccount
#1298
Comments
I'm in favor of the proposal. The actual implementation of it is not straight forward though. Outside of migrating all existing accounts to We could add a |
If we are adding an |
cosmos#1298) Bumps [github.com/celestiaorg/go-header](https://github.com/celestiaorg/go-header) from 0.4.0 to 0.4.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/celestiaorg/go-header/releases">github.com/celestiaorg/go-header's releases</a>.</em></p> <blockquote> <h2>v0.4.1</h2> <h2>What's Changed</h2> <ul> <li>fix(sync): Fix <code>total_synced</code> metric recording by <a href="https://github.com/renaynay"><code>@renaynay</code></a> in <a href="https://redirect.github.com/celestiaorg/go-header/pull/124">celestiaorg/go-header#124</a></li> <li>feat(p2p): metrics for Subscriber by <a href="https://github.com/Wondertan"><code>@Wondertan</code></a> in <a href="https://redirect.github.com/celestiaorg/go-header/pull/119">celestiaorg/go-header#119</a></li> <li>feat(p2p): metrics for Exchange by <a href="https://github.com/Wondertan"><code>@Wondertan</code></a> in <a href="https://redirect.github.com/celestiaorg/go-header/pull/125">celestiaorg/go-header#125</a></li> <li>feat(p2p): metrics for ExchangeServer by <a href="https://github.com/Wondertan"><code>@Wondertan</code></a> in <a href="https://redirect.github.com/celestiaorg/go-header/pull/126">celestiaorg/go-header#126</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/celestiaorg/go-header/compare/v0.4.0...v0.4.1">https://github.com/celestiaorg/go-header/compare/v0.4.0...v0.4.1</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/celestiaorg/go-header/commit/a8ce731635c5b8863353567ce6ae5fef0591e767"><code>a8ce731</code></a> feat(p2p): metrics for ExchangeServer (<a href="https://redirect.github.com/celestiaorg/go-header/issues/126">#126</a>)</li> <li><a href="https://github.com/celestiaorg/go-header/commit/a4d3ca0ecdd47e889fea42fb6b1e7f15c74f2218"><code>a4d3ca0</code></a> feat(p2p): metrics for Exchange (<a href="https://redirect.github.com/celestiaorg/go-header/issues/125">#125</a>)</li> <li><a href="https://github.com/celestiaorg/go-header/commit/09c272dc8e9718e6d076eba780e6ef3df86eb540"><code>09c272d</code></a> feat(p2p): metrics for Subscriber (<a href="https://redirect.github.com/celestiaorg/go-header/issues/119">#119</a>)</li> <li><a href="https://github.com/celestiaorg/go-header/commit/cb63b3978f69f1644bca5e82ba4221fc97600134"><code>cb63b39</code></a> Merge pull request <a href="https://redirect.github.com/celestiaorg/go-header/issues/124">#124</a> from renaynay/fix-total-synced</li> <li><a href="https://github.com/celestiaorg/go-header/commit/f13c92cd04e4a8fc17e0905ca5782310df272b70"><code>f13c92c</code></a> fix(sync): Fix total_synced metric - add, do not override</li> <li>See full diff in <a href="https://github.com/celestiaorg/go-header/compare/v0.4.0...v0.4.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/celestiaorg/go-header&package-manager=go_modules&previous-version=0.4.0&new-version=0.4.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Summary
Change the Interchain account implementation to support other account types
Problem Definition
The interchain account implementation currently only supports cosmos
BaseAccounts
, preventing applications that use different account types (eg: smart contracts, vesting accounts, etc) to benefit from the use cases that Interchain Account provides.https://github.com/cosmos/ibc-go/blob/main/proto/ibc/applications/interchain_accounts/v1/account.proto#L17
Proposal
Update the
InterchainAccount
protobuf message to useproto.Any
to support theAccount
interface from the Cosmos SDKFor Admin Use
The text was updated successfully, but these errors were encountered: