-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardhat transaction hash mismatch smart contract deployment #3209
Comments
Hi @alienc0der, Is this running on the OKTC testnet or the OKTC mainnet? |
OKTC testnet. |
hi,did you deploy with the hardhat default contract code? |
No. I've deployed a basic ERC-20 contract. |
I tried hardhat2.16.1 and the official node (https://exchaintestrpc.okex.org) to successfully deploy the contract. |
Hi @alienc0der, we also deployed the same 39c86b1ba14a45591b93386d7c67462a76bcb92c comment's node and deploy the contracts, it works fine too. |
I've upgraded hardhat to
I'm doing the deployment on a private testnet.
The actual deployment works, the smart contract code is deployed on the testnet (if I query the returned transaction hash, it appears in the RPC's response), but hardhat still returns the |
@giskook So you were able to deploy the smart contracts using |
Hi @alienc0der , I will try your file to do the test. |
@giskook I found this thread on the OKT forum. This is exactly the issue I've encountered. |
Summary of Bug
1. Describe
Deploying Solidity smart contracts via Hardhat returns the following error:
2. Impact
Solidity smart contract deployment.
3. Recover
Deploying the same smart contract using Remix works.
Expected Result
Successfully deploy a Solidity smart contract using Hardhat.
Version
Git commit hash 39c86b1ba14a45591b93386d7c67462a76bcb92c
exchaind version v1.7.8
exchaincli version v1.7.8
Steps to Reproduce
Install hardhat version
v2.16.1
Deploy Solidity smart contract
For Admin Use
The text was updated successfully, but these errors were encountered: