Error HH604: Error running JSON-RPC server: Missing mix hash #5266
-
Hello folks,
Reference docs: https://cc3-docs.creditcoin.network/smart-contract-guides/hardhat-smart-contract-development#forking-cc3-evm I've tried both the publicly available URL as well as running a local archive node and connecting to it - same result. Note: the chain in question, Creditcoin, is built with Substrate and incorporates an EVM compatibility layer. I have no issues deploying a smart contract and interacting with it for example. Does anyone have any hints or tips what this could mean before I start going down the rabbit hole of debugging Hardhat's source code? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
We have no experience with We may take a look at this if it affects multiple chains, but we can't promise any timeline right now. |
Beta Was this translation helpful? Give feedback.
-
Hi @atodorov I found out that Hardhat cache has "mixHash":null field when I fork Substrate, and "mixHash":"SOME HEX" when I fork Sepolia, for example. |
Beta Was this translation helpful? Give feedback.
-
@fvictorio @Wodann this looks like a regression when moving to EDR. We are probably more strict than before with respect to validating the blocks that we fetch from the JSON-RPC during forking. |
Beta Was this translation helpful? Give feedback.
We have no experience with
creditcoin
, however having an EVM compatibility layer does not imply you will be able to fork the chain, only that the chain can use the EVM as a runtime for smart contract execution.We may take a look at this if it affects multiple chains, but we can't promise any timeline right now.