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

Shepherd Core Contracts 8 Release #9711

Closed
17 of 34 tasks
Tracked by #9730
arthurgousset opened this issue Aug 1, 2022 · 0 comments
Closed
17 of 34 tasks
Tracked by #9730

Shepherd Core Contracts 8 Release #9711

arthurgousset opened this issue Aug 1, 2022 · 0 comments

Comments

@arthurgousset
Copy link
Contributor

arthurgousset commented Aug 1, 2022

Github issue to keep track checklist in Core Contracts release process.

T:

  • @0xarthurxyz: Create a Github issue tracking all these checklist items as an audit log
  • @0xarthurxyz: Implement the git management steps for when a new release branch is cut.
    • Release branch:

    • A new release branch is created release/core-contracts/${N} with the contracts to be audited.

    • there already exists a release/core-contracts/8 branch, but it's deprecated - can be deleted and a new one of the same name be created at your release branch. [~Source: @m-chrzan]

    • Commands used (for review):

      git push origin --delete release/core-contracts/8 # delete existing release/core-contracts/8 branch (advised by Martin)
      git checkout origin/ASv2 # moves to development branch
      git branch release/core-contracts/8 # creates release branch
      git checkout release/core-contracts/8 # moves to release branch
      git log # checks last commit on release branch is as expected
      git push origin release/core-contracts/8 # publishes release branch
    • Tag commit:

    • The latest commit on the release branch is tagged with core-contracts.v${N}.pre-audit.

    • Commands used (for review):

      git log # check commits on release branch
      git show core-contracts.v8.pre-audit # checks if tag already exists (it does, Eela already tagged it)
    • Update config.yml:

    • On master branch, .circleci/config.yml should be edited so that the variable RELEASE_TAG points to the tag celo-core-contracts-v${N}.pre-audit so that all future changes to master are versioned against the new release. ~ Source: Git release management

    • On the release branch, it should remain core-contracts.v7. [~Source: @m-chrzan]

    • Commands used (for review):

      # currently on master branch in monorepo
      git branch 0xarthurxyz/modify-circleci-configyml-for-CoreContracts8Release # makes branch for my 1 line change
      git checkout 0xarthurxyz/modify-circleci-configyml-for-CoreContracts8Release # moves to my branch
      # made 1 line change
      # committed to my branch (in VS Code UI)
      # pushed my branch to remote (in VS Code UI)
      # created PR in Github UI
    • Pre-release notes:

    • On Github, a pre-release Github release should be created pointing at the latest tag on the release branch. ~ Source: Git release management

    • Followed official Github instructions here: Managing releases in a repository

  • @eelanagaraj: Submit release branch to a reputable third party auditor for review.
    • Completed with Hacken.io
  • Begin drafting release notes.

T+1w:

T+2w

  • @alecps: On Tuesday: Run the smart contract release script in order to to deploy the contracts to Baklava as well as submit a governance proposal.

T+3w

T+4w

  • @alecps: Confirm all contracts working as intended on Alfajores.
  • @0xarthurxyz: Confirm audit is complete and make the release notes and forum post contain a link to it.
  • @alecps: On Tuesday: Run the smart contract release script in order to to deploy the contracts to Mainnet as well as submit a governance proposal.
  • Update the corresponding governance proposal with the updated on-chain PROPOSAL_ID and mark CGP status as "PROPOSED".
  • @0xarthurxyz: Update your forum post with the Mainnet PROPOSAL_ID, updated timings (if any changes), and notify the community in the Discord #governance channel.
  • At this point all stakeholders are encouraged to verify the proposed contracts deployed match the contracts from the release branch.
  • @0xarthurxyz: Monitor the progress of the proposal through the governance process.
    • Currently the governance process should take approximately 1 week: 24 hours for the dequeue process, 24 hours for the approval process, and 5 days for the referendum process. After which, the proposal is either declined or is ready to be executed within 3 days.
    • For updated timeframes, use the celocli: celocli network:parameters

T+5w

  • If the proposal passed:
    • @alecps: Confirm all contracts working as intended on Mainnet.
    • @0xarthurxyz: Update your forum post with the Mainnet governance outcome (Passed or Rejected) and notify the community in the Discord #governance channel.
    • @0xarthurxyz: Change corresponding CGP status to EXCECUTED.
    • @alecps: Merge the release branch into master with a merge commit
  • If the proposal failed:
    • Change corresponding CGP status to EXPIRED.
@arthurgousset arthurgousset changed the title [ASv2] Core Contracts Release [Draft] [ASv2] Core Contracts Release Process [Draft] Aug 1, 2022
@arthurgousset arthurgousset changed the title [ASv2] Core Contracts Release Process [Draft] [ASv2] Core Contracts Release Process Aug 1, 2022
@arthurgousset arthurgousset changed the title [ASv2] Core Contracts Release Process [ASv2] Core Contracts Release Checklist Aug 1, 2022
@arthurgousset arthurgousset changed the title [ASv2] Core Contracts Release Checklist [ASv2] Release Checklist Aug 1, 2022
@arthurgousset arthurgousset changed the title [ASv2] Release Checklist [ASv2] Core Contracts Release Checklist Aug 1, 2022
@alecps alecps added the epic label Aug 1, 2022
@arthurgousset arthurgousset self-assigned this Aug 3, 2022
@alecps alecps moved this from 🌳 Sprint Backlog to 🏃‍♀️ In Progress in 🔖 Identity - Team Aug 3, 2022
@arthurgousset arthurgousset changed the title [ASv2] Core Contracts Release Checklist [ASv2] Shepherd Core Contracts 8 Release Aug 4, 2022
@arthurgousset arthurgousset changed the title [ASv2] Shepherd Core Contracts 8 Release Shepherd Core Contracts 8 Release Aug 4, 2022
@alecps alecps closed this as completed Jan 5, 2023
@github-project-automation github-project-automation bot moved this from 🏃‍♀️ In Progress to ✅ Closed in 🔖 Identity - Team Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status:  Closed
Development

No branches or pull requests

2 participants