Skip to content

test: import JsonRpcProvider from ethers v6 (fix v5/v6 type mismatch) - #13

Merged
Am0rfu5 merged 1 commit into
mainfrom
fix/standalone-wiring
Jul 3, 2026
Merged

test: import JsonRpcProvider from ethers v6 (fix v5/v6 type mismatch)#13
Am0rfu5 merged 1 commit into
mainfrom
fix/standalone-wiring

Conversation

@Am0rfu5

@Am0rfu5 Am0rfu5 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

test/multichain-setup.test.ts imported JsonRpcProvider from @ethersproject/providers (ethers v5 typings) and passed it where the code expects ethers v6's JsonRpcProvider. The two are structurally incompatible (#private fields), so the suite failed to compile under ts-jest. Import from ethers (v6) instead.

Verification

  • yarn test (jest): the previously-failing multichain-setup.test.ts now passes (51/51); no v5/v6 type errors.

🤖 Generated with Claude Code

…pe mismatch)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@Am0rfu5
Am0rfu5 merged commit 79f409a into main Jul 3, 2026
1 of 5 checks passed
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.

1 participant