Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the problems related to Ethernet Square

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the problems related to Ethernet Square". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to solve the problems related to Ethernet Square.

Error: The method eth_getCompilers does not exist/is not available

Because the API was discarded in the high version of Tai Tai Fong.

TypeError: web3.eth.contract is not a function

Because API is abandoned after 1. 0.

TypeError: web3.eth.contract is not a function Issue # 382 trufflesuite/ganache-cli

Error: Returned error: authentication needed: password or unlock

The user is locked

Personal.unlockAccount ("0x....", "password")

TypeError: web3.eth.accounts is not a function

Web3.eth.getAccounts ()

(node:30706) UnhandledPromiseRejectionWarning: Error: Returned error: unknown account

The address does not exist.

Error: The contract code couldn't be stored, please check your gas limit.

Add gas to the parameter

Send ({from: '0x104847cdbaccb429d691145c19a5678353878e0ccalendar, gasPrice:' 1490000' Gas:3144658}) (node:30475) UnhandledPromiseRejectionWarning: Error: Returned error: insufficient funds for gas * price + value at Object.ErrorResponse (/ opt/workspace/web3/node_modules/web3-core-helpers/src/errors.js:29:16) at / opt/workspace/web3/node_modules/web3-core-requestmanager/src/index.js:140:36 at XMLHttpRequest.request.onreadystatechange (/ opt/workspace/web3/node_modules/web3-providers-http/src/index.js:77 13) at XMLHttpRequestEventTarget.dispatchEvent (/ opt/workspace/web3/node_modules/xhr2/lib/xhr2.js:64:18) at XMLHttpRequest._setReadyState (/ opt/workspace/web3/node_modules/xhr2/lib/xhr2.js:354:12) at XMLHttpRequest._onHttpResponseEnd (/ opt/workspace/web3/node_modules/xhr2/lib/xhr2.js:509:12) at IncomingMessage. (/ opt/workspace/web3/node_modules/xhr2/lib/xhr2.js:469:24) at emitNone (events.js:111:20) at IncomingMessage.emit (events.js:208:7) at endReadableNT (_ stream_readable.js:1064:12) at _ combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9)

Because chainId is 0, you can change it to another value.

{"config": {"chainId": 100,0, "eip155Block": 0, "eip158Block": 0}, "alloc": {}, "coinbase": "0x0000000000000000000000000000000000000000", "difficulty": "0x20000", "extraData": "", "gasLimit": "0x2fefd8", "nonce": "0x0000000000000042" "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "timestamp": "0x00"} so far I believe you have a deeper understanding of "how to solve the problems related to Ethernet Square". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report