@agoric/orchestration 0.1.1-dev-930b322.0 → 0.1.1-dev-4fdf6ef.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.
- package/package.json +2 -2
- package/src/cctp-chain-info.d.ts +103 -0
- package/src/cctp-chain-info.d.ts.map +1 -1
- package/src/cctp-chain-info.js +96 -0
- package/src/chain-info.d.ts +1 -1
- package/src/chain-info.d.ts.map +1 -1
- package/src/chain-info.js +9 -4
- package/src/exos/orchestrator.d.ts +2 -2
- package/tools/contract-tests.d.ts +6 -4
- package/tools/contract-tests.d.ts.map +1 -1
- package/tools/contract-tests.ts +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-4fdf6ef.0+4fdf6ef",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 97.7
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "4fdf6efba01d871845605b1983f7b618dc511d8b"
|
|
109
109
|
}
|
package/src/cctp-chain-info.d.ts
CHANGED
|
@@ -62,4 +62,107 @@ declare namespace _default {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
export default _default;
|
|
65
|
+
export namespace axelarCCTPConfig {
|
|
66
|
+
export namespace Ethereum {
|
|
67
|
+
let namespace_8: "eip155";
|
|
68
|
+
export { namespace_8 as namespace };
|
|
69
|
+
let reference_8: string;
|
|
70
|
+
export { reference_8 as reference };
|
|
71
|
+
let cctpDestinationDomain_8: number;
|
|
72
|
+
export { cctpDestinationDomain_8 as cctpDestinationDomain };
|
|
73
|
+
}
|
|
74
|
+
export namespace Avalanche {
|
|
75
|
+
let namespace_9: "eip155";
|
|
76
|
+
export { namespace_9 as namespace };
|
|
77
|
+
let reference_9: string;
|
|
78
|
+
export { reference_9 as reference };
|
|
79
|
+
let cctpDestinationDomain_9: number;
|
|
80
|
+
export { cctpDestinationDomain_9 as cctpDestinationDomain };
|
|
81
|
+
}
|
|
82
|
+
export namespace optimism_1 {
|
|
83
|
+
let namespace_10: "eip155";
|
|
84
|
+
export { namespace_10 as namespace };
|
|
85
|
+
let reference_10: string;
|
|
86
|
+
export { reference_10 as reference };
|
|
87
|
+
let cctpDestinationDomain_10: number;
|
|
88
|
+
export { cctpDestinationDomain_10 as cctpDestinationDomain };
|
|
89
|
+
}
|
|
90
|
+
export { optimism_1 as optimism };
|
|
91
|
+
export namespace arbitrum_1 {
|
|
92
|
+
let namespace_11: "eip155";
|
|
93
|
+
export { namespace_11 as namespace };
|
|
94
|
+
let reference_11: string;
|
|
95
|
+
export { reference_11 as reference };
|
|
96
|
+
let cctpDestinationDomain_11: number;
|
|
97
|
+
export { cctpDestinationDomain_11 as cctpDestinationDomain };
|
|
98
|
+
}
|
|
99
|
+
export { arbitrum_1 as arbitrum };
|
|
100
|
+
export namespace Polygon {
|
|
101
|
+
let namespace_12: "eip155";
|
|
102
|
+
export { namespace_12 as namespace };
|
|
103
|
+
let reference_12: string;
|
|
104
|
+
export { reference_12 as reference };
|
|
105
|
+
let cctpDestinationDomain_12: number;
|
|
106
|
+
export { cctpDestinationDomain_12 as cctpDestinationDomain };
|
|
107
|
+
}
|
|
108
|
+
export namespace Fantom {
|
|
109
|
+
let namespace_13: "eip155";
|
|
110
|
+
export { namespace_13 as namespace };
|
|
111
|
+
let reference_13: string;
|
|
112
|
+
export { reference_13 as reference };
|
|
113
|
+
}
|
|
114
|
+
export namespace binance {
|
|
115
|
+
let namespace_14: "eip155";
|
|
116
|
+
export { namespace_14 as namespace };
|
|
117
|
+
let reference_14: string;
|
|
118
|
+
export { reference_14 as reference };
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Testnet chains only.
|
|
123
|
+
*
|
|
124
|
+
* Sourced from:
|
|
125
|
+
*
|
|
126
|
+
* - https://developers.circle.com/stablecoins/supported-domains
|
|
127
|
+
* - https://chainlist.org/
|
|
128
|
+
* - https://docs.simplehash.com/reference/supported-chains-testnets (accessed on
|
|
129
|
+
* 4 July 2025)
|
|
130
|
+
*
|
|
131
|
+
* @satisfies {Record<string, import('./orchestration-api').BaseChainInfo>}
|
|
132
|
+
*/
|
|
133
|
+
export const axelarCCTPConfigTestnet: {
|
|
134
|
+
'ethereum-sepolia': {
|
|
135
|
+
namespace: "eip155";
|
|
136
|
+
reference: string;
|
|
137
|
+
cctpDestinationDomain: number;
|
|
138
|
+
};
|
|
139
|
+
Avalanche: {
|
|
140
|
+
namespace: "eip155";
|
|
141
|
+
reference: string;
|
|
142
|
+
cctpDestinationDomain: number;
|
|
143
|
+
};
|
|
144
|
+
'optimism-sepolia': {
|
|
145
|
+
namespace: "eip155";
|
|
146
|
+
reference: string;
|
|
147
|
+
cctpDestinationDomain: number;
|
|
148
|
+
};
|
|
149
|
+
'arbitrum-sepolia': {
|
|
150
|
+
namespace: "eip155";
|
|
151
|
+
reference: string;
|
|
152
|
+
cctpDestinationDomain: number;
|
|
153
|
+
};
|
|
154
|
+
'polygon-sepolia': {
|
|
155
|
+
namespace: "eip155";
|
|
156
|
+
reference: string;
|
|
157
|
+
cctpDestinationDomain: number;
|
|
158
|
+
};
|
|
159
|
+
Fantom: {
|
|
160
|
+
namespace: "eip155";
|
|
161
|
+
reference: string;
|
|
162
|
+
};
|
|
163
|
+
binance: {
|
|
164
|
+
namespace: "eip155";
|
|
165
|
+
reference: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
65
168
|
//# sourceMappingURL=cctp-chain-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cctp-chain-info.d.ts","sourceRoot":"","sources":["cctp-chain-info.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"cctp-chain-info.d.ts","sourceRoot":"","sources":["cctp-chain-info.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqGA;;;;;;;;;;;GAWG;AACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCE"}
|
package/src/cctp-chain-info.js
CHANGED
|
@@ -50,3 +50,99 @@ export default /** @type {const} } */ ({
|
|
|
50
50
|
cctpDestinationDomain: 7,
|
|
51
51
|
},
|
|
52
52
|
});
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Mainnet chains only.
|
|
56
|
+
*
|
|
57
|
+
* Sourced from:
|
|
58
|
+
*
|
|
59
|
+
* - https://developers.circle.com/stablecoins/supported-domains
|
|
60
|
+
* - https://chainlist.org/
|
|
61
|
+
* - https://docs.simplehash.com/reference/supported-chains-testnets (accessed on
|
|
62
|
+
* 4 July 2025)
|
|
63
|
+
*
|
|
64
|
+
* @satisfies {Record<string, import('./orchestration-api').BaseChainInfo>}
|
|
65
|
+
*/
|
|
66
|
+
export const axelarCCTPConfig = {
|
|
67
|
+
Ethereum: {
|
|
68
|
+
namespace: 'eip155',
|
|
69
|
+
reference: '1',
|
|
70
|
+
cctpDestinationDomain: 0,
|
|
71
|
+
},
|
|
72
|
+
Avalanche: {
|
|
73
|
+
namespace: 'eip155',
|
|
74
|
+
reference: '43114',
|
|
75
|
+
cctpDestinationDomain: 1,
|
|
76
|
+
},
|
|
77
|
+
optimism: {
|
|
78
|
+
namespace: 'eip155',
|
|
79
|
+
reference: '10',
|
|
80
|
+
cctpDestinationDomain: 2,
|
|
81
|
+
},
|
|
82
|
+
arbitrum: {
|
|
83
|
+
namespace: 'eip155',
|
|
84
|
+
reference: '42161',
|
|
85
|
+
cctpDestinationDomain: 3,
|
|
86
|
+
},
|
|
87
|
+
Polygon: {
|
|
88
|
+
namespace: 'eip155',
|
|
89
|
+
reference: '137',
|
|
90
|
+
cctpDestinationDomain: 7,
|
|
91
|
+
},
|
|
92
|
+
Fantom: {
|
|
93
|
+
namespace: 'eip155',
|
|
94
|
+
reference: '250',
|
|
95
|
+
},
|
|
96
|
+
binance: {
|
|
97
|
+
namespace: 'eip155',
|
|
98
|
+
reference: '56',
|
|
99
|
+
},
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Testnet chains only.
|
|
104
|
+
*
|
|
105
|
+
* Sourced from:
|
|
106
|
+
*
|
|
107
|
+
* - https://developers.circle.com/stablecoins/supported-domains
|
|
108
|
+
* - https://chainlist.org/
|
|
109
|
+
* - https://docs.simplehash.com/reference/supported-chains-testnets (accessed on
|
|
110
|
+
* 4 July 2025)
|
|
111
|
+
*
|
|
112
|
+
* @satisfies {Record<string, import('./orchestration-api').BaseChainInfo>}
|
|
113
|
+
*/
|
|
114
|
+
export const axelarCCTPConfigTestnet = {
|
|
115
|
+
'ethereum-sepolia': {
|
|
116
|
+
namespace: 'eip155',
|
|
117
|
+
reference: '11155111',
|
|
118
|
+
cctpDestinationDomain: 0,
|
|
119
|
+
},
|
|
120
|
+
Avalanche: {
|
|
121
|
+
namespace: 'eip155',
|
|
122
|
+
reference: '43113',
|
|
123
|
+
cctpDestinationDomain: 1,
|
|
124
|
+
},
|
|
125
|
+
'optimism-sepolia': {
|
|
126
|
+
namespace: 'eip155',
|
|
127
|
+
reference: '11155420',
|
|
128
|
+
cctpDestinationDomain: 2,
|
|
129
|
+
},
|
|
130
|
+
'arbitrum-sepolia': {
|
|
131
|
+
namespace: 'eip155',
|
|
132
|
+
reference: '421614',
|
|
133
|
+
cctpDestinationDomain: 3,
|
|
134
|
+
},
|
|
135
|
+
'polygon-sepolia': {
|
|
136
|
+
namespace: 'eip155',
|
|
137
|
+
reference: '80002',
|
|
138
|
+
cctpDestinationDomain: 7,
|
|
139
|
+
},
|
|
140
|
+
Fantom: {
|
|
141
|
+
namespace: 'eip155',
|
|
142
|
+
reference: '4002', // XXX: confirm this ID
|
|
143
|
+
},
|
|
144
|
+
binance: {
|
|
145
|
+
namespace: 'eip155',
|
|
146
|
+
reference: '97',
|
|
147
|
+
},
|
|
148
|
+
};
|
package/src/chain-info.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export namespace KnownNamespace {
|
|
|
9
9
|
}
|
|
10
10
|
export function registerChainAssets(agoricNamesAdmin: ERef<NameAdmin>, name: string, assets: CosmosAssetInfo[]): Promise<void>;
|
|
11
11
|
export function registerChain(agoricNamesAdmin: ERef<NameAdmin>, name: string, chainInfo: ChainInfo, log?: (...messages: string[]) => void, handledConnections?: Set<string>): Promise<void>;
|
|
12
|
-
export function registerKnownChains(agoricNamesAdmin: ERef<import("@agoric/vats").NameHubKit["nameAdmin"]>, log?: (...messages: string[]) => void): Promise<void>;
|
|
12
|
+
export function registerKnownChains(agoricNamesAdmin: ERef<import("@agoric/vats").NameHubKit["nameAdmin"]>, log?: (...messages: string[]) => void, chains?: Record<string, ChainInfo>): Promise<void>;
|
|
13
13
|
export type KnownChains = typeof knownChains;
|
|
14
14
|
import type { NameAdmin } from '@agoric/vats';
|
|
15
15
|
import type { CosmosAssetInfo } from './types.js';
|
package/src/chain-info.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain-info.d.ts","sourceRoot":"","sources":["chain-info.js"],"names":[],"mappings":";;;6BAwBU,CAAC,OAAO,cAAc,EAAE,MAAM,OAAO,cAAc,CAAC;;;;;;AA6BvD,sDALI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,UACN,eAAe,EAAE,iBAS3B;AAYM,gDAPI,IAAI,CAAC,SAAS,CAAC,QACf,MAAM,aACN,SAAS,QACT,CAAC,GAAG,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,uBAC/B,GAAG,CAAC,MAAM,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEE"}
|
package/src/chain-info.js
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
|
|
8
8
|
import { E } from '@endo/far';
|
|
9
9
|
import { M, mustMatch } from '@endo/patterns';
|
|
10
|
+
import cctpChainInfo from './cctp-chain-info.js';
|
|
11
|
+
import { withChainCapabilities } from './chain-capabilities.js';
|
|
10
12
|
import { HubName, normalizeConnectionInfo } from './exos/chain-hub.js';
|
|
11
13
|
import fetchedChainInfo from './fetched-chain-info.js'; // Refresh with scripts/refresh-chain-info.ts
|
|
12
14
|
import { ChainInfoShape, CosmosAssetInfoShape } from './typeGuards.js';
|
|
13
|
-
import cctpChainInfo from './cctp-chain-info.js';
|
|
14
|
-
import { withChainCapabilities } from './chain-capabilities.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @import {CosmosAssetInfo, CosmosChainInfo, IBCConnectionInfo} from './types.js';
|
|
@@ -125,10 +125,15 @@ export const registerChain = async (
|
|
|
125
125
|
*
|
|
126
126
|
* @param {ERef<import('@agoric/vats').NameHubKit['nameAdmin']>} agoricNamesAdmin
|
|
127
127
|
* @param {(...messages: string[]) => void} [log]
|
|
128
|
+
* @param {Record<string, ChainInfo>} chains
|
|
128
129
|
*/
|
|
129
|
-
export const registerKnownChains = async (
|
|
130
|
+
export const registerKnownChains = async (
|
|
131
|
+
agoricNamesAdmin,
|
|
132
|
+
log,
|
|
133
|
+
chains = knownChains,
|
|
134
|
+
) => {
|
|
130
135
|
const handledConnections = new Set();
|
|
131
|
-
for await (const [name, info] of Object.entries(
|
|
136
|
+
for await (const [name, info] of Object.entries(chains)) {
|
|
132
137
|
await registerChain(agoricNamesAdmin, name, info, log, handledConnections);
|
|
133
138
|
}
|
|
134
139
|
};
|
|
@@ -11,7 +11,7 @@ export function prepareOrchestrator(zone: Zone, powers: {
|
|
|
11
11
|
vowTools: VowTools;
|
|
12
12
|
}): () => import("@endo/exo").Guarded<{
|
|
13
13
|
getChain(chainName: string): Vow<HostInterface<Chain<any> & object>>;
|
|
14
|
-
getDenomInfo(denom: string, srcChainName: "agoric" | "
|
|
14
|
+
getDenomInfo(denom: string, srcChainName: "agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon"): HostInterface<import("../orchestration-api.js").DenomInfo<"agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon", "agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon">>;
|
|
15
15
|
/** @type {HostOf<Orchestrator['asAmount']>} */
|
|
16
16
|
asAmount: HostOf<Orchestrator["asAmount"]>;
|
|
17
17
|
}>;
|
|
@@ -105,7 +105,7 @@ declare function prepareOrchestratorKit(zone: Zone, { chainHub, makeLocalChainFa
|
|
|
105
105
|
};
|
|
106
106
|
orchestrator: {
|
|
107
107
|
getChain(chainName: string): Vow<HostInterface<Chain<any> & object>>;
|
|
108
|
-
getDenomInfo(denom: string, srcChainName: "agoric" | "
|
|
108
|
+
getDenomInfo(denom: string, srcChainName: "agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon"): HostInterface<import("../orchestration-api.js").DenomInfo<"agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon", "agoric" | "solana" | "celestia" | "cosmoshub" | "juno" | "neutron" | "noble" | "omniflixhub" | "osmosis" | "secretnetwork" | "stargaze" | "stride" | "umee" | "dydx" | "archway" | "axelar" | "evmos" | "haqq" | "kava" | "kujira" | "migaloo" | "nolus" | "persistence" | "pryzm" | "sei" | "shido" | "titan" | "beezee" | "carbon" | "coreum" | "crescent" | "doravota" | "dymension" | "empowerchain" | "injective" | "lava" | "nibiru" | "planq" | "provenance" | "quicksilver" | "sifchain" | "terra2" | "ethereum" | "avalanche" | "optimism" | "arbitrum" | "base" | "polygon">>;
|
|
109
109
|
/** @type {HostOf<Orchestrator['asAmount']>} */
|
|
110
110
|
asAmount: HostOf<Orchestrator["asAmount"]>;
|
|
111
111
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import type { MsgTransfer } from '@agoric/cosmic-proto/ibc/applications/transfer/v1/tx.js';
|
|
2
2
|
import { type VTransferIBCEvent } from '@agoric/vats';
|
|
3
3
|
import type { ExecutionContext } from 'ava';
|
|
4
|
+
import { type ChainInfo } from '../index.js';
|
|
4
5
|
export declare const ROOT_STORAGE_PATH = "orchtest";
|
|
5
6
|
/**
|
|
6
7
|
* Common setup for contract tests, without any specific asset configuration.
|
|
7
8
|
*/
|
|
8
|
-
export declare const setupOrchestrationTest: ({ log, }: {
|
|
9
|
+
export declare const setupOrchestrationTest: ({ log, chains, }: {
|
|
9
10
|
log: ExecutionContext<any>["log"];
|
|
11
|
+
chains?: Record<string, ChainInfo>;
|
|
10
12
|
}) => Promise<{
|
|
11
13
|
bootstrap: {
|
|
12
14
|
agoricNames: import("@agoric/vats").NameHub<any>;
|
|
@@ -1745,10 +1747,10 @@ export declare const setupOrchestrationTest: ({ log, }: {
|
|
|
1745
1747
|
agoricNames: import("@agoric/vats").NameHub<any>;
|
|
1746
1748
|
/** A chainHub for Exo tests, distinct from the one a contract makes within `withOrchestration` */
|
|
1747
1749
|
chainHub: import("@endo/exo").Guarded<{
|
|
1748
|
-
registerChain(name: string, chainInfo:
|
|
1749
|
-
updateChain(chainName: string, chainInfo:
|
|
1750
|
+
registerChain(name: string, chainInfo: ChainInfo): void;
|
|
1751
|
+
updateChain(chainName: string, chainInfo: ChainInfo): void;
|
|
1750
1752
|
getChainInfo<K extends string>(chainName: K): import("@agoric/vow").Vow<ActualChainInfo<K>>;
|
|
1751
|
-
getChainInfoByChainId(chainId: import("../index.js").CaipChainId):
|
|
1753
|
+
getChainInfoByChainId(chainId: import("../index.js").CaipChainId): ChainInfo;
|
|
1752
1754
|
registerConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("../index.js").IBCConnectionInfo): void;
|
|
1753
1755
|
updateConnection(primaryChainId: string, counterpartyChainId: string, connectionInfo: import("../index.js").IBCConnectionInfo): void;
|
|
1754
1756
|
getConnectionInfo(primary: string | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contract-tests.d.ts","sourceRoot":"","sources":["contract-t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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAqII,kGAAkG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA/InE,MAAM;qBAT9B,WAAW;sBACV,MAAM;;;wCA2DT,iBAAiB,CAAC,OAAO,CAAC,SAC1B,MAAM,GAAG;YAAE,OAAO,EAAE,WAAW,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,yBACnC,MAAM;;;EA4GhC,CAAC"}
|
package/tools/contract-tests.ts
CHANGED
|
@@ -31,7 +31,7 @@ import { makeHeapZone } from '@agoric/zone';
|
|
|
31
31
|
import { E } from '@endo/far';
|
|
32
32
|
import { objectMap } from '@endo/patterns';
|
|
33
33
|
import type { ExecutionContext } from 'ava';
|
|
34
|
-
import { withChainCapabilities } from '../index.js';
|
|
34
|
+
import { withChainCapabilities, type ChainInfo } from '../index.js';
|
|
35
35
|
import cctpChainInfo from '../src/cctp-chain-info.js';
|
|
36
36
|
import { registerKnownChains } from '../src/chain-info.js';
|
|
37
37
|
import { makeChainHub } from '../src/exos/chain-hub.js';
|
|
@@ -46,8 +46,10 @@ export const ROOT_STORAGE_PATH = 'orchtest'; // Orchetration Contract Test
|
|
|
46
46
|
*/
|
|
47
47
|
export const setupOrchestrationTest = async ({
|
|
48
48
|
log,
|
|
49
|
+
chains,
|
|
49
50
|
}: {
|
|
50
51
|
log: ExecutionContext<any>['log'];
|
|
52
|
+
chains?: Record<string, ChainInfo>;
|
|
51
53
|
}) => {
|
|
52
54
|
// The common setup cannot support a durable zone because many of the fakes are not durable.
|
|
53
55
|
// They were made before we had durable kinds (and thus don't take a zone or baggage).
|
|
@@ -136,7 +138,8 @@ export const setupOrchestrationTest = async ({
|
|
|
136
138
|
portAllocator,
|
|
137
139
|
});
|
|
138
140
|
|
|
139
|
-
|
|
141
|
+
const chainsToRegister = chains || undefined;
|
|
142
|
+
await registerKnownChains(agoricNamesAdmin, () => {}, chainsToRegister);
|
|
140
143
|
|
|
141
144
|
type TransferMessageInfo = {
|
|
142
145
|
message: MsgTransfer;
|