after running the node, the deployment contract reports an error
Closed this issue · 2 comments
robertcc0410 commented
- ./init.sh
- deploy contract
The error message is as follows:
ProviderError: rpc error: code = Unknown desc = invalid opcode: PUSH0
robertcc0410 commented
Error when deploying contract and running
at HttpProvider.request (b2network/b2-contracts/node_modules/hardhat/src/internal/core/providers/http.ts:88:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at HardhatEthersProvider.estimateGas (b2network/b2-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:237:27)
at b2network/b2-contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:235:35
at async Promise.all (index 0)```