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

[Feature] Introduce TestnetV0 Network Impl #2414

Merged
merged 12 commits into from
Apr 12, 2024
Merged

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Mar 30, 2024

Motivation

This PR introduces a TestnetV0 network implementation alongside the existing MainnetV0.

A testnet version of AleoV0 and Circuit were also added to support the TestnetV0 network variant; they are AleoTestnetV0 and TestnetCircuit, respectively.

This new network variant will allow testnets to run with custom attributes. The current changes are:

  • MAX_CERTIFICATES: 10 in MainnetV0 --> 100 in TestnetV0
  • GENESIS_COINBASE_TARGET: (1023 in MainnetV0) --> 31 in TestnetV0
  • GENESIS_PROOF_TARGET: (256 in MainnetV0) --> 8 in TestnetV0

The parameters crate was also updated to support and store the new testnet parameters.

@raychu86 raychu86 marked this pull request as ready for review April 1, 2024 23:22
@howardwu howardwu merged commit 767434c into mainnet-staging Apr 12, 2024
2 of 79 checks passed
@howardwu howardwu deleted the feat/testnetv0 branch April 12, 2024 22:35
@raychu86 raychu86 changed the title Introduce TestnetV0 Network Impl [Feature] Introduce TestnetV0 Network Impl Apr 12, 2024
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