mina icon indicating copy to clipboard operation
mina copied to clipboard

adding graphql query for snarked ledger

Open svv232 opened this issue 9 months ago • 3 comments

Explain your changes:

  • I added a snarkLedger object to the block object in graphql. The idea is to emulate the snark leger export functionality in the daemon rpc calls in graphql.

Explain how you tested your changes:

  • I need some additional assistance testing this. Despite my best efforts, I can't seem to get a block height of greater than size one on my local network. Ideally this query would be run on a network with a reasonably large snark ledger, along with a unit test. If anyone can walk me through doing this, or help me get my local network set up that would be a huge help.
Screenshot 2024-05-06 at 8 40 31 PM

Ch=

  • [ ] Does this close issues? List them hopefully closes #12706

svv232 avatar May 07 '24 01:05 svv232

!ci-build-me

svv232 avatar May 07 '24 01:05 svv232

The PR seems good to me. This can be tested using the mina_local_network script.

ghost-not-in-the-shell avatar May 09 '24 19:05 ghost-not-in-the-shell

hopefully closes https://github.com/MinaProtocol/mina/issues/12706

This doesn't quite address the issue, because it only returns the accounts and not the merkle path.

mrmr1993 avatar May 13 '24 20:05 mrmr1993

this is now supported in #15936

svv232 avatar Aug 22 '24 23:08 svv232