@agoric/orchestration 0.1.1-dev-9608fa8.0.9608fa8 → 0.1.1-dev-a07a77d.0.a07a77d
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agoric/orchestration",
|
|
3
|
-
"version": "0.1.1-dev-
|
|
3
|
+
"version": "0.1.1-dev-a07a77d.0.a07a77d",
|
|
4
4
|
"description": "Chain abstraction for Agoric's orchestration clients",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"homepage": "https://github.com/Agoric/agoric-sdk#readme",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@agoric/async-flow": "0.1.1-dev-
|
|
39
|
-
"@agoric/cosmic-proto": "0.4.1-dev-
|
|
40
|
-
"@agoric/ertp": "0.16.3-dev-
|
|
41
|
-
"@agoric/internal": "0.3.3-dev-
|
|
42
|
-
"@agoric/network": "0.1.1-dev-
|
|
43
|
-
"@agoric/notifier": "0.6.3-dev-
|
|
44
|
-
"@agoric/store": "0.9.3-dev-
|
|
45
|
-
"@agoric/time": "0.3.3-dev-
|
|
46
|
-
"@agoric/vat-data": "0.5.3-dev-
|
|
47
|
-
"@agoric/vats": "0.15.2-dev-
|
|
48
|
-
"@agoric/vow": "0.1.1-dev-
|
|
49
|
-
"@agoric/zoe": "0.26.3-dev-
|
|
50
|
-
"@agoric/zone": "0.2.3-dev-
|
|
38
|
+
"@agoric/async-flow": "0.1.1-dev-a07a77d.0.a07a77d",
|
|
39
|
+
"@agoric/cosmic-proto": "0.4.1-dev-a07a77d.0.a07a77d",
|
|
40
|
+
"@agoric/ertp": "0.16.3-dev-a07a77d.0.a07a77d",
|
|
41
|
+
"@agoric/internal": "0.3.3-dev-a07a77d.0.a07a77d",
|
|
42
|
+
"@agoric/network": "0.1.1-dev-a07a77d.0.a07a77d",
|
|
43
|
+
"@agoric/notifier": "0.6.3-dev-a07a77d.0.a07a77d",
|
|
44
|
+
"@agoric/store": "0.9.3-dev-a07a77d.0.a07a77d",
|
|
45
|
+
"@agoric/time": "0.3.3-dev-a07a77d.0.a07a77d",
|
|
46
|
+
"@agoric/vat-data": "0.5.3-dev-a07a77d.0.a07a77d",
|
|
47
|
+
"@agoric/vats": "0.15.2-dev-a07a77d.0.a07a77d",
|
|
48
|
+
"@agoric/vow": "0.1.1-dev-a07a77d.0.a07a77d",
|
|
49
|
+
"@agoric/zoe": "0.26.3-dev-a07a77d.0.a07a77d",
|
|
50
|
+
"@agoric/zone": "0.2.3-dev-a07a77d.0.a07a77d",
|
|
51
51
|
"@cosmjs/encoding": "^0.36.0",
|
|
52
52
|
"@endo/base64": "^1.0.12",
|
|
53
53
|
"@endo/errors": "^1.2.13",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"esbuild": "^0.25.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@agoric/swingset-liveslots": "0.10.3-dev-
|
|
63
|
+
"@agoric/swingset-liveslots": "0.10.3-dev-a07a77d.0.a07a77d",
|
|
64
64
|
"@chain-registry/client": "^1.47.4",
|
|
65
65
|
"@cosmjs/amino": "^0.36.0",
|
|
66
66
|
"@cosmjs/proto-signing": "^0.36.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"typeCoverage": {
|
|
106
106
|
"atLeast": 97.49
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "a07a77db1c4ace5757a48eb358ba32573316cc14"
|
|
109
109
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"axelar-gmp.flows.d.ts","sourceRoot":"","sources":["axelar-gmp.flows.js"],"names":[],"mappings":"AAsDO,0CAtBI,YAAY,uEACZ;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,eAAe,QAAQ,CAAC,CAAC;IACnC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC;IACzC,aAAa,EAAE,QACnB,CACQ,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,mBAAmB,EACjC,OAAO,EAAE,mBAAmB,KACzB,IAAI,IAAI,CAAC,CACf,CAAC;IACF,cAAc,EAAE,QACpB,CACQ,YAAY,EAAE,mBAAmB,EACjC,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,mBAAmB,KACzB,IAAI,IAAI,CAAC,CACf,CAAC;CACH,QACO,OAAO;;;;
|
|
1
|
+
{"version":3,"file":"axelar-gmp.flows.d.ts","sourceRoot":"","sources":["axelar-gmp.flows.js"],"names":[],"mappings":"AAsDO,0CAtBI,YAAY,uEACZ;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,QAAQ,EAAE,eAAe,QAAQ,CAAC,CAAC;IACnC,GAAG,EAAE,QAAQ,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,IAAI,CAAC,CAAC,CAAC;IACzC,aAAa,EAAE,QACnB,CACQ,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,mBAAmB,EACjC,OAAO,EAAE,mBAAmB,KACzB,IAAI,IAAI,CAAC,CACf,CAAC;IACF,cAAc,EAAE,QACpB,CACQ,YAAY,EAAE,mBAAmB,EACjC,QAAQ,EAAE,OAAO,EACjB,OAAO,EAAE,mBAAmB,KACzB,IAAI,IAAI,CAAC,CACf,CAAC;CACH,QACO,OAAO;;;;GA2GjB;kCA5IiD,uBAAuB;uCACrC,6BAA6B;8BACtC,6CAA6C;oCAH9B,oBAAoB;yBAIxC,aAAa;6BAJO,oBAAoB;6BAKf,aAAa;yCACtB,uBAAuB;yCADd,aAAa"}
|
|
@@ -13,7 +13,7 @@ import { makeTracer, NonNullish } from '@agoric/internal';
|
|
|
13
13
|
import { Fail, makeError, q } from '@endo/errors';
|
|
14
14
|
import { AxelarGMPMessageType } from '../axelar-types.js';
|
|
15
15
|
import { denomHash } from '../utils/denomHash.js';
|
|
16
|
-
import {
|
|
16
|
+
import { buildGasPayload, gmpAddresses } from '../utils/gmp.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* @import {GuestInterface, GuestOf} from '@agoric/async-flow';
|
|
@@ -118,10 +118,14 @@ export const createAndMonitorLCA = async (
|
|
|
118
118
|
const memo = {
|
|
119
119
|
destination_chain: 'Ethereum',
|
|
120
120
|
destination_address: factoryContractAddress,
|
|
121
|
-
|
|
121
|
+
// XXX: Ideally, the gas amount should be provided via offerArgs.
|
|
122
|
+
// For now, this approach ensures that the workflow at
|
|
123
|
+
// https://github.com/agoric-labs/agoric-to-axelar-local/actions/workflows/agoric-integration.yml
|
|
124
|
+
// runs successfully.
|
|
125
|
+
payload: buildGasPayload(0n),
|
|
122
126
|
type: AxelarGMPMessageType.ContractCall,
|
|
123
127
|
fee: {
|
|
124
|
-
amount:
|
|
128
|
+
amount: String(amt.value), // TODO: Get fee amount from api
|
|
125
129
|
recipient: gmpAddresses.AXELAR_GAS,
|
|
126
130
|
},
|
|
127
131
|
};
|