Skip to content

Commit

Permalink
disable executeTx
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 23, 2024
1 parent b54f9fd commit f808615
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions packages/orchestration/src/service.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ export const ChainAccountI = M.interface('ChainAccount', {
getLocalAddress: M.call().returns(M.string()),
getRemoteAddress: M.call().returns(M.string()),
getPort: M.call().returns(M.remotable('Port')),
// FIXME including this causes an error in bootstrap tests: 'Vat Creation Error: Error: Error: "[Symbol(passStyle)]" property expected: "[Function <anon>]"'
// XXX better shape
executeTx: M.call(M.arrayOf(M.any)).optional(M.record()).returns(M.promise()),
// executeTx: M.call(M.arrayOf(M.any)).optional(M.record()).returns(M.promise()),
executeEncodedTx: M.call(M.arrayOf(Proto3Shape))
.optional(M.record())
.returns(M.promise()),
Expand Down Expand Up @@ -130,9 +131,9 @@ const prepareChainAccount = zone =>
getPort() {
return this.state.port;
},
executeTx() {
throw new Error('not yet implemented');
},
// executeTx() {
// throw new Error('not yet implemented');
// },
/**
* Submit a transaction on behalf of the remote accoutn for execution on teh remote chain.
* @param {AnyJson[]} msgs
Expand Down
2 changes: 1 addition & 1 deletion packages/orchestration/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export interface ChainAccount {
* @param msgs - records for the transaction
* @returns acknowledgement string
*/
executeTx: (msgs: Proto3JSONMsg[]) => Promise<string>;
// executeTx: (msgs: Proto3JSONMsg[]) => Promise<string>;
/**
* Submit a transaction on behalf of the remote account for execution on the remote chain.
* @param msgs - records for the transaction
Expand Down

0 comments on commit f808615

Please sign in to comment.