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

Mainnet polygon deployment cleanup #96

Merged
merged 2 commits into from
Jul 6, 2024

Conversation

adamgall
Copy link
Member

@adamgall adamgall commented Jul 6, 2024

Timeline of events:

  • LinearERC20Voting is deployed to Mainnet and Polygon.
  • A tiny change is made to a comment in the LinearERC20Voting.sol source file.
  • LinearERC20Voting is deployed to all the other chains.

What this means, is that when running the deployment system against mainnet or polygon, it will deploy LinearERC20Voting (and LinearERC20WrappedVoting which inherits), due to that small difference, the system is technically correct that this version of the contract doesn't exist on that chain and so it should be deployed.

I just added some early exits to the deployment script, to skip these contracts on mainnet and polygon. I've also added the original contract for posterity.

It would be nice to just deploy the updated version to mainnet and polygon and publish these new master copy addresses, but I think there will be some bad bugs in the frontend if we did that.

AFAIK we're stuck with our current implementation address, at least until we build some more concepts of versioning the master copy contracts into our systems here.

@adamgall adamgall self-assigned this Jul 6, 2024
@adamgall adamgall force-pushed the mainnet-polygon-deployment-cleanup branch from 55e8565 to c325da7 Compare July 6, 2024 04:20
@adamgall adamgall force-pushed the mainnet-polygon-deployment-cleanup branch from c325da7 to 09a8d74 Compare July 6, 2024 04:35
@adamgall adamgall merged commit 57f9f69 into develop Jul 6, 2024
1 check passed
@adamgall adamgall deleted the mainnet-polygon-deployment-cleanup branch July 6, 2024 05:30
adamgall added a commit that referenced this pull request Jul 6, 2024
* No more deploying LinearERC20Voting on mainnet and polygon when running deployment script.

* Include the original LinearERC20Voting contract which is deployed to mainnet and polygon
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.

1 participant