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

feat: add CI for integration test suite for contract upgrades #381

Merged
merged 81 commits into from
Jan 15, 2025

Conversation

viraj124
Copy link
Contributor

@viraj124 viraj124 commented Jan 3, 2025

@viraj124
Copy link
Contributor Author

viraj124 commented Jan 8, 2025

  • Hey, so instead of performing upgrades in the test, I thought it would be better to have the upgrade scripts which would get triggered only in the forked environment and upgrade the current mainnet contracts, before executing the tests.

I suggest to put these scripts in a separate deploy/ folder and use that folder when forking. That will make the deploy scripts easier to read and follow. The delta of changes will be reduced too.

will look into it

this is done

@viraj124 viraj124 requested a review from DefiCake January 8, 2025 12:04
@viraj124 viraj124 requested a review from DefiCake January 10, 2025 12:45
@@ -7,7 +7,8 @@ FROM ghcr.io/fuellabs/fuel-core:v0.40.0

ARG FUEL_IP=0.0.0.0
ARG FUEL_PORT=4001
ARG CONSENSUS_KEY_SECRET=""
# since we need to set the FORKING var in the upgrade-test-suite ci so setting it here
ARG CONSENSUS_KEY_SECRET="0xa449b1ffee0e2205fa924c6740cc48b3b473aa28587df6dab12abc245d1f5298"
Copy link
Contributor

Choose a reason for hiding this comment

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

is this safe to expose this key here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah it is a hardhat test account key we already expose it here

@viraj124 viraj124 merged commit 3630f77 into main Jan 15, 2025
12 checks passed
@viraj124 viraj124 deleted the viraj124/206-ci-fork-integration-test branch January 15, 2025 11:20
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.

Implement workflow to run a test suite on a fork for contract upgrades
3 participants