Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable compass deployment retries #1188

Conversation

maharifu
Copy link
Contributor

@maharifu maharifu commented Jun 7, 2024

Related Github tickets

Background

As a user, I want failed compass deployments to be retried in a sane way in case they failed, so that I'm not locked out of an upgraded system and my funds are protected.

  • Added a Retries field to UploadSmartContract
  • If deployment fails and we haven't reached max retries, we push the message back into the queue
  • When max retries is reached, we remove the message from the queue

Also, re-enabled and fixed ginkgo tests in evm keeper.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

@maharifu maharifu requested a review from byte-bandit June 7, 2024 15:31
@maharifu maharifu marked this pull request as ready for review June 7, 2024 15:31
Copy link
Contributor

@byte-bandit byte-bandit left a comment

Choose a reason for hiding this comment

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

Good stuff!

@taariq taariq merged commit c096707 into palomachain:master Jun 8, 2024
4 checks passed
@taariq taariq deleted the lcarvalho/1035-reenable-compass-deployment-retries branch June 8, 2024 15:39
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.

3 participants