diff --git a/aqua/misc.aqua b/aqua/misc.aqua index b7a8ba4..0614c0f 100644 --- a/aqua/misc.aqua +++ b/aqua/misc.aqua @@ -1,5 +1,7 @@ import "trust-graph.aqua" +alias Error: string + -- helpers for isFluencePeer service TrustOp("op"): array_length(a: []Trust) -> u32 diff --git a/aqua/trust-graph-api.aqua b/aqua/trust-graph-api.aqua index fa3fbe2..9872ee2 100644 --- a/aqua/trust-graph-api.aqua +++ b/aqua/trust-graph-api.aqua @@ -1,8 +1,7 @@ -import Sig, Peer from "@fluencelabs/aqua-lib/builtin.aqua" +import Sig, Peer, PeerId from "@fluencelabs/aqua-lib/builtin.aqua" import "misc.aqua" import "trust-graph.aqua" -alias PeerId: string alias Error: string -- Call context: any node with registered `trust-graph` service