Skip to content

Comments

feat[contracts]: Chugsplash integration#653

Closed
smartcontracts wants to merge 14 commits intov0.4.0from
feat/chugsplash
Closed

feat[contracts]: Chugsplash integration#653
smartcontracts wants to merge 14 commits intov0.4.0from
feat/chugsplash

Conversation

@smartcontracts
Copy link
Contributor

Description
Working on chugsplash integration. Waiting for ovmSETCODE and ovmSETSTORAGE support before continuing.

@changeset-bot
Copy link

changeset-bot bot commented Apr 27, 2021

⚠️ No Changeset found

Latest commit: dcc1594

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@smartcontracts smartcontracts changed the base branch from master to v0.3.0-rc April 27, 2021 20:30
* @param addresses Contract addresses to inject into {{ contract.X }} template strings.
* @returns Modified variable with template strings replaced.
*/
const parseVariable = (
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs unit tests. It is also possible to use templating libraries that have unit tests

[name: string]: string
} = {}
): SolidityVariable => {
if (typeof variable === 'string') {

Choose a reason for hiding this comment

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

🤯

@smartcontracts smartcontracts changed the base branch from v0.3.0-rc to v0.4.0 April 29, 2021 19:26
/**
* @title ChugSplashDeployer
*/
contract ChugSplashDeployer {
Copy link
Contributor

Choose a reason for hiding this comment

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

Btw one high level bit of feedback here is I think that more 'deployment'-esque words could make the operation of this contract clearer. For instance hasActiveBundle seems more implicit than hasActiveDeployment.

I feel like it's OK to have deploy-specific terminology here because the ChugSplashDeployer is going to have to handle logic for things like shutting down the contracts to begin a deploy, and restarting them to end the deploy. So idk it seems like it's low value to make things more abstract than they need to be at least at first. Eventually we can break it out into a BundleExecutor or something like that, but in the meantime I just like reminding folks what they are reading


function approveTransactionBundle(
bytes32 _bundleHash,
uint256 _bundleSize
Copy link
Contributor

Choose a reason for hiding this comment

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

This should also take in a version string I think which we can emit and thereby track the versions of each deployment. Or alternatively there is a version in the bundle

@smartcontracts smartcontracts deleted the feat/chugsplash branch May 10, 2021 22:47
@smartcontracts smartcontracts restored the feat/chugsplash branch May 10, 2021 22:47
@smartcontracts smartcontracts deleted the feat/chugsplash branch June 23, 2021 21:46
theochap pushed a commit that referenced this pull request Dec 10, 2025
emhane added a commit that referenced this pull request Feb 4, 2026
Closes #528

---------

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
emhane added a commit that referenced this pull request Feb 4, 2026
Closes #528

---------

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
emhane added a commit that referenced this pull request Feb 4, 2026
Closes #528

---------

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
emhane added a commit that referenced this pull request Feb 4, 2026
Closes #528

---------

Co-authored-by: Emilia Hane <elsaemiliaevahane@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

4 participants