当前位置:网站首页>Internal JSON-RPC error. {"code":-32000, "message": "execution reverted"} solve the error

Internal JSON-RPC error. {"code":-32000, "message": "execution reverted"} solve the error

2022-07-05 13:40:00 [email protected]

1, reason
Recently deployed safemoon At the time of the contract , Put... Directly bsc Copy the contract code on the browser , Which of the above errors is reported

2, solve
The main reason is that the routing address is written incorrectly
 Insert picture description here
The address in the source code is this :0x05fF2B0DB69458A0750badebc4f9e13aDd608C7F
Because I deployed the contract in the test network , So it needs to be changed to the following address
testnet : 0xD99D1c33F9fC3444f8101754aBC46c52416550D1
mainnet : 0x10ED43C718714eb63d5aA57B78B54704E256024E
 Insert picture description here

原网站

版权声明
本文为[[email protected]]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140524137409.html