Skip to content

Update airdrop script and distribution #23

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Kouteki
Copy link
Contributor

@Kouteki Kouteki commented Aug 8, 2025

Description

When I tried to update the airdrop distribution from 75% to 70%, I realized there are a few gaps in the script that need to be closed in order to retrace the steps and verify that the distribution is correct.

Improvements

  • consolidate/process_consolidate.go no longer requires the user to manually unpack the snapshot archive
  • consolidate/process_consolidate.go now stores the output in genbalance.txt.gz
  • Distribution updated from 75% to 70%

Steps to Reproduce

  • Run consolidate/process_consolidate.go
  • Run mkgenesis/makefile

@Kouteki Kouteki requested review from zivkovicmilos and moul August 8, 2025 11:43
@Kouteki Kouteki self-assigned this Aug 8, 2025
Copy link
Member

@zivkovicmilos zivkovicmilos left a comment

Choose a reason for hiding this comment

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

If we believe the process_consolidated.go code, this looks good 💯

I also ran @aeddi's scripts to verify them, all good it seems:

Importing balance file: ../mkgenesis/balances.txt.gz
Importing balance file: ../mkgenesis/non-airdrop.txt
Importing balance file: ../consolidate/genbalance.txt.gz
Adding non-airdrop to consolidate balance file
Comparing ../mkgenesis/balances.txt.gz with ../consolidate/genbalance.txt.gz
Balance files match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants