Skip to content

Commit 5d0546b

Browse files
committed
Add changelog, rename a function
1 parent 4048e7f commit 5d0546b

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

changes/18371.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `ancestryProof` graphql endpoint. Endpoint returns sequence of state body hashes that allows one to verify target state hash's provenance.

src/lib/mina_graphql/mina_graphql.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2797,7 +2797,7 @@ module Queries = struct
27972797
let init_hash_string = State_hash.to_base58_check init_hash in
27982798
(init_hash_string, state_body_hash_string_list)
27992799

2800-
let get_ancestry_proof =
2800+
let ancestry_proof =
28012801
io_field "ancestryProof"
28022802
~doc:
28032803
"Get state body hashes for ancestor blocks to prove ancestry \
@@ -2921,7 +2921,7 @@ module Queries = struct
29212921
; network_id
29222922
; signature_kind
29232923
; protocol_state
2924-
; get_ancestry_proof
2924+
; ancestry_proof
29252925
; account_actions
29262926
]
29272927

0 commit comments

Comments
 (0)