@agoric/orchestration 0.1.1-dev-66bf702.0 → 0.1.1-dev-31a57fc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -59,8 +59,8 @@ export const startStakeAtom = async ({
59
59
  installation: stakeIca,
60
60
  terms: {
61
61
  chainId: cosmoshub.chainId,
62
- hostConnectionId: connectionInfo.id,
63
- controllerConnectionId: connectionInfo.counterparty.connection_id,
62
+ hostConnectionId: connectionInfo.counterparty.connection_id,
63
+ controllerConnectionId: connectionInfo.id,
64
64
  bondDenom: cosmoshub.stakingTokens[0].denom,
65
65
  icqEnabled: cosmoshub.icqEnabled,
66
66
  },
@@ -64,8 +64,8 @@ export const startStakeOsmo = async ({
64
64
  installation: stakeIca,
65
65
  terms: {
66
66
  chainId: osmosis.chainId,
67
- hostConnectionId: connectionInfo.id,
68
- controllerConnectionId: connectionInfo.counterparty.connection_id,
67
+ hostConnectionId: connectionInfo.counterparty.connection_id,
68
+ controllerConnectionId: connectionInfo.id,
69
69
  bondDenom: osmosis.stakingTokens[0].denom,
70
70
  icqEnabled: osmosis.icqEnabled,
71
71
  },
@@ -7,7 +7,7 @@ import { Fail } from '@endo/errors';
7
7
  */
8
8
 
9
9
  /**
10
- * @param {IBCConnectionID} hostConnectionId Counterpart Connection ID
10
+ * @param {IBCConnectionID} hostConnectionId Counterparty Connection ID
11
11
  * @param {IBCConnectionID} controllerConnectionId Self Connection ID
12
12
  * @param {object} [opts]
13
13
  * @param {string} [opts.encoding] - message encoding format for the channel.
@@ -53,8 +53,8 @@ function toConnectionEntry(ibcInfo, name, chainInfo) {
53
53
  }
54
54
  const [channel] = transferChannels;
55
55
  const [channelFrom, channelTo] = fromChain1
56
- ? [channel.chain_2, channel.chain_1]
57
- : [channel.chain_1, channel.chain_2];
56
+ ? [channel.chain_1, channel.chain_2]
57
+ : [channel.chain_2, channel.chain_1];
58
58
  const record = {
59
59
  id: /** @type {IBCConnectionID} */ (from.connection_id),
60
60
  client_id: from.client_id,