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

Upgrade runtime to latest LTS (22) #184

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

brunomenezes
Copy link
Collaborator

Summary

Code changes to set the web app to run using the latest node runtime LTS (v22). No regressions were identified.

Important

For the reviewer/tester: It is important for sanity's sake to remove all the local node_modules before installation.

For context: I got caught up in a rabbit hole with a third-level dependency (@ensdomains/ens-contract) using an old version of hardhat that set the engine to maximum node v18. It led me to checkout cartesi/staking-pool make upgrades, and install that locally into my staking project. That allowed the package manager to pass the engine checks and enabled the update in the yarn.lock, but it would cost a redeploy of contracts as there was a change in the imports of ensdomains/ens-contracts for a solidity contract (that is an undesirable outcome). After checking these deps releases, I rolled back the local install, and it was now working as the Hardhat in our yarn.lock had upgraded to its latest version. As these dependencies use the caret symbol (^), the problem was solved.

@brunomenezes brunomenezes linked an issue Jan 19, 2025 that may be closed by this pull request
4 tasks
Copy link

vercel bot commented Jan 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 19, 2025 9:20pm

@coveralls
Copy link

Pull Request Test Coverage Report for Build 12857276852

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 77.578%

Totals Coverage Status
Change from base Build 12855657236: 0.0%
Covered Lines: 340
Relevant Lines: 403

💛 - Coveralls

@brunomenezes brunomenezes merged commit 20cd0cb into main Jan 22, 2025
6 of 7 checks passed
@brunomenezes brunomenezes deleted the 182-chore-upgrade-runtime-to-latest-lts branch January 22, 2025 02:41
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.

Chore: Upgrade runtime to latest LTS
3 participants