cardanoapi / hardfork-testing

Hardfork testing by Dquadrant Team (Project management repository)
0 stars 0 forks source link

GovActions Load Testing #11

Closed mesudip closed 2 months ago

mesudip commented 3 months ago

Based on the planning document and scenario, perform load testing for Governance actions.

Acceptance Criteria

reeshavacharya commented 2 months ago

Progress

Topic Findings
Stress Testing 30 Delegators (Pool Users) and 15 Different Pools
Register Stake Address Successfully registered stake address for all 30 pool users
Stake Pool Registration 15 pools registered (env variable NUM_POOL set to 15 while starting cluster)

Issue: Transaction reaches max UTxO size when NUM_POOL is incremented

Solution: need to update cluster starting script to split pool registration into multiple CLI commands for registering more than 15 pools
Test: test_drep_delegation Passes for 30 DReps in a single transaction
Test: test_dreps_and_spo_delegation Passes for 15 pool delegators and 30 DReps in a single transaction
Test: test_register_and_resign_committee_member - Tested with hard-coding protocol version to 10 since there was some issue with hard-fork initiation
- Passes for 80 committee members being registered and resigned in a single transaction
- Fails for 85 members
- Transaction reaches max UTxO size
Test: test_update_committee_action Passes for 80 certificates in a transaction
- Fails for 85 certificates
- Transaction reaches max UTxO size
Test: test_hardfork Pauses at proposal state
- Hardfork action proposed but not enacted after several epochs even when voting threshold is satisfied
- set the major protocol version to 10 in genesis so that other tests run outside the bootstrap phase.
mesudip commented 2 months ago

Todo:

reeshavacharya commented 2 months ago

Allure report has been pushed to gh-pages https://cardanoapi.github.io/gov-action-load-testing/

Test Repository