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

[Spec] Updated the spec of the Genesis module #5752

Merged
merged 1 commit into from
Dec 5, 2022
Merged

Conversation

junkil-park
Copy link
Contributor

@junkil-park junkil-park commented Dec 1, 2022

Description

  • This commits update the [verify_only] function in genesis (i.e., initialize_for_verification) to reflect the encode_aptos_mainnet_genesis_transaction of vm-genesis.

  • The spec of create_signer is added.

  • One TODO is removed because the Table issue has been fixed.

Test Plan

move prove

@@ -426,17 +433,17 @@ module aptos_framework::genesis {
rewards_rate_denominator,
voting_power_increase_limit
);

features::change_feature_flags(aptos_framework, vector[1, 2], vector[]);
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This commits update the `verify_only` genesis steps to reflect the `encode_aptos_mainnet_genesis_transaction` of `vm-genesis`.

The spec of `create_signer` is added.

One TODO is removed because the `Table` issue has been fixed.
@junkil-park junkil-park requested a review from areshand as a code owner December 5, 2022 09:22
@junkil-park junkil-park enabled auto-merge (squash) December 5, 2022 09:22
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

✅ Forge suite land_blocking success on a68d6a57e968fd3bc04ed0d2ae259b91b4554df7

performance benchmark with full nodes : 6922 TPS, 5717 ms latency, 9400 ms p99 latency,(!) expired 360 out of 2956360 txns
Test Ok

@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

✅ Forge suite compat success on testnet_2d8b1b57553d869190f61df1aaf7f31a8fc19a7b ==> a68d6a57e968fd3bc04ed0d2ae259b91b4554df7

Compatibility test results for testnet_2d8b1b57553d869190f61df1aaf7f31a8fc19a7b ==> a68d6a57e968fd3bc04ed0d2ae259b91b4554df7 (PR)
1. Check liveness of validators at old version: testnet_2d8b1b57553d869190f61df1aaf7f31a8fc19a7b
compatibility::simple-validator-upgrade::liveness-check : 7164 TPS, 5258 ms latency, 7300 ms p99 latency,no expired txns
2. Upgrading first Validator to new version: a68d6a57e968fd3bc04ed0d2ae259b91b4554df7
compatibility::simple-validator-upgrade::single-validator-upgrade : 5029 TPS, 8359 ms latency, 10900 ms p99 latency,no expired txns
3. Upgrading rest of first batch to new version: a68d6a57e968fd3bc04ed0d2ae259b91b4554df7
compatibility::simple-validator-upgrade::half-validator-upgrade : 4785 TPS, 8474 ms latency, 11400 ms p99 latency,no expired txns
4. upgrading second batch to new version: a68d6a57e968fd3bc04ed0d2ae259b91b4554df7
compatibility::simple-validator-upgrade::rest-validator-upgrade : 6644 TPS, 5900 ms latency, 10600 ms p99 latency,no expired txns
5. check swarm health
Compatibility test for testnet_2d8b1b57553d869190f61df1aaf7f31a8fc19a7b ==> a68d6a57e968fd3bc04ed0d2ae259b91b4554df7 passed
Test Ok

@junkil-park junkil-park merged commit 0300f28 into main Dec 5, 2022
@junkil-park junkil-park deleted the jpark/spec-genesis branch December 5, 2022 10:11
@Markuze Markuze mentioned this pull request Dec 5, 2022
areshand pushed a commit to areshand/aptos-core-1 that referenced this pull request Dec 18, 2022
This commits update the `verify_only` genesis steps to reflect the `encode_aptos_mainnet_genesis_transaction` of `vm-genesis`.

The spec of `create_signer` is added.

One TODO is removed because the `Table` issue has been fixed.
@Markuze Markuze mentioned this pull request Dec 26, 2022
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.

3 participants