Governance
Last updated
Last updated
TC_1
Initialize
initialize
It should initialize the contract
TC_2
Set pending Admin
setPendingAdmin
It should set the governance contract for pending admin
TC_3
Accept pending Admin
_acceptAdmin
It should set the governance contract for timelock
TC_4
Create proposal
propose
Try to create proposal without ASTRADAO approval
TC_5
Create proposal
propose
Create proposal for updating minimum votes
TC_6
Vote on proposal
castVote
Vote on proposal
TC_7
Queue the proposal
queue
Queue the proposal with 1 user votes for testing its enough to pass the proposal
TC_8
Execute
execute
Try to execute the proposal before execute time reached
TC_9
Queue the proposal
queue
Try to execute the queue before execute time reached
TC_10
Execute
execute
Try to execute the queue before execute time reached
TC_11
Create proposal
propose
Try to create proposal without top staker
TC_12
Vote on proposal
castVote
Vote on already executed proposal
TC_13
Queue the proposal
queue
Try to execute the queue after execution
TC_14
Execute
execute
Try to execute the proposal after execution