From 931e162a75f3e52f52270119e650f2163339a749 Mon Sep 17 00:00:00 2001 From: Voxelot Date: Mon, 11 Dec 2023 18:22:43 -0800 Subject: [PATCH] move peers api to node_info, and don't return it by default in the client.node_info() api --- ...fo__tests__peers_info_query_gql_output.snap | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/client/src/client/schema/snapshots/fuel_core_client__client__schema__node_info__tests__peers_info_query_gql_output.snap diff --git a/crates/client/src/client/schema/snapshots/fuel_core_client__client__schema__node_info__tests__peers_info_query_gql_output.snap b/crates/client/src/client/schema/snapshots/fuel_core_client__client__schema__node_info__tests__peers_info_query_gql_output.snap new file mode 100644 index 00000000000..3322f6ca26b --- /dev/null +++ b/crates/client/src/client/schema/snapshots/fuel_core_client__client__schema__node_info__tests__peers_info_query_gql_output.snap @@ -0,0 +1,18 @@ +--- +source: crates/client/src/client/schema/node_info.rs +expression: operation.query +--- +query { + nodeInfo { + peers { + id + addresses + clientVersion + blockHeight + lastHeartbeatMs + appScore + } + } +} + +