Skip to content

Comments

feat: Added deploy script for checking deployments#738

Open
ChaoticTempest wants to merge 9 commits intodevelopfrom
phuong/feat/mpc-deploy-checker
Open

feat: Added deploy script for checking deployments#738
ChaoticTempest wants to merge 9 commits intodevelopfrom
phuong/feat/mpc-deploy-checker

Conversation

@ChaoticTempest
Copy link
Member

Now we can check whether or not our deployments are going to break state for contracts or not.

You can check against dev by running:

cargo test -- run_dev --show-output


let status = status.await?;
dbg!(&status);
assert!(status.is_failure(), "expected to timeout");
Copy link
Member

Choose a reason for hiding this comment

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

Is it possible fail due to deserialize certain state failed (caused by migration)? Should we check execution outcome fail reason

Copy link
Member Author

Choose a reason for hiding this comment

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

yeah, it's possible to fail, which is why this script just checks if we can do a migration. The dbg!(&status) will show us the cause of the migration failing

@ChaoticTempest
Copy link
Member Author

I added in CI checks for doing this deploy check. Just do the init_running for dev for now when you guys get the chance

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.

2 participants