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

docs: ADR for introducing ICA Controller module on the Hub #2994

Merged
merged 6 commits into from
Mar 19, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions docs/docs/architecture/adr/adr-003-ica-controller.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# ADR 003: Interchain Accounts Controller Module

## Changelog

- 2024-03-08: Initial Draft

## Status

DRAFT
dusan-maksimovic marked this conversation as resolved.
Show resolved Hide resolved

## Abstract

The Interchain Accounts Controller IBC module allows users of one chain to create and control accounts on other chains. The Hub currently doesn't have ICA Controller module enabled, so it is not possible to create accounts on other chains from the Hub chain.

## Context

Enabling the ICA Controller module on the Hub would support various use cases. One such case could be the provider-based governance that would allow the ATOM stakers to participate in a governance on consumer chains.

## Decision

MSalopek marked this conversation as resolved.
Show resolved Hide resolved
The ICA Controller module will be included in the application, so the Hub will have both ICA Host and Controller modules. The implementation will use the Controller module's built-in authentication mechanism, since we don't have a need for custom authentication logic. According to this, users will directly use `MsgRegisterInterchainAccount` and `MsgSendTx` messages defined by the Controller module. The possibility provided by the Controller module to define underlaying application to have custom processing of IBC messages exchanged by the Controller module (e.g. `OnChanOpenInit`, `OnAcknowledgementPacket`, etc.) will not be used, since there is currently no need for this.

## Consequences

### Positive

Users of the Hub will have a possibility to create and utilize Interchain Accounts on other IBC connected chains.

### Negative

### Neutral
MSalopek marked this conversation as resolved.
Show resolved Hide resolved

## References

[https://github.com/cosmos/gaia/issues/2869](https://github.com/cosmos/gaia/issues/2869)
Loading