Skip to content
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

Generate ledger JSON from spreadsheet #7894

Merged
merged 7 commits into from
Feb 17, 2021

Conversation

psteckler
Copy link
Member

@psteckler psteckler commented Feb 11, 2021

App to generate the mainnet genesis ledger in the runtime JSON format. The input is a tab-separated-value file exported from a Google Docs spreadsheet.

Tested using a sample clean spreadsheet, can provide a link for review. The code here doesn't accept an empty string for the vesting amount, which does occur in the sample spreadsheet; it's been promised that the final spreadsheet will have 0 entries, and not empty strings.

I can provide the JSON output for review.

Added a Makefile target, placed in .PHONY section, removed some no-longer-used entries there, added some entries which should have been added.

Closes #7692.

@psteckler psteckler requested a review from a team as a code owner February 11, 2021 19:06
@psteckler psteckler changed the base branch from develop to compatible February 11, 2021 19:08
Command.(
run
(let open Let_syntax in
async ~summary:"Write blocks to an archive database"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Change summary line

@aneesharaines
Copy link
Contributor

!approved-for-mainnet

@psteckler psteckler added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Feb 17, 2021
@mrmr1993 mrmr1993 merged commit 1940bd6 into compatible Feb 17, 2021
@mrmr1993 mrmr1993 deleted the feature/genesis-ledger-from-tsv branch February 17, 2021 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
4 participants