You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bump the Jest catalog entry from 30.3.0 to 30.4.2 and @jest/globals to 30.4.1.
Add jest-environment-node 30.4.1 explicitly for Jest workspaces that use the Node test environment.
Pin older Jest 30 expect resolutions to 30.4.1 so the runtime and mocker packages stay coherent.
Contract impact
No Solidity files changed.
No deployed-bytecode inputs or generated contract artifacts are included.
Validation
pnpm install --frozen-lockfile
pnpm -F operations run test
pnpm -F @consensys/linea-contract-integrity-verifier run build
pnpm -F @consensys/linea-contract-integrity-verifier-ethers run test
pnpm -F @consensys/linea-contract-integrity-verifier-viem run test
pnpm -F @consensys/linea-sdk-core run test
pnpm --dir ts-libs/sdk/sdk-ethers run typechain && pnpm -F @consensys/linea-sdk run test
pnpm -F @consensys/linea-sdk-viem run test after building @consensys/linea-sdk-core
pnpm -F @consensys/linea-native-yield-automation-service run test
Local note: pnpm -F @consensys/linea-postman run test was attempted after building workspace dependencies, but this local machine lacks the native @consensys/linea-native-libs binary directory (dist/lib/darwin-arm64) because NATIVE_LIBS_RELEASE_TAG is not set for the native-libs postbuild step.
Low Risk
Low risk dependency-only change (Jest minor bump) plus a small test expectation fix; main impact is on test tooling and lockfile resolution rather than runtime behavior.
Overview
Updates the workspace Jest toolchain to v30.4 (catalog bumps for jest and @jest/globals) and explicitly adds jest-environment-node to multiple packages’ devDependencies to match their test environment.
Refreshes pnpm-lock.yaml to reflect the new Jest versions and pins expect resolution to keep Jest internals consistent. Also fixes a Hardhat TokenBridge test to capture the previous messageService address before asserting the MessageServiceUpdated event args.
Reviewed by Cursor Bugbot for commit 2196fe0. Bugbot is set up for automated code reviews on this repo. Configure here.
✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.19%. Comparing base (f6fe6e4) to head (2196fe0). ⚠️ Report is 4 commits behind head on main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@jest/globalsto 30.4.1.jest-environment-node30.4.1 explicitly for Jest workspaces that use the Node test environment.expectresolutions to 30.4.1 so the runtime and mocker packages stay coherent.Contract impact
Validation
pnpm install --frozen-lockfilepnpm -F operations run testpnpm -F @consensys/linea-contract-integrity-verifier run buildpnpm -F @consensys/linea-contract-integrity-verifier-ethers run testpnpm -F @consensys/linea-contract-integrity-verifier-viem run testpnpm -F @consensys/linea-sdk-core run testpnpm --dir ts-libs/sdk/sdk-ethers run typechain && pnpm -F @consensys/linea-sdk run testpnpm -F @consensys/linea-sdk-viem run testafter building@consensys/linea-sdk-corepnpm -F @consensys/linea-native-yield-automation-service run testLocal note:
pnpm -F @consensys/linea-postman run testwas attempted after building workspace dependencies, but this local machine lacks the native@consensys/linea-native-libsbinary directory (dist/lib/darwin-arm64) becauseNATIVE_LIBS_RELEASE_TAGis not set for the native-libs postbuild step.Closes #3060
Note
Low Risk
Low risk dependency-only change (Jest minor bump) plus a small test expectation fix; main impact is on test tooling and lockfile resolution rather than runtime behavior.
Overview
Updates the workspace Jest toolchain to v30.4 (catalog bumps for
jestand@jest/globals) and explicitly addsjest-environment-nodeto multiple packages’ devDependencies to match their test environment.Refreshes
pnpm-lock.yamlto reflect the new Jest versions and pinsexpectresolution to keep Jest internals consistent. Also fixes a HardhatTokenBridgetest to capture the previousmessageServiceaddress before asserting theMessageServiceUpdatedevent args.Reviewed by Cursor Bugbot for commit 2196fe0. Bugbot is set up for automated code reviews on this repo. Configure here.