mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 16:32:39 +00:00
Object copy tests (#53)
* object copy tests * update object tests * update package-lock.json * compiled aqua * Update package.json Change version
This commit is contained in:
parent
b324e6a86b
commit
58d751544d
@ -27,13 +27,14 @@ func getObj() -> SomeObj:
|
|||||||
|
|
||||||
func getObjRelay() -> SomeObj:
|
func getObjRelay() -> SomeObj:
|
||||||
on HOST_PEER_ID:
|
on HOST_PEER_ID:
|
||||||
obj = SomeObj(str = "some str", num = 5, inner = InnerObj(arr = OpArr.identity(["a", "b", "c"]), num = 6))
|
obj = SomeObj(str = "diff str", num = 5, inner = InnerObj(arr = OpArr.identity(["a", "b", "c"]), num = 6))
|
||||||
Op.noop()
|
Op.noop()
|
||||||
<- obj
|
<- obj.copy(str = "some str")
|
||||||
|
|
||||||
func getObjAssign() -> SomeObj:
|
func getObjAssign() -> SomeObj, SomeObj, u32:
|
||||||
obj = SomeObj(str = "some str",
|
obj = SomeObj(str = "first str",
|
||||||
num = OpNum.identity(5),
|
num = OpNum.identity(5),
|
||||||
inner = InnerObj(arr = ["a", "b", "c"], num = 6)
|
inner = InnerObj(arr = ["d", "e", "f"], num = 7)
|
||||||
)
|
)
|
||||||
<- obj
|
copiedObj = obj.copy(str = "some str", inner = obj.inner.copy(arr = ["a", "b", "c"])).copy(num = 6)
|
||||||
|
<- obj, copiedObj, copiedObj.inner.copy(arr = ["g"]).arr.length
|
32
package-lock.json
generated
32
package-lock.json
generated
@ -682,7 +682,7 @@
|
|||||||
},
|
},
|
||||||
"node_modules/@fluencelabs/aqua-ipfs/node_modules/@fluencelabs/aqua-lib": {
|
"node_modules/@fluencelabs/aqua-ipfs/node_modules/@fluencelabs/aqua-lib": {
|
||||||
"version": "0.5.2",
|
"version": "0.5.2",
|
||||||
"resolved": "https://registry.npmjs.org/@fluencelabs/aqua-lib/-/aqua-lib-0.5.2.tgz",
|
"resolved": "https://npm.fluence.dev/@fluencelabs%2faqua-lib/-/aqua-lib-0.5.2.tgz",
|
||||||
"integrity": "sha512-fmoFFE8myhLH9d+YR0+0ZPL2YIQyR6M1woAGu5d1xXI02Sjzn4id6dE4PpxHb8cSBPRie8AwsKobHCNqGxI8oA==",
|
"integrity": "sha512-fmoFFE8myhLH9d+YR0+0ZPL2YIQyR6M1woAGu5d1xXI02Sjzn4id6dE4PpxHb8cSBPRie8AwsKobHCNqGxI8oA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
@ -765,7 +765,7 @@
|
|||||||
},
|
},
|
||||||
"node_modules/@fluencelabs/fluence/node_modules/loglevel": {
|
"node_modules/@fluencelabs/fluence/node_modules/loglevel": {
|
||||||
"version": "1.8.1",
|
"version": "1.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.8.1.tgz",
|
"resolved": "https://npm.fluence.dev/loglevel/-/loglevel-1.8.1.tgz",
|
||||||
"integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==",
|
"integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 0.6.0"
|
"node": ">= 0.6.0"
|
||||||
@ -1739,9 +1739,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/async": {
|
"node_modules/async": {
|
||||||
"version": "3.2.3",
|
"version": "3.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
|
"resolved": "https://npm.fluence.dev/async/-/async-3.2.4.tgz",
|
||||||
"integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="
|
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
|
||||||
},
|
},
|
||||||
"node_modules/asynckit": {
|
"node_modules/asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
@ -5584,9 +5584,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/multiformats": {
|
"node_modules/multiformats": {
|
||||||
"version": "9.6.5",
|
"version": "9.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz",
|
"resolved": "https://npm.fluence.dev/multiformats/-/multiformats-9.9.0.tgz",
|
||||||
"integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw=="
|
"integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg=="
|
||||||
},
|
},
|
||||||
"node_modules/multihashes": {
|
"node_modules/multihashes": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.3",
|
||||||
@ -8176,7 +8176,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fluencelabs/aqua-lib": {
|
"@fluencelabs/aqua-lib": {
|
||||||
"version": "0.5.2",
|
"version": "0.5.2",
|
||||||
"resolved": "https://registry.npmjs.org/@fluencelabs/aqua-lib/-/aqua-lib-0.5.2.tgz",
|
"resolved": "https://npm.fluence.dev/@fluencelabs%2faqua-lib/-/aqua-lib-0.5.2.tgz",
|
||||||
"integrity": "sha512-fmoFFE8myhLH9d+YR0+0ZPL2YIQyR6M1woAGu5d1xXI02Sjzn4id6dE4PpxHb8cSBPRie8AwsKobHCNqGxI8oA==",
|
"integrity": "sha512-fmoFFE8myhLH9d+YR0+0ZPL2YIQyR6M1woAGu5d1xXI02Sjzn4id6dE4PpxHb8cSBPRie8AwsKobHCNqGxI8oA==",
|
||||||
"dev": true
|
"dev": true
|
||||||
}
|
}
|
||||||
@ -8245,7 +8245,7 @@
|
|||||||
},
|
},
|
||||||
"loglevel": {
|
"loglevel": {
|
||||||
"version": "1.8.1",
|
"version": "1.8.1",
|
||||||
"resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.8.1.tgz",
|
"resolved": "https://npm.fluence.dev/loglevel/-/loglevel-1.8.1.tgz",
|
||||||
"integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg=="
|
"integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg=="
|
||||||
},
|
},
|
||||||
"multiformats": {
|
"multiformats": {
|
||||||
@ -9081,9 +9081,9 @@
|
|||||||
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
|
"integrity": "sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw=="
|
||||||
},
|
},
|
||||||
"async": {
|
"async": {
|
||||||
"version": "3.2.3",
|
"version": "3.2.4",
|
||||||
"resolved": "https://registry.npmjs.org/async/-/async-3.2.3.tgz",
|
"resolved": "https://npm.fluence.dev/async/-/async-3.2.4.tgz",
|
||||||
"integrity": "sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g=="
|
"integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ=="
|
||||||
},
|
},
|
||||||
"asynckit": {
|
"asynckit": {
|
||||||
"version": "0.4.0",
|
"version": "0.4.0",
|
||||||
@ -12147,9 +12147,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"multiformats": {
|
"multiformats": {
|
||||||
"version": "9.6.5",
|
"version": "9.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.6.5.tgz",
|
"resolved": "https://npm.fluence.dev/multiformats/-/multiformats-9.9.0.tgz",
|
||||||
"integrity": "sha512-vMwf/FUO+qAPvl3vlSZEgEVFY/AxeZq5yg761ScF3CZsXgmTi/HGkicUiNN0CI4PW8FiY2P0OLklOcmQjdQJhw=="
|
"integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg=="
|
||||||
},
|
},
|
||||||
"multihashes": {
|
"multihashes": {
|
||||||
"version": "4.0.3",
|
"version": "4.0.3",
|
||||||
|
@ -2,19 +2,19 @@ import {getObjAssignCall, getObjCall, getObjRelayCall} from "../examples/objectC
|
|||||||
|
|
||||||
jest.retryTimes(1)
|
jest.retryTimes(1)
|
||||||
|
|
||||||
import { Fluence, FluencePeer, KeyPair, setLogLevel } from '@fluencelabs/fluence';
|
import {Fluence, FluencePeer, KeyPair, setLogLevel} from '@fluencelabs/fluence';
|
||||||
import { EphemeralNetwork, defaultConfig } from '@fluencelabs/fluence/dist/internal/ephemeral';
|
import {EphemeralNetwork, defaultConfig} from '@fluencelabs/fluence/dist/internal/ephemeral';
|
||||||
import { registerPrintln } from '../compiled/examples/println';
|
import {registerPrintln} from '../compiled/examples/println';
|
||||||
import { callArrowCall, reproArgsBug426Call } from '../examples/callArrowCall';
|
import {callArrowCall, reproArgsBug426Call} from '../examples/callArrowCall';
|
||||||
import { dataAliasCall } from '../examples/dataAliasCall';
|
import {dataAliasCall} from '../examples/dataAliasCall';
|
||||||
import { onCall } from '../examples/onCall';
|
import {onCall} from '../examples/onCall';
|
||||||
import { funcCall } from '../examples/funcCall';
|
import {funcCall} from '../examples/funcCall';
|
||||||
import { helloWorldCall } from '../examples/helloWorldCall';
|
import {helloWorldCall} from '../examples/helloWorldCall';
|
||||||
import { foldBug499Call, foldCall } from '../examples/foldCall';
|
import {foldBug499Call, foldCall} from '../examples/foldCall';
|
||||||
import { bugNG69Call, ifCall, ifWrapCall } from '../examples/ifCall';
|
import {bugNG69Call, ifCall, ifWrapCall} from '../examples/ifCall';
|
||||||
import { parCall, testTimeoutCall } from '../examples/parCall';
|
import {parCall, testTimeoutCall} from '../examples/parCall';
|
||||||
import { complexCall } from '../examples/complex';
|
import {complexCall} from '../examples/complex';
|
||||||
import { constantsCall, particleTtlAndTimestampCall } from '../examples/constantsCall';
|
import {constantsCall, particleTtlAndTimestampCall} from '../examples/constantsCall';
|
||||||
import {
|
import {
|
||||||
nilLengthCall,
|
nilLengthCall,
|
||||||
nilLiteralCall,
|
nilLiteralCall,
|
||||||
@ -24,40 +24,40 @@ import {
|
|||||||
streamFunctorCall, streamIntFunctorCall, streamJoinCall,
|
streamFunctorCall, streamIntFunctorCall, streamJoinCall,
|
||||||
streamReturnFromInnerFunc
|
streamReturnFromInnerFunc
|
||||||
} from '../examples/streamCall';
|
} from '../examples/streamCall';
|
||||||
import { topologyBug205Call, topologyBug394Call, topologyBug427Call, topologyCall } from '../examples/topologyCall';
|
import {topologyBug205Call, topologyBug394Call, topologyBug427Call, topologyCall} from '../examples/topologyCall';
|
||||||
import { foldJoinCall } from '../examples/foldJoinCall';
|
import {foldJoinCall} from '../examples/foldJoinCall';
|
||||||
import { registerHandlers, returnNull, returnOptionalCall, useOptionalCall } from '../examples/useOptionalCall';
|
import {registerHandlers, returnNull, returnOptionalCall, useOptionalCall} from '../examples/useOptionalCall';
|
||||||
import { viaArrCall, viaOptCall, viaOptNullCall, viaStreamCall } from '../examples/viaCall';
|
import {viaArrCall, viaOptCall, viaOptNullCall, viaStreamCall} from '../examples/viaCall';
|
||||||
import { nestedFuncsCall } from '../examples/nestedFuncsCall';
|
import {nestedFuncsCall} from '../examples/nestedFuncsCall';
|
||||||
import { assignmentCall } from '../examples/assignment';
|
import {assignmentCall} from '../examples/assignment';
|
||||||
import { tryCatchCall } from '../examples/tryCatchCall';
|
import {tryCatchCall} from '../examples/tryCatchCall';
|
||||||
import { tryOtherwiseCall } from '../examples/tryOtherwiseCall';
|
import {tryOtherwiseCall} from '../examples/tryOtherwiseCall';
|
||||||
import { coCall } from '../examples/coCall';
|
import {coCall} from '../examples/coCall';
|
||||||
import { bugLNG60Call, passArgsCall } from '../examples/passArgsCall';
|
import {bugLNG60Call, passArgsCall} from '../examples/passArgsCall';
|
||||||
import { streamArgsCall } from '../examples/streamArgsCall';
|
import {streamArgsCall} from '../examples/streamArgsCall';
|
||||||
import { streamResultsCall } from '../examples/streamResultsCall';
|
import {streamResultsCall} from '../examples/streamResultsCall';
|
||||||
import { pushToStreamCall } from '../examples/pushToStreamCall';
|
import {pushToStreamCall} from '../examples/pushToStreamCall';
|
||||||
import { literalCall } from '../examples/returnLiteralCall';
|
import {literalCall} from '../examples/returnLiteralCall';
|
||||||
import { multiReturnCall } from '../examples/multiReturnCall';
|
import {multiReturnCall} from '../examples/multiReturnCall';
|
||||||
import { declareCall } from '../examples/declareCall';
|
import {declareCall} from '../examples/declareCall';
|
||||||
import {genOptions, genOptionsEmptyString} from '../examples/optionsCall';
|
import {genOptions, genOptionsEmptyString} from '../examples/optionsCall';
|
||||||
import { closuresCall } from '../examples/closures';
|
import {closuresCall} from '../examples/closures';
|
||||||
import { bugLNG63_2Call, bugLNG63_3Call, bugLNG63Call, streamCanCall } from '../examples/streamCanCall';
|
import {bugLNG63_2Call, bugLNG63_3Call, bugLNG63Call, streamCanCall} from '../examples/streamCanCall';
|
||||||
import { streamCallbackCall } from '../examples/streamCallback';
|
import {streamCallbackCall} from '../examples/streamCallback';
|
||||||
import { streamResCall } from '../examples/streamRestrictionsCall';
|
import {streamResCall} from '../examples/streamRestrictionsCall';
|
||||||
import { joinIdxCall, joinIdxLocalCall, joinIdxRelayCall } from '../examples/joinCall';
|
import {joinIdxCall, joinIdxLocalCall, joinIdxRelayCall} from '../examples/joinCall';
|
||||||
import { recursiveStreamsCall } from '../examples/recursiveStreamsCall';
|
import {recursiveStreamsCall} from '../examples/recursiveStreamsCall';
|
||||||
import {
|
import {
|
||||||
arraySugarCall,
|
arraySugarCall,
|
||||||
bugLNG59Call,
|
bugLNG59Call,
|
||||||
optionSugarCall,
|
optionSugarCall,
|
||||||
streamSugarCall,
|
streamSugarCall,
|
||||||
} from '../examples/collectionSugarCall';
|
} from '../examples/collectionSugarCall';
|
||||||
import { funcsCall } from '../examples/funcsCall';
|
import {funcsCall} from '../examples/funcsCall';
|
||||||
import { nestedDataCall } from '../examples/nestedDataCall';
|
import {nestedDataCall} from '../examples/nestedDataCall';
|
||||||
import { mathTest1Call, mathTest2Call } from '../examples/mathCall';
|
import {mathTest1Call, mathTest2Call} from '../examples/mathCall';
|
||||||
import { lng58Bug } from '../compiled/examples/closures';
|
import {lng58Bug} from '../compiled/examples/closures';
|
||||||
import { config, isEphemeral } from '../config';
|
import {config, isEphemeral} from '../config';
|
||||||
import {bugLng79Call} from "../examples/canonCall";
|
import {bugLng79Call} from "../examples/canonCall";
|
||||||
|
|
||||||
var selfPeerId: string;
|
var selfPeerId: string;
|
||||||
@ -99,11 +99,11 @@ async function stopEphemeral() {
|
|||||||
|
|
||||||
async function start() {
|
async function start() {
|
||||||
// await Fluence.start({ connectTo: config.relays[0]});
|
// await Fluence.start({ connectTo: config.relays[0]});
|
||||||
await Fluence.start({ connectTo: config.relays[0], debug: {marineLogLevel: "debug"} });
|
await Fluence.start({connectTo: config.relays[0], debug: {marineLogLevel: "debug"}});
|
||||||
selfPeerId = Fluence.getStatus().peerId;
|
selfPeerId = Fluence.getStatus().peerId;
|
||||||
|
|
||||||
peer2 = new FluencePeer();
|
peer2 = new FluencePeer();
|
||||||
await peer2.start({ connectTo: config.relays[1] });
|
await peer2.start({connectTo: config.relays[1]});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function stop() {
|
async function stop() {
|
||||||
@ -330,14 +330,22 @@ describe('Testing examples', () => {
|
|||||||
|
|
||||||
it('object creation getObjAssign', async () => {
|
it('object creation getObjAssign', async () => {
|
||||||
let result = await getObjAssignCall()
|
let result = await getObjAssignCall()
|
||||||
expect(result).toEqual({
|
expect(result).toEqual([{
|
||||||
str: "some str",
|
str: "first str",
|
||||||
num: 5,
|
num: 5,
|
||||||
inner: {
|
inner: {
|
||||||
arr: ["a", "b", "c"],
|
arr: ["d", "e", "f"],
|
||||||
num: 6
|
num: 7
|
||||||
}
|
}
|
||||||
});
|
}, {
|
||||||
|
str: "some str",
|
||||||
|
num: 6,
|
||||||
|
inner: {
|
||||||
|
arr: ["a", "b", "c"],
|
||||||
|
num: 7
|
||||||
|
}
|
||||||
|
},
|
||||||
|
1]);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('collectionSugar stream', async () => {
|
it('collectionSugar stream', async () => {
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -115,9 +115,9 @@ export function doSmth(...args: any) {
|
|||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
(call %init_peer_id% ("getDataSrv" "arg") [] arg)
|
(call %init_peer_id% ("getDataSrv" "arg") [] arg)
|
||||||
)
|
)
|
||||||
(ap arg.$.value! arg-1)
|
(ap arg.$.value! arg_flat)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("op" "identity") [arg-1] a)
|
(call %init_peer_id% ("op" "identity") [arg_flat] a)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("op" "array") [a "hello"] res)
|
(call %init_peer_id% ("op" "array") [a "hello"] res)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -92,6 +92,7 @@ export function bugLng79(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("ser" "getRecord") [] $stream)
|
(call %init_peer_id% ("ser" "getRecord") [] $stream)
|
||||||
@ -122,11 +123,13 @@ export function bugLng79(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap stream_gate.$.[0]! stream_gate-0)
|
(ap stream_gate.$.[0]! stream_gate_flat)
|
||||||
|
)
|
||||||
|
(null)
|
||||||
)
|
)
|
||||||
(call -relay- ("op" "noop") [])
|
(call -relay- ("op" "noop") [])
|
||||||
)
|
)
|
||||||
(fold stream_gate-0.$.relay_id! -via-peer-
|
(fold stream_gate_flat.$.relay_id! -via-peer-
|
||||||
(seq
|
(seq
|
||||||
(call -via-peer- ("op" "noop") [])
|
(call -via-peer- ("op" "noop") [])
|
||||||
(next -via-peer-)
|
(next -via-peer-)
|
||||||
@ -136,8 +139,8 @@ export function bugLng79(...args: any) {
|
|||||||
(xor
|
(xor
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call stream_gate-0.$.peer_id! ("math" "add") [1 1] add)
|
(call stream_gate_flat.$.peer_id! ("math" "add") [1 1] add)
|
||||||
(fold stream_gate-0.$.relay_id! -via-peer-
|
(fold stream_gate_flat.$.relay_id! -via-peer-
|
||||||
(seq
|
(seq
|
||||||
(next -via-peer-)
|
(next -via-peer-)
|
||||||
(call -via-peer- ("op" "noop") [])
|
(call -via-peer- ("op" "noop") [])
|
||||||
@ -148,7 +151,7 @@ export function bugLng79(...args: any) {
|
|||||||
)
|
)
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(fold stream_gate-0.$.relay_id! -via-peer-
|
(fold stream_gate_flat.$.relay_id! -via-peer-
|
||||||
(seq
|
(seq
|
||||||
(call -via-peer- ("op" "noop") [])
|
(call -via-peer- ("op" "noop") [])
|
||||||
(next -via-peer-)
|
(next -via-peer-)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -142,7 +142,7 @@ export function closureBig(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap p2Id-0_gate.$.[0]! p2Id-0_gate-0)
|
(ap p2Id-0_gate.$.[0]! p2Id-0_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -201,7 +201,7 @@ export function closureBig(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap p2Id_gate.$.[0]! p2Id_gate-0)
|
(ap p2Id_gate.$.[0]! p2Id_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(call -relay- ("op" "noop") [])
|
(call -relay- ("op" "noop") [])
|
||||||
@ -213,7 +213,7 @@ export function closureBig(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [p2Id-0_gate-0 p2Id_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [p2Id-0_gate_flat p2Id_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 5])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 5])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -321,12 +321,12 @@ export function lng58Bug(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -546,7 +546,7 @@ export function bugLNG59(...args: any) {
|
|||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
(call %init_peer_id% ("getArr" "getArr") [] nodes)
|
(call %init_peer_id% ("getArr" "getArr") [] nodes)
|
||||||
)
|
)
|
||||||
(ap nodes.$.[1]! nodes-0)
|
(ap nodes.$.[1]! nodes_flat)
|
||||||
)
|
)
|
||||||
(new $array-inline
|
(new $array-inline
|
||||||
(seq
|
(seq
|
||||||
@ -567,7 +567,7 @@ export function bugLNG59(...args: any) {
|
|||||||
(xor
|
(xor
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call nodes-0 ("op" "identity") ["some str"] res)
|
(call nodes_flat ("op" "identity") ["some str"] res)
|
||||||
(fold #array-inline-0 -via-peer-
|
(fold #array-inline-0 -via-peer-
|
||||||
(seq
|
(seq
|
||||||
(next -via-peer-)
|
(next -via-peer-)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -235,8 +235,8 @@ export function callConstant(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("test" "createStr") [1] $res)
|
(call %init_peer_id% ("test" "createStr") [5] $res)
|
||||||
(call %init_peer_id% ("op" "identity") ["ab"] $res)
|
(call %init_peer_id% ("op" "identity") ["default-str"] $res)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $res #-res-fix-0)
|
(canon %init_peer_id% $res #-res-fix-0)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -86,10 +86,10 @@ export function getAliasedData(...args: any) {
|
|||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
(call %init_peer_id% ("somesrv" "get") [] res)
|
(call %init_peer_id% ("somesrv" "get") [] res)
|
||||||
)
|
)
|
||||||
(ap res.$.peerId! res-0)
|
(ap res.$.peerId! res_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -50,9 +50,6 @@ export function getTwoResults(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -108,9 +105,7 @@ export function getTwoResults(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res_gate.$.[0]! res_gate-0)
|
(call node ("op" "identity") [res_gate.$.[0]!])
|
||||||
)
|
|
||||||
(call node ("op" "identity") [res_gate-0])
|
|
||||||
)
|
)
|
||||||
(new $res_test-0
|
(new $res_test-0
|
||||||
(seq
|
(seq
|
||||||
@ -135,13 +130,11 @@ export function getTwoResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon node $res_test-0 #res_result_canon-0)
|
(canon node $res_test-0 #res_result_canon-0)
|
||||||
)
|
)
|
||||||
(ap #res_result_canon-0 res_gate-1)
|
(ap #res_result_canon-0 res_gate-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res_gate-1.$.[1]! res_gate-1-0)
|
(call node ("op" "identity") [res_gate-0.$.[1]!])
|
||||||
)
|
|
||||||
(call node ("op" "identity") [res_gate-1-0])
|
|
||||||
)
|
)
|
||||||
(new $res_test-1
|
(new $res_test-1
|
||||||
(seq
|
(seq
|
||||||
@ -166,13 +159,11 @@ export function getTwoResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon node $res_test-1 #res_result_canon-1)
|
(canon node $res_test-1 #res_result_canon-1)
|
||||||
)
|
)
|
||||||
(ap #res_result_canon-1 res_gate-2)
|
(ap #res_result_canon-1 res_gate-1)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res_gate-2.$.[2]! res_gate-2-0)
|
(call node ("op" "identity") [res_gate-1.$.[2]!])
|
||||||
)
|
|
||||||
(call node ("op" "identity") [res_gate-2-0])
|
|
||||||
)
|
)
|
||||||
(call -relay- ("op" "noop") [])
|
(call -relay- ("op" "noop") [])
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -295,6 +295,9 @@ export function calc2(...args: any) {
|
|||||||
(xor
|
(xor
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -394,28 +397,19 @@ export function calc2(...args: any) {
|
|||||||
)
|
)
|
||||||
(call %init_peer_id% ("a" "getJ") [sub] num)
|
(call %init_peer_id% ("a" "getJ") [sub] num)
|
||||||
)
|
)
|
||||||
(par
|
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(par
|
(par
|
||||||
(call %init_peer_id% ("math" "add") [num num] add-0)
|
(call %init_peer_id% ("math" "add") [num num] add-0)
|
||||||
(call %init_peer_id% ("a" "getJ") [num] getJ-1)
|
(call %init_peer_id% ("a" "getJ") [num] getJ-1)
|
||||||
)
|
)
|
||||||
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [add-0 getJ-1] sub-4)
|
(call %init_peer_id% ("math" "sub") [add-0 getJ-1] sub-4)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [sub-4 3] sub-3)
|
(call %init_peer_id% ("math" "sub") [sub-4 3] sub-3)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("op" "noop") [])
|
(ap #array-inline-0.$.[sub-3]! array-inline-0_flat)
|
||||||
)
|
|
||||||
(seq
|
|
||||||
(ap #array-inline-0.$.[sub-3]! array-inline-0-0)
|
|
||||||
(call %init_peer_id% ("op" "noop") [])
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [array-inline-0-0])
|
(call %init_peer_id% ("callbackSrv" "response") [array-inline-0_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -631,12 +625,12 @@ export function ifCalc(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res_gate.$.[0]! res_gate-0)
|
(ap res_gate.$.[0]! res_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -790,10 +784,10 @@ export function calc(...args: any) {
|
|||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap #array-inline-0.$.[num]! array-inline-0-0)
|
(ap #array-inline-0.$.[num]! array-inline-0_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [array-inline-0-0])
|
(call %init_peer_id% ("callbackSrv" "response") [array-inline-0_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -135,12 +135,12 @@ export function ifCorrectXorWrap(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap service_id_gate.$.[0]! service_id_gate-0)
|
(ap service_id_gate.$.[0]! service_id_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [service_id_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [service_id_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -47,7 +47,6 @@ export function joinIdxLocal(...args: any) {
|
|||||||
)
|
)
|
||||||
(new $nodes2
|
(new $nodes2
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(par
|
(par
|
||||||
@ -87,8 +86,6 @@ export function joinIdxLocal(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap nodes2_gate.$.[idx]! nodes2_gate-0)
|
|
||||||
)
|
|
||||||
(canon %init_peer_id% $nodes2 #-nodes2-fix-0)
|
(canon %init_peer_id% $nodes2 #-nodes2-fix-0)
|
||||||
)
|
)
|
||||||
(ap #-nodes2-fix-0 -nodes2-flat-0)
|
(ap #-nodes2-fix-0 -nodes2-flat-0)
|
||||||
@ -184,7 +181,6 @@ export function joinIdxRelay(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(xor
|
(xor
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(par
|
(par
|
||||||
(fold nodes node-0
|
(fold nodes node-0
|
||||||
@ -223,8 +219,6 @@ export function joinIdxRelay(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap nodes2_gate.$.[idx]! nodes2_gate-0)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $nodes2 #-nodes2-fix-0)
|
(canon %init_peer_id% $nodes2 #-nodes2-fix-0)
|
||||||
@ -356,12 +350,7 @@ export function joinIdx(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(call %init_peer_id% ("math" "sub") [idx 1] sub-0)
|
|
||||||
(call %init_peer_id% ("math" "add") [sub-0 1] add-0)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [idx 1] sub)
|
(call %init_peer_id% ("math" "sub") [idx 1] sub)
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "add") [sub 1] add)
|
(call %init_peer_id% ("math" "add") [sub 1] add)
|
||||||
)
|
)
|
||||||
(new $infos_test
|
(new $infos_test
|
||||||
@ -391,18 +380,15 @@ export function joinIdx(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap infos_gate.$.[add-0]! infos_gate-0)
|
(call %init_peer_id% ("math" "sub") [idx 1] sub-0)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("math" "add") [sub-0 1] add-0)
|
||||||
)
|
)
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(call %init_peer_id% ("math" "sub") [idx 1] sub-2)
|
|
||||||
(call %init_peer_id% ("math" "add") [sub-2 1] add-2)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [idx 1] sub-1)
|
(call %init_peer_id% ("math" "sub") [idx 1] sub-1)
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "add") [sub-1 1] add-1)
|
(call %init_peer_id% ("math" "add") [sub-1 1] add-1)
|
||||||
)
|
)
|
||||||
(new $nodes2_test
|
(new $nodes2_test
|
||||||
@ -432,7 +418,9 @@ export function joinIdx(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap nodes2_gate.$.[add-2]! nodes2_gate-0)
|
(call %init_peer_id% ("math" "sub") [idx 1] sub-2)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("math" "add") [sub-2 1] add-2)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -133,9 +133,9 @@ export function test(...args: any) {
|
|||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
(call %init_peer_id% ("service" "test1") [] res-0)
|
(call %init_peer_id% ("service" "test1") [] res-0)
|
||||||
)
|
)
|
||||||
(ap res-0.$.one! res-0-0)
|
(ap res-0.$.one! res-0_flat)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("service" "test2") [res-0-0 res-0-0.$.val!] res)
|
(call %init_peer_id% ("service" "test2") [res-0_flat res-0_flat.$.val!] res)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res])
|
(call %init_peer_id% ("callbackSrv" "response") [res])
|
||||||
@ -214,10 +214,10 @@ export function test3(...args: any) {
|
|||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
(call %init_peer_id% ("service" "test1") [] res)
|
(call %init_peer_id% ("service" "test1") [] res)
|
||||||
)
|
)
|
||||||
(ap res.$.one! res-0)
|
(ap res.$.one! res_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -32,6 +32,8 @@ export function getObjRelay(...args: any) {
|
|||||||
|
|
||||||
let script = `
|
let script = `
|
||||||
(xor
|
(xor
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
@ -56,15 +58,19 @@ export function getObjRelay(...args: any) {
|
|||||||
)
|
)
|
||||||
(call -relay- ("json" "obj") ["arr" identity "num" 6] InnerObj_obj)
|
(call -relay- ("json" "obj") ["arr" identity "num" 6] InnerObj_obj)
|
||||||
)
|
)
|
||||||
(call -relay- ("json" "obj") ["inner" InnerObj_obj "num" 5 "str" "some str"] SomeObj_obj)
|
(call -relay- ("json" "obj") ["inner" InnerObj_obj "num" 5 "str" "diff str"] SomeObj_obj)
|
||||||
)
|
)
|
||||||
(call -relay- ("op" "noop") [])
|
(call -relay- ("op" "noop") [])
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
(ap SomeObj_obj SomeObj_obj_flat)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("json" "puts") [SomeObj_obj "str" "some str"] SomeObj_obj_obj_copy)
|
||||||
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [SomeObj_obj])
|
(call %init_peer_id% ("callbackSrv" "response") [SomeObj_obj_obj_copy])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -246,7 +252,7 @@ export function getObj(...args: any) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
export type GetObjAssignResult = { inner: { arr: string[]; num: number; }; num: number; str: string; }
|
export type GetObjAssignResult = [{ inner: { arr: string[]; num: number; }; num: number; str: string; }, { inner: { arr: string[]; num: number; }; num: number; str: string; }, number]
|
||||||
export function getObjAssign(
|
export function getObjAssign(
|
||||||
config?: {ttl?: number}
|
config?: {ttl?: number}
|
||||||
): Promise<GetObjAssignResult>;
|
): Promise<GetObjAssignResult>;
|
||||||
@ -260,6 +266,21 @@ export function getObjAssign(...args: any) {
|
|||||||
|
|
||||||
let script = `
|
let script = `
|
||||||
(xor
|
(xor
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -270,23 +291,69 @@ export function getObjAssign(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(ap "a" $array-inline)
|
(ap "d" $array-inline)
|
||||||
(ap "b" $array-inline)
|
(ap "e" $array-inline)
|
||||||
)
|
)
|
||||||
(ap "c" $array-inline)
|
(ap "f" $array-inline)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline #array-inline-0)
|
(canon %init_peer_id% $array-inline #array-inline-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("json" "obj") ["arr" #array-inline-0 "num" 6] InnerObj_obj)
|
(call %init_peer_id% ("json" "obj") ["arr" #array-inline-0 "num" 7] InnerObj_obj)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("op" "identity") [5] identity)
|
(call %init_peer_id% ("op" "identity") [5] identity)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("json" "obj") ["inner" InnerObj_obj "num" identity "str" "some str"] SomeObj_obj)
|
(call %init_peer_id% ("json" "obj") ["inner" InnerObj_obj "num" identity "str" "first str"] SomeObj_obj)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj SomeObj_obj_flat)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj.$.inner! SomeObj_obj_flat-0)
|
||||||
|
)
|
||||||
|
(new $array-inline-1
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(ap "a" $array-inline-1)
|
||||||
|
(ap "b" $array-inline-1)
|
||||||
|
)
|
||||||
|
(ap "c" $array-inline-1)
|
||||||
|
)
|
||||||
|
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("json" "puts") [SomeObj_obj.$.inner! "arr" #array-inline-1-0] SomeObj_obj_obj_copy-0)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("json" "puts") [SomeObj_obj "inner" SomeObj_obj_obj_copy-0 "str" "some str"] SomeObj_obj_obj_copy)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy SomeObj_obj_obj_copy_flat)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("json" "puts") [SomeObj_obj_obj_copy "num" 6] SomeObj_obj_obj_copy_obj_copy)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy.$.inner! SomeObj_obj_obj_copy_obj_copy_flat)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy_flat SomeObj_obj_obj_copy_obj_copy_flat_flat)
|
||||||
|
)
|
||||||
|
(new $array-inline-2
|
||||||
|
(seq
|
||||||
|
(ap "g" $array-inline-2)
|
||||||
|
(canon %init_peer_id% $array-inline-2 #array-inline-2-0)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("json" "puts") [SomeObj_obj_obj_copy_obj_copy_flat "arr" #array-inline-2-0] SomeObj_obj_obj_copy_obj_copy_flat_obj_copy)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy_flat_obj_copy.$.arr! SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat_to_functor)
|
||||||
|
)
|
||||||
|
(ap SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat_to_functor.length SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat_length)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [SomeObj_obj])
|
(call %init_peer_id% ("callbackSrv" "response") [SomeObj_obj SomeObj_obj_obj_copy_obj_copy SomeObj_obj_obj_copy_obj_copy_flat_obj_copy_flat_flat_length])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -338,6 +405,41 @@ export function getObjAssign(...args: any) {
|
|||||||
"name" : "string"
|
"name" : "string"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag" : "struct",
|
||||||
|
"name" : "SomeObj",
|
||||||
|
"fields" : {
|
||||||
|
"inner" : {
|
||||||
|
"tag" : "struct",
|
||||||
|
"name" : "InnerObj",
|
||||||
|
"fields" : {
|
||||||
|
"arr" : {
|
||||||
|
"tag" : "array",
|
||||||
|
"type" : {
|
||||||
|
"tag" : "scalar",
|
||||||
|
"name" : "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"num" : {
|
||||||
|
"tag" : "scalar",
|
||||||
|
"name" : "u32"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"num" : {
|
||||||
|
"tag" : "scalar",
|
||||||
|
"name" : "u64"
|
||||||
|
},
|
||||||
|
"str" : {
|
||||||
|
"tag" : "scalar",
|
||||||
|
"name" : "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"tag" : "scalar",
|
||||||
|
"name" : "u32"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -55,10 +55,10 @@ export function getPeerExternalAddresses(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res.$.external_addresses! res-0)
|
(ap res.$.external_addresses! res_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -159,10 +159,10 @@ export function getDistantAddresses(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res.$.external_addresses! res-0)
|
(ap res.$.external_addresses! res_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -299,10 +299,10 @@ export function useOptional(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap res.$.[0]! res-0)
|
(ap res.$.[0]! res_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [res-0])
|
(call %init_peer_id% ("callbackSrv" "response") [res_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -238,7 +238,6 @@ export function testTimeout(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(par
|
(par
|
||||||
(seq
|
|
||||||
(new $results_test
|
(new $results_test
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -265,8 +264,6 @@ export function testTimeout(...args: any) {
|
|||||||
(ap #results_result_canon results_gate)
|
(ap #results_result_canon results_gate)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap results_gate.$.[999]! results_gate-0)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("peer" "timeout") [400 "timeout"] $timeout)
|
(call %init_peer_id% ("peer" "timeout") [400 "timeout"] $timeout)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -277,7 +274,6 @@ export function testTimeout(...args: any) {
|
|||||||
(ap "ok" $status)
|
(ap "ok" $status)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(new $timeout_test
|
(new $timeout_test
|
||||||
(seq
|
(seq
|
||||||
@ -305,9 +301,7 @@ export function testTimeout(...args: any) {
|
|||||||
(ap #timeout_result_canon timeout_gate)
|
(ap #timeout_result_canon timeout_gate)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap timeout_gate.$.[0]! timeout_gate-0)
|
(ap timeout_gate.$.[0]! $status)
|
||||||
)
|
|
||||||
(ap timeout_gate-0 $status)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -338,14 +332,14 @@ export function testTimeout(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 3])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -95,7 +95,6 @@ export function wait(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
|
||||||
@ -110,8 +109,6 @@ export function wait(...args: any) {
|
|||||||
)
|
)
|
||||||
(call %init_peer_id% ("getDataSrv" "n") [] n)
|
(call %init_peer_id% ("getDataSrv" "n") [] n)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [n 1] sub-0)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [n 1] sub)
|
(call %init_peer_id% ("math" "sub") [n 1] sub)
|
||||||
)
|
)
|
||||||
(new $successful_test
|
(new $successful_test
|
||||||
@ -141,7 +138,7 @@ export function wait(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap successful_gate.$.[sub-0]! successful_gate-0)
|
(call %init_peer_id% ("math" "sub") [n 1] sub-0)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
@ -212,7 +209,6 @@ export function bugLNG60(...args: any) {
|
|||||||
(new $successful
|
(new $successful
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(new $array-inline
|
(new $array-inline
|
||||||
@ -228,8 +224,6 @@ export function bugLNG60(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [1 1] sub-0)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [1 1] sub)
|
(call %init_peer_id% ("math" "sub") [1 1] sub)
|
||||||
)
|
)
|
||||||
(new $successful_test
|
(new $successful_test
|
||||||
@ -259,7 +253,7 @@ export function bugLNG60(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap successful_gate.$.[sub-0]! successful_gate-0)
|
(call %init_peer_id% ("math" "sub") [1 1] sub-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -232,6 +232,7 @@ export function streamIntFunctor(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(new $array-inline
|
(new $array-inline
|
||||||
@ -269,16 +270,18 @@ export function streamIntFunctor(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap arr.$.[0]! ap-prop)
|
(ap arr.$.[0]! arr_flat)
|
||||||
)
|
)
|
||||||
(ap arr.$.[0]! ap-prop-0)
|
(ap stream_gate.$.[arr_flat]! stream_gate_flat)
|
||||||
)
|
)
|
||||||
(ap stream_gate.$.[ap-prop].[ap-prop-0]! stream_gate-0)
|
(ap arr.$.[0]! arr_flat-0)
|
||||||
|
)
|
||||||
|
(ap stream_gate_flat.$.[arr_flat-0]! stream_gate_flat_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [stream_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [stream_gate_flat_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -667,6 +670,9 @@ export function streamAssignment(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -679,17 +685,13 @@ export function streamAssignment(...args: any) {
|
|||||||
)
|
)
|
||||||
(ap #array-inline-0 $stream)
|
(ap #array-inline-0 $stream)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor-0)
|
(ap arr arr_flat)
|
||||||
)
|
)
|
||||||
(ap arr_to_functor-0.length arr_length-0)
|
(ap arr_flat arr_flat_to_functor)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [arr_length-0 1] sub-0)
|
(ap arr_flat_to_functor.length arr_flat_length)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor)
|
(call %init_peer_id% ("math" "sub") [arr_flat_length 1] sub)
|
||||||
)
|
|
||||||
(ap arr_to_functor.length arr_length)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [arr_length 1] sub)
|
|
||||||
)
|
)
|
||||||
(new $stream_test
|
(new $stream_test
|
||||||
(seq
|
(seq
|
||||||
@ -718,14 +720,24 @@ export function streamAssignment(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap stream_gate.$.[sub-0].[0]! stream_gate-0)
|
(ap arr arr_flat-0)
|
||||||
)
|
)
|
||||||
(ap arr.$.[stream_gate-0]! arr-1)
|
(ap arr_flat-0 arr_flat-0_to_functor)
|
||||||
|
)
|
||||||
|
(ap arr_flat-0_to_functor.length arr_flat-0_length)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("math" "sub") [arr_flat-0_length 1] sub-0)
|
||||||
|
)
|
||||||
|
(ap stream_gate.$.[sub-0]! stream_gate_flat)
|
||||||
|
)
|
||||||
|
(ap stream_gate_flat.$.[0]! stream_gate_flat_flat)
|
||||||
|
)
|
||||||
|
(ap arr.$.[stream_gate_flat_flat]! arr_flat-1)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [arr-1])
|
(call %init_peer_id% ("callbackSrv" "response") [arr_flat-1])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -803,6 +815,9 @@ export function streamFunctor(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -815,17 +830,13 @@ export function streamFunctor(...args: any) {
|
|||||||
)
|
)
|
||||||
(ap #array-inline-0 $stream)
|
(ap #array-inline-0 $stream)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor-0)
|
(ap arr arr_flat)
|
||||||
)
|
)
|
||||||
(ap arr_to_functor-0.length arr_length-0)
|
(ap arr_flat arr_flat_to_functor)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("math" "sub") [arr_length-0 1] sub-0)
|
(ap arr_flat_to_functor.length arr_flat_length)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor)
|
(call %init_peer_id% ("math" "sub") [arr_flat_length 1] sub)
|
||||||
)
|
|
||||||
(ap arr_to_functor.length arr_length)
|
|
||||||
)
|
|
||||||
(call %init_peer_id% ("math" "sub") [arr_length 1] sub)
|
|
||||||
)
|
)
|
||||||
(new $stream_test
|
(new $stream_test
|
||||||
(seq
|
(seq
|
||||||
@ -854,12 +865,22 @@ export function streamFunctor(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap stream_gate.$.[sub-0].[0]! stream_gate-0)
|
(ap arr arr_flat-0)
|
||||||
|
)
|
||||||
|
(ap arr_flat-0 arr_flat-0_to_functor)
|
||||||
|
)
|
||||||
|
(ap arr_flat-0_to_functor.length arr_flat-0_length)
|
||||||
|
)
|
||||||
|
(call %init_peer_id% ("math" "sub") [arr_flat-0_length 1] sub-0)
|
||||||
|
)
|
||||||
|
(ap stream_gate.$.[sub-0]! stream_gate_flat)
|
||||||
|
)
|
||||||
|
(ap stream_gate_flat.$.[0]! stream_gate_flat_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [stream_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [stream_gate_flat_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -1018,6 +1039,8 @@ export function streamJoin(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
|
(seq
|
||||||
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -1044,15 +1067,17 @@ export function streamJoin(...args: any) {
|
|||||||
)
|
)
|
||||||
(ap #array-inline-1-0 $streamJ)
|
(ap #array-inline-1-0 $streamJ)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor)
|
(ap arr arr_flat)
|
||||||
)
|
)
|
||||||
(ap arr_to_functor.length arr_length)
|
(ap arr_flat arr_flat_to_functor)
|
||||||
|
)
|
||||||
|
(ap arr_flat_to_functor.length arr_flat_length)
|
||||||
)
|
)
|
||||||
(new $streamJ_test
|
(new $streamJ_test
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("math" "add") [arr_length 1] streamJ_incr)
|
(call %init_peer_id% ("math" "add") [arr_flat_length 1] streamJ_incr)
|
||||||
(fold $streamJ s
|
(fold $streamJ s
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -1075,18 +1100,20 @@ export function streamJoin(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap arr arr_to_functor-0)
|
(ap arr arr_flat-0)
|
||||||
)
|
)
|
||||||
(ap arr_to_functor-0.length arr_length-0)
|
(ap arr_flat-0 arr_flat-0_to_functor)
|
||||||
)
|
)
|
||||||
(ap arr_length-0 ap-prop)
|
(ap arr_flat-0_to_functor.length arr_flat-0_length)
|
||||||
)
|
)
|
||||||
(ap streamJ_gate.$.[ap-prop].[1]! streamJ_gate-0)
|
(ap streamJ_gate.$.[arr_flat-0_length]! streamJ_gate_flat)
|
||||||
|
)
|
||||||
|
(ap streamJ_gate_flat.$.[1]! streamJ_gate_flat_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [streamJ_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [streamJ_gate_flat_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -297,12 +297,12 @@ export function returnCanStream(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -398,7 +398,7 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $status #-status-fix-0)
|
(canon %init_peer_id% $status #-status-fix-0)
|
||||||
)
|
)
|
||||||
@ -406,7 +406,6 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
(new $array-inline
|
(new $array-inline
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(new $status_test-0
|
(new $status_test-0
|
||||||
@ -432,14 +431,12 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-0 status_gate-1)
|
(ap #status_result_canon-0 status_gate-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-1.$.[0]! status_gate-1-0)
|
(ap status_gate-0.$.[0]! $array-inline)
|
||||||
)
|
)
|
||||||
(ap status_gate-1-0 $array-inline)
|
(ap status_gate_flat $array-inline)
|
||||||
)
|
|
||||||
(ap status_gate-0 $array-inline)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline #array-inline-0)
|
(canon %init_peer_id% $array-inline #array-inline-0)
|
||||||
)
|
)
|
||||||
@ -448,8 +445,6 @@ export function bugLNG63_2(...args: any) {
|
|||||||
(new $array-inline-1
|
(new $array-inline-1
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -476,12 +471,10 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-1 #status_result_canon-1)
|
(canon %init_peer_id% $status_test-1 #status_result_canon-1)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-1 status_gate-2)
|
(ap #status_result_canon-1 status_gate-1)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-2.$.[0]! status_gate-2-0)
|
(ap status_gate-1.$.[0]! $array-inline-1)
|
||||||
)
|
|
||||||
(ap status_gate-2-0 $array-inline-1)
|
|
||||||
)
|
)
|
||||||
(ap "no" $array-inline-1)
|
(ap "no" $array-inline-1)
|
||||||
)
|
)
|
||||||
@ -508,13 +501,11 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-2 #status_result_canon-2)
|
(canon %init_peer_id% $status_test-2 #status_result_canon-2)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-2 status_gate-3)
|
(ap #status_result_canon-2 status_gate-2)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-3.$.[0]! status_gate-3-0)
|
(ap status_gate-2.$.[0]! $array-inline-1)
|
||||||
)
|
|
||||||
(ap status_gate-3-0 $array-inline-1)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
||||||
)
|
)
|
||||||
@ -523,7 +514,7 @@ export function bugLNG63_2(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0 -status-flat-0 #array-inline-1-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat -status-flat-0 #array-inline-1-0])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -629,12 +620,12 @@ export function bugLNG63(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -730,7 +721,7 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $status #-status-fix-0)
|
(canon %init_peer_id% $status #-status-fix-0)
|
||||||
)
|
)
|
||||||
@ -738,7 +729,6 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(new $array-inline
|
(new $array-inline
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(new $status_test-0
|
(new $status_test-0
|
||||||
@ -764,14 +754,12 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-0 status_gate-1)
|
(ap #status_result_canon-0 status_gate-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-1.$.[0]! status_gate-1-0)
|
(ap status_gate-0.$.[0]! $array-inline)
|
||||||
)
|
)
|
||||||
(ap status_gate-1-0 $array-inline)
|
(ap status_gate_flat $array-inline)
|
||||||
)
|
|
||||||
(ap status_gate-0 $array-inline)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline #array-inline-0)
|
(canon %init_peer_id% $array-inline #array-inline-0)
|
||||||
)
|
)
|
||||||
@ -780,8 +768,6 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
(new $array-inline-1
|
(new $array-inline-1
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
@ -808,12 +794,10 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-1 #status_result_canon-1)
|
(canon %init_peer_id% $status_test-1 #status_result_canon-1)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-1 status_gate-2)
|
(ap #status_result_canon-1 status_gate-1)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-2.$.[0]! status_gate-2-0)
|
(ap status_gate-1.$.[0]! $array-inline-1)
|
||||||
)
|
|
||||||
(ap status_gate-2-0 $array-inline-1)
|
|
||||||
)
|
)
|
||||||
(ap "no" $array-inline-1)
|
(ap "no" $array-inline-1)
|
||||||
)
|
)
|
||||||
@ -840,13 +824,11 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-2 #status_result_canon-2)
|
(canon %init_peer_id% $status_test-2 #status_result_canon-2)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-2 status_gate-3)
|
(ap #status_result_canon-2 status_gate-2)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-3.$.[0]! status_gate-3-0)
|
(ap status_gate-2.$.[0]! $array-inline-1)
|
||||||
)
|
|
||||||
(ap status_gate-3-0 $array-inline-1)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
||||||
)
|
)
|
||||||
@ -855,7 +837,7 @@ export function returnMultipleStreamResults(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0 -status-flat-0 #array-inline-0 #array-inline-1-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate_flat -status-flat-0 #array-inline-0 #array-inline-1-0])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -976,7 +958,7 @@ export function bugLNG63_3(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate.$.[0]! status_gate-0)
|
(ap status_gate.$.[0]! status_gate_flat)
|
||||||
)
|
)
|
||||||
(ap 2 $num)
|
(ap 2 $num)
|
||||||
)
|
)
|
||||||
@ -984,7 +966,6 @@ export function bugLNG63_3(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(canon %init_peer_id% $status #status_canon)
|
(canon %init_peer_id% $status #status_canon)
|
||||||
@ -1019,9 +1000,7 @@ export function bugLNG63_3(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap num_gate.$.[0]! num_gate-0)
|
(ap num_gate.$.[0]! $array-inline)
|
||||||
)
|
|
||||||
(ap num_gate-0 $array-inline)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline #array-inline-0)
|
(canon %init_peer_id% $array-inline #array-inline-0)
|
||||||
)
|
)
|
||||||
@ -1050,11 +1029,11 @@ export function bugLNG63_3(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
(canon %init_peer_id% $status_test-0 #status_result_canon-0)
|
||||||
)
|
)
|
||||||
(ap #status_result_canon-0 status_gate-1)
|
(ap #status_result_canon-0 status_gate-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap status_gate-1.$.[0]! status_gate-1-0)
|
(ap status_gate-0.$.[0]! status_gate-0_flat)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $status #status_canon-0)
|
(canon %init_peer_id% $status #status_canon-0)
|
||||||
)
|
)
|
||||||
@ -1065,7 +1044,6 @@ export function bugLNG63_3(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(canon %init_peer_id% $status #status_canon-1)
|
(canon %init_peer_id% $status #status_canon-1)
|
||||||
@ -1098,13 +1076,11 @@ export function bugLNG63_3(...args: any) {
|
|||||||
)
|
)
|
||||||
(canon %init_peer_id% $num_test-0 #num_result_canon-0)
|
(canon %init_peer_id% $num_test-0 #num_result_canon-0)
|
||||||
)
|
)
|
||||||
(ap #num_result_canon-0 num_gate-1)
|
(ap #num_result_canon-0 num_gate-0)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap num_gate-1.$.[0]! num_gate-1-0)
|
(ap num_gate-0.$.[0]! $array-inline-1)
|
||||||
)
|
|
||||||
(ap num_gate-1-0 $array-inline-1)
|
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
(canon %init_peer_id% $array-inline-1 #array-inline-1-0)
|
||||||
)
|
)
|
||||||
@ -1114,7 +1090,7 @@ export function bugLNG63_3(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [status_gate-1-0 array_length-0 #array-inline-1-0])
|
(call %init_peer_id% ("callbackSrv" "response") [status_gate-0_flat array_length-0 #array-inline-1-0])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -93,10 +93,10 @@ export function use_name1(...args: any) {
|
|||||||
)
|
)
|
||||||
(call %init_peer_id% ("get-dt" "get_dt") [name] results)
|
(call %init_peer_id% ("get-dt" "get_dt") [name] results)
|
||||||
)
|
)
|
||||||
(ap results.$.field! results-0)
|
(ap results.$.field! results_flat)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [results-0])
|
(call %init_peer_id% ("callbackSrv" "response") [results_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
@ -177,21 +177,21 @@ export function use_name2(...args: any) {
|
|||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(call %init_peer_id% ("get-dt" "get_dt") [name] results-0)
|
(call %init_peer_id% ("get-dt" "get_dt") [name] results-0)
|
||||||
(ap results-0.$.field! results-0-0)
|
(ap results-0.$.field! results-0_flat)
|
||||||
)
|
)
|
||||||
(ap results-0-0 $results)
|
(ap results-0_flat $results)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("get-dt" "get_dt") [name] results-1)
|
(call %init_peer_id% ("get-dt" "get_dt") [name] results-1)
|
||||||
)
|
)
|
||||||
(ap results-1.$.field! results-1-0)
|
(ap results-1.$.field! results-1_flat)
|
||||||
)
|
)
|
||||||
(ap results-1-0 $results)
|
(ap results-1_flat $results)
|
||||||
)
|
)
|
||||||
(call %init_peer_id% ("get-dt" "get_dt") [name] results-2)
|
(call %init_peer_id% ("get-dt" "get_dt") [name] results-2)
|
||||||
)
|
)
|
||||||
(ap results-2.$.field! results-2-0)
|
(ap results-2.$.field! results-2_flat)
|
||||||
)
|
)
|
||||||
(ap results-2-0 $results)
|
(ap results-2_flat $results)
|
||||||
)
|
)
|
||||||
(canon %init_peer_id% $results #-results-fix-0)
|
(canon %init_peer_id% $results #-results-fix-0)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -218,7 +218,6 @@ export function topologyBug427(...args: any) {
|
|||||||
)
|
)
|
||||||
(new $results
|
(new $results
|
||||||
(seq
|
(seq
|
||||||
(seq
|
|
||||||
(seq
|
(seq
|
||||||
(seq
|
(seq
|
||||||
(par
|
(par
|
||||||
@ -273,8 +272,6 @@ export function topologyBug427(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap results_gate.$.[1]! results_gate-0)
|
|
||||||
)
|
|
||||||
(canon %init_peer_id% $results #-results-fix-0)
|
(canon %init_peer_id% $results #-results-fix-0)
|
||||||
)
|
)
|
||||||
(ap #-results-fix-0 -results-flat-0)
|
(ap #-results-fix-0 -results-flat-0)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
@ -170,12 +170,12 @@ export function tryOtherwiseTest(...args: any) {
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(ap f_gate.$.[0]! f_gate-0)
|
(ap f_gate.$.[0]! f_gate_flat)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(xor
|
(xor
|
||||||
(call %init_peer_id% ("callbackSrv" "response") [f_gate-0])
|
(call %init_peer_id% ("callbackSrv" "response") [f_gate_flat])
|
||||||
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
* This file is auto-generated. Do not edit manually: changes may be erased.
|
* This file is auto-generated. Do not edit manually: changes may be erased.
|
||||||
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
* Generated by Aqua compiler: https://github.com/fluencelabs/aqua/.
|
||||||
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
* If you find any bugs, please write an issue on GitHub: https://github.com/fluencelabs/aqua/issues
|
||||||
* Aqua version: 0.9.1-renovate-fluencelabs-fluence-0-x-871e3f3-136-1
|
* Aqua version: 0.9.1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
import { FluencePeer } from '@fluencelabs/fluence';
|
import { FluencePeer } from '@fluencelabs/fluence';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user