Closed timbrinded closed 8 months ago
Hey @timbrinded, could you share your hardhat.config
please?
@nikola-bozin-txfusion Updated ticket with HH config
I am also having the same issue
Hey @timbrinded , I think this is not connected to the plugin itself, as I tried using the Provider
from zksync-ethers
and it was still the same. This is probably related to this issue with the era-test-node against which the tests are run. We will let you know when this is resolved.
Duplicated from #714.
Just for visibility, see the workaround for this issue
🐛 Bug Report for hardaht-zksync plugins
💥 Plugin name
@matterlabs/hardhat-zksync-ethers
📝 Description
When using the zksync hardhat stack for ethers6, the nonce for write txns are not automatically updated.
🔄 Reproduction Steps
Consider the test file:
🤔 Expected Behavior
Given the two trivial expects, two successful txns and passes.
😯 Current Behavior
adding the following will make the tests pass as expected:
🖥️ Environment
Node 20.10
📋 Additional Context
package.json
:tsconfig.json
:hardhat.config.ts
: