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

Add CI workflow to do local scratch deployment #807

Merged
merged 20 commits into from
Dec 7, 2023

Conversation

arwer13
Copy link
Contributor

@arwer13 arwer13 commented Nov 22, 2023

The general purpose is to keep the scratch deployment scripts alive and sound - this PR is the first iteration.

Namely it add github workflow which spawns local clean anvil node and runs local scratch deploy script and scratch-acceptance-test script on it.

Also:

  • ⚠️ add MANAGE_NODE_OPERATOR_ROLE to Agent (as it is on mainnet) upon deployment to simplify and don't add voting-related code to scratch-acceptance-test.
  • bump github actions:
    • checkout v3 -> v4
    • setup-node v3 -> v4
  • bump NodeJS version 16 -> 18
  • fix running the simple acceptance test when forking a local debug node (anvil/hardhat/...)
  • fix storage-layout action check
  • fix assert-bytecode action check. NB: Bytecode checks are disabled in the last commit (as they were, because they are supposed to be enabled only for PRs to master ). To see the result see CI checks at the previous commit a0dcbdf
  • remove obsolete github flow
  • remove artifacts.json and do generate it only on CI in the corresponding action

@TheDZhon
Copy link
Contributor

Huge 👓

feat(CI): add flow to scratch deploy on clean local anvil
@arwer13 arwer13 marked this pull request as ready for review November 23, 2023 10:47
Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

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

LGTM, a single comment only is to consider 🙏

contracts/0.4.24/template/LidoTemplate.sol Outdated Show resolved Hide resolved
Copy link
Contributor

@TheDZhon TheDZhon left a comment

Choose a reason for hiding this comment

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

LGTM

@arwer13 arwer13 merged commit c5a5797 into develop Dec 7, 2023
6 checks passed
@arwer13 arwer13 deleted the feat/ci-scratcy-deploy branch December 7, 2023 08:48
@arwer13 arwer13 mentioned this pull request Dec 7, 2023
4 tasks
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