Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

yarn hardhat deploy fails with Transaction hash mismatch #36

Closed
snissn opened this issue Dec 22, 2022 · 2 comments
Closed

yarn hardhat deploy fails with Transaction hash mismatch #36

snissn opened this issue Dec 22, 2022 · 2 comments

Comments

@snissn
Copy link

snissn commented Dec 22, 2022

when i run

yarn hardhat deploy

i get an error with the message:

Error: Transaction hash mismatch from Provider.sendTransaction. (expectedHash="0x0000000000000000000000000000000000000000000000000000000000000000", returnedHash="0xe133be3e4eb515218f22ae2d9cab918ff38fc434d42bbe2ed892b58b342e488f", code=UNKNOWN_ERROR, version=providers/5.7.2)
error Command failed with exit code 1.

I believe that this is the identical problem to what's logged here:
filecoin-project/lotus#9839
and here:
filecoin-project/ref-fvm#1029

I'm curious if there's ways supported within hardhard to supply the expected tx hash and make this work without the required lotus changes, but also it seems like the lotus changes are set to be confirmed.

Also i'm confused how FEVM-Hardhat-Kit has presumably been working for anyone as this seems to be a major dealbreaker

@DeveloperAlly
Copy link

DeveloperAlly commented Jan 10, 2023

Same error for me using hardhat and solidity.

No problem on remix though.

I would hazard it's related to this issue: filecoin-project/lotus#9839

@DeveloperAlly
Copy link

DeveloperAlly commented Jan 10, 2023

Actually I solved this issue (wallaby update may also have been a factor - not sure) - see here for a really stripped back version of deploying with hardhat https://github.com/DeveloperAlly/typescript-fevm-hardhat-wallaby-deploy-example

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants