Skip to content

fix: lock the Hardhat event handlers test container - #2179

Open
RekklesNA wants to merge 1 commit into
graphprotocol:mainfrom
RekklesNA:fix/hardhat-example-lockfile
Open

RekklesNA wants to merge 1 commit into
graphprotocol:mainfrom
RekklesNA:fix/hardhat-example-lockfile

Conversation

@RekklesNA

Copy link
Copy Markdown

Summary

  • Pin the Hardhat test container to 2.28.6 and install its isolated pnpm lockfile with --frozen-lockfile.
  • Remove the Cancun override and explicitly enable per-transaction gas estimation for the localhost test client. hardhat-ethers otherwise uses the configured block gas limit on localhost, which can exceed the active hardfork's per-transaction limit even for small transactions.

Closes #2127.

Verification

  • pnpm build
  • docker compose build hardhat
  • pnpm --filter example-ethereum-basic-event-handlers test with Compose ports bound to loopback (1 passing, all events indexed)
  • Prettier check for the changed configuration and lockfile

This contribution was prepared with AI assistance.

@changeset-bot

changeset-bot Bot commented Nov 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2bd7d97

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

Pin or lockfile hardhat in example-ethereum-basic-event-handlers container

1 participant