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

Adjust migrations for Testnet contract deploys #5795

Merged
merged 5 commits into from
Nov 12, 2020

Conversation

nambrot
Copy link
Contributor

@nambrot nambrot commented Nov 10, 2020

Description

Over time, our migrationsConfig have become out of sync and thus the current state does not yield a satisfactory experience for deploying contracts on a real testnet (i.e. not ganache). As I've been working more on env-test, I also adjusted the default migration overrides to make some special keys more accessible on these testnets.

As a result, testnet contract deploys should work out of the box, and an upcoming PR for env-tests will make running these tests work out of the box as well.

Tested

  • On my own testnets

Fixes #5727

@@ -506,10 +430,139 @@ const NetworkConfigs = {
votesRatioOfLastVsFirstGroup: 1.0,
},
},
rc1: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is copied for the most part from the old Default config

Copy link
Contributor

@yorhodes yorhodes left a comment

Choose a reason for hiding this comment

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

Exciting!

@nambrot nambrot added automerge Have PR merge automatically when checks pass and removed automerge Have PR merge automatically when checks pass labels Nov 11, 2020
@nambrot nambrot added the automerge Have PR merge automatically when checks pass label Nov 12, 2020
@mergify mergify bot merged commit e8cbbd8 into master Nov 12, 2020
@mergify mergify bot deleted the nambrot/testnet-migrations branch November 12, 2020 15:24
@nambrot nambrot restored the nambrot/testnet-migrations branch December 21, 2020 16:50
@aaronmgdr aaronmgdr deleted the nambrot/testnet-migrations branch August 16, 2023 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

contracts migrations should work with v1
2 participants