There was an error while loading. Please reload this page.
1 parent 4048e7f commit 5d0546bCopy full SHA for 5d0546b
2 files changed
changes/18371.md
@@ -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
@@ -2797,7 +2797,7 @@ module Queries = struct
2797
let init_hash_string = State_hash.to_base58_check init_hash in
2798
(init_hash_string, state_body_hash_string_list)
2799
2800
- let get_ancestry_proof =
+ let ancestry_proof =
2801
io_field "ancestryProof"
2802
~doc:
2803
"Get state body hashes for ancestor blocks to prove ancestry \
@@ -2921,7 +2921,7 @@ module Queries = struct
2921
; network_id
2922
; signature_kind
2923
; protocol_state
2924
- ; get_ancestry_proof
+ ; ancestry_proof
2925
; account_actions
2926
]
2927
0 commit comments