1
0
mirror of https://github.com/fluencelabs/aqua-playground synced 2025-03-17 00:30:56 +00:00
2021-10-25 18:40:02 +03:00

26 lines
649 B
Plaintext

import "@fluencelabs/aqua-lib/builtin.aqua"
service Testo("testo"):
getString: string -> string
service LocalPrint("lp"):
print: string -> ()
func topologyTest(me: string, myRelay: string, friend: string, friendRelay: string) -> string:
on friend via friendRelay:
str2 <- Testo.getString("friends string via")
par LocalPrint.print("my string in par")
LocalPrint.print(str2)
<- "finish"
func topologyBug205(node_id: string, n2: ?string) -> []string:
nodes: *PeerId
on node_id:
a <- Op.identity(n2)
nodes <<- a!
on node_id:
for n <- nodes par:
on n:
Peer.identify()
<- nodes