You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new query rpc method should be added to the controller submodule to allow end users the ability to inspect the interchain account address generated on the host chain.
Add the rpc endpoint to the controller submodule Query service
Add the implementation to the controller submodule Keeper
Add a CLI query to the controller submodule queryCmd
serviceQuery {
// InterchainAccount returns the interchain account address for a given owner address on a given connectionrpcInterchainAccount(QueryInterchainAccountRequest) returns (QueryInterchainAccountResponse) {}
...
}
// QueryInterchainAccountRequest is the request type for the Query/InterchainAccount RPC method.messageQueryInterchainAccountRequest {
stringowner=1;
stringconnection_id=2 [(gogoproto.moretags) = "yaml:\"connection_id\""];
}
// QueryInterchainAccountResponse the response type for the Query/InterchainAccount RPC method.messageQueryInterchainAccountResponse {
stringaddress=1;
}
For Admin Use
Not duplicate issue
Appropriate labels applied
Appropriate contributors tagged/assigned
The text was updated successfully, but these errors were encountered:
Summary
A new query rpc method should be added to the controller submodule to allow end users the ability to inspect the interchain account address generated on the host chain.
controller
submoduleQuery
servicecontroller
submoduleKeeper
controller
submodulequeryCmd
For Admin Use
The text was updated successfully, but these errors were encountered: