update topology

This commit is contained in:
DieMyst
2021-04-29 11:56:02 +03:00
parent 7a107188f7
commit 00b92812be
15 changed files with 401 additions and 66 deletions

View File

@ -3,6 +3,7 @@
* This file is auto-generated. Do not edit manually: changes may be erased.
* 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
* Aqua version: 0.1.1-SNAPSHOT
*
*/
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
@ -22,7 +23,10 @@ export async function id(client: FluenceClient): Promise<void> {
(call %init_peer_id% ("getDataSrv" "relay") [] relay)
(call %init_peer_id% ("op" "identity") [])
)
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error%])
(seq
(call relay ("op" "identity") [])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error%])
)
)
`,
@ -71,20 +75,26 @@ export async function parFunc(client: FluenceClient, node: string, c: (arg0: {ex
(par
(call %init_peer_id% ("parservice-id" "call") [] y)
(seq
(call relay ("op" "identity") [])
(seq
(call node ("peer" "identify") [] t)
(seq
(seq
(call relay ("op" "identity") [])
(call node ("peer" "identify") [] t)
)
(call relay ("op" "identity") [])
(call %init_peer_id% ("callbackSrv" "c") [t])
)
(call %init_peer_id% ("callbackSrv" "c") [t])
)
(call relay ("op" "identity") [])
)
)
(call %init_peer_id% ("parservice-id" "call") [] x)
)
)
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error%])
(seq
(call relay ("op" "identity") [])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error%])
)
)
`,