joystream icon indicating copy to clipboard operation
joystream copied to clipboard

Luxor QA Plan

Open freakstatic opened this issue 10 months ago • 6 comments

Features Tests

Proposal for reducing council budget

  • [x] Create a proposal to reduce the council budget, check the budget value before and after the proposal execution
  • [x] Try to reduce the council budget more than the current value on the council budget
  • [x] Try to make a proposal with a negative reduction

Vested spending from WG budgets

  • [x] Create a vested spending from the WG budget and verify that the destination wallet receives the right amount of vested tokens
  • [x] Try to create a vested spending with a value higher than the amount in the WG budget
  • [x] Check what happens if an account has too many vesting schedules already and we do the payment

Proposal for adjusting validator rewards budget

  • [x] Create a proposal with a validator reward multiplier (Ex: 0.5) and verify that the validator and nominators rewards match the expected new value
  • [x] Try to create proposals with values outside of the range (lower than 0.2 and higher than 1.0)

Proposal for adjusting CRT pallet constraints

  • [x] Create a proposal to update all the constraints and verify the chain state after the proposal execution
  • [x] Create a proposal to update each constraint individually and check if only the selected constraint was changed and the rest didn't reset to a default value
    • [ ] max_yearly_rate
    • [ ] min_amm_slope
    • [ ] min_sale_duration
    • [ ] min_revenue_split_duration
    • [ ] min_revenue_split_time_to_start
    • [ ] sale_platform_fee
    • [ ] amm_buy_tx_fees
    • [ ] amm_sell_tx_fees
    • [ ] bloat_bond

Add proxy pallet

  • [x] Assign a proxy account to the account A and try to perform a operation that only the account A can perform using the proxy account
  • [x] Remove the proxy account association and try to perform a transaction that only the account A can perform using the proxy account WIP

Pre-Upgrade Tests

  • [ ] Try to connect and sync the joystream-node and QN (compiled from the luxor branch) to a nara chain

Post-Upgrade Tests

  • [ ] Try to connect nara pioneer (RPC and QN) to a luxor chain
  • [ ] Try to connect nara atlas (RPC, QN and Orion) to a luxor chain
  • [ ] Try to sync the luxor joystream-node and QN with the mainnet chain
  • [x] Verify that the validator rewards match the expect value considering the validator reward multiplier default value

freakstatic avatar Mar 28 '24 02:03 freakstatic