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

Update inputs in genesis transactions #2396

Merged
merged 5 commits into from Mar 19, 2024

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Mar 18, 2024

Motivation

This PR updates the amount input in the transfer_public_to_private genesis transactions. This change is necessary because with the new committee requirements, there is not enough public balance to pay for the initial transfers in test scenarios of 100 validators.

Initial values for testing w/ 100 validators:
Stake: 10 million credits * 100 validators = 1 billion credits
Public: 500 million credits / 100 validators = 5 million credits each

Previously we were sending MIN_VALIDATOR_STAKE amount for each of these transfer_public_to_private transactions, which greatly exceeds the available public balance. The change is to update this amount to reflect an equal distribution of public credits and private credits (distributed in NUM_GENESIS_TRANSACTIONS records).

NOTE: This does NOT affect the total supply of credits, and is merely a change in the distribution of the initial public and private credits.

@howardwu howardwu merged commit eefd27d into mainnet-staging Mar 19, 2024
78 checks passed
@howardwu howardwu deleted the update/genesis_transaction branch March 19, 2024 22:52
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.

None yet

2 participants