update aqua

This commit is contained in:
DieMyst
2021-06-22 12:29:01 +03:00
parent d6c69c2475
commit ec30c96ec4
24 changed files with 445 additions and 209 deletions

View File

@ -3,7 +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.6-148
* Aqua version: 0.1.7-152
*
*/
import { FluenceClient, PeerIdB58 } from '@fluencelabs/fluence';
@ -29,32 +29,26 @@ export async function tryCatchTest(client: FluenceClient, node_id: string, confi
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
(call %init_peer_id% ("getDataSrv" "node_id") [] node_id)
)
(call -relay- ("op" "identity") [])
(call -relay- ("op" "noop") [])
)
(xor
(xor
(call node_id ("unex" "getStr") [] $f)
(seq
(seq
(seq
(call node_id ("op" "identity") [%last_error%.$.msg!] $f)
(call node_id ("peer" "identify") [] i)
)
(call node_id ("op" "identity") [i.$.external_addresses.[0]!] $f)
(call node_id ("op" "identity") [%last_error%.$.msg!] $f)
(call node_id ("peer" "identify") [] i)
)
(call -relay- ("op" "identity") [])
(call node_id ("op" "identity") [i.$.external_addresses.[0]!] $f)
)
)
(seq
(seq
(call -relay- ("op" "identity") [])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
)
(call -relay- ("op" "identity") [])
(call -relay- ("op" "noop") [])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
)
)
)
(call -relay- ("op" "identity") [])
(call -relay- ("op" "noop") [])
)
(xor
(call %init_peer_id% ("callbackSrv" "response") [$f])