-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding tool to dump the ledger at a given slot #15620
base: develop
Are you sure you want to change the base?
Conversation
!ci-build-me |
!ci-build-me |
!ci-build-me |
!ci-build-me |
This query dumps all the ledger information tied to each account. | ||
The assumption here is the chain state for a slot corresponds to the | ||
closest block before the slot occured. This is because every block | ||
has is produced during a slot, but not every slot implies a block was |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to fix this awkward grammar
|
||
## Overview | ||
|
||
The Ledger Dumper Tool is queries the archive database for ledger entries associated with a specific slot, which is a unit of time in mina. The data fetched includes various details such as delegate keys, balances, nonces, receipt chain hashes, and more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix grammar
(let%map_open.Command postgres = Cli_lib.Flag.Uri.Archive.postgres | ||
and slot = | ||
flag "--slot" ~aliases:[ "slot" ] | ||
~doc:"the global slot since genesis tha tyou would like to dump" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix spelling error
Any automated tests ? Generally this is new code so we should not create quality debt |
not yet, i can try adding some |
!ci-build-me |
!ci-build-me |
!ci-build-me |
Explain your changes:
Explain how you tested your changes:
Checklist: