You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need an integration test for all all supported gov proposal types.
Create a proposal in the the related contract
Vote + execute
Capture the response and convert into TgradeMsg
Ensure the relevant fields are set with the expected data
Goal is to ensure that the contract response object matches the expected mappings in tgrade. There were some issues in the past where the msg field had different name like migrate_msg
The text was updated successfully, but these errors were encountered:
alpe
changed the title
Test gov proposals
Test gov proposal contracts and mappings
Mar 1, 2022
All 4 steps should be implemented into the same integration test.
first one is setup system under test, second is to run the test case, last two are verifying assumptions.
To split this into multiple tasks then you could go by proposal although they all for a contract may all go into the same table test and can not be worked on in parallel.
We have voting with OC, AP and validator community. They are more or less independent.
We have some coverage for the validator community voting already in https://github.com/confio/tgrade/blob/main/x/poe/contract/tgrade_validator_voting_integration_test.go#L27
We need an integration test for all all supported gov proposal types.
TgradeMsg
Goal is to ensure that the contract response object matches the expected mappings in tgrade. There were some issues in the past where the
msg
field had different name likemigrate_msg
The text was updated successfully, but these errors were encountered: