Skip to content

Update to hardhat 2.8.5 and use eth_getProof from EDR#6339

Merged
Amxx merged 2 commits intomasterfrom
update/hardhat-2.8.5
Feb 12, 2026
Merged

Update to hardhat 2.8.5 and use eth_getProof from EDR#6339
Amxx merged 2 commits intomasterfrom
update/hardhat-2.8.5

Conversation

@Amxx
Copy link
Collaborator

@Amxx Amxx commented Feb 10, 2026

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

@Amxx Amxx requested a review from a team as a code owner February 10, 2026 12:57
@Amxx Amxx added tests Test suite and helpers. ignore-changeset labels Feb 10, 2026
@openzeppelin-security-agent
Copy link

The latest updates on your security scan. Learn more about OpenZeppelin Platform.

Project Scan Issues Details Updated
Openzeppelin Contracts 🟡 Queued View Feb 10, 2026, 12:57 PM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Feb 10, 2026

⚠️ No Changeset found

Latest commit: 3121a19

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

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

Click here to learn what changesets are, and how to add one.

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

@socket-security
Copy link

socket-security bot commented Feb 10, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​hardhat@​2.28.4 ⏵ 2.28.5921009296 +180

View full report

@socket-security
Copy link

socket-security bot commented Feb 10, 2026

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 10, 2026

Walkthrough

The PR updates the hardhat devDependency from ^2.28.0 to ^2.28.5 in package.json. The TrieProof.test.js test suite is refactored to replace external Anvil process spawning with a fixture-based in-process approach. The new fixture deploys $TrieProof, StorageSlotMock, and CallReceiverMock contracts. Test setup now uses batchInBlock with plain transaction generator arrays, direct provider calls for eth_getProof operations, and BlockTries instance conversion for block data. Cryptographic expectations are updated to use '0x' string representations instead of ZeroBytes constants.

Possibly related PRs

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (1 warning, 1 inconclusive)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check ❓ Inconclusive The description only contains a PR checklist without substantive explanation of the changes or their purpose. Add a meaningful description explaining why Hardhat was updated and how the eth_getProof integration improves the test infrastructure.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes both main changes: updating Hardhat to 2.8.5 and switching to eth_getProof from EDR, which match the changeset modifications.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update/hardhat-2.8.5

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

@Amxx Amxx merged commit 8ff78ff into master Feb 12, 2026
23 checks passed
@Amxx Amxx deleted the update/hardhat-2.8.5 branch February 12, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-changeset tests Test suite and helpers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants