add stream restrictions test

This commit is contained in:
DieMyst
2021-11-15 16:15:29 +03:00
parent 8c494d0cc6
commit 3ac764440f
50 changed files with 501 additions and 351 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.4.1-SNAPSHOT
* Aqua version: 0.5.0-SNAPSHOT
*
*/
import { Fluence, FluencePeer } from '@fluencelabs/fluence';
@ -27,9 +27,11 @@ export function someFunc(...args: any) {
(xor
(seq
(call %init_peer_id% ("getDataSrv" "-relay-") [] -relay-)
(xor
(call %init_peer_id% ("callbackSrv" "cb") [$ifaces])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
(new $ifaces
(xor
(call %init_peer_id% ("callbackSrv" "cb") [$ifaces])
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 1])
)
)
)
(call %init_peer_id% ("errorHandlingSrv" "error") [%last_error% 2])