简体   繁体   English

ProviderError:HttpProvider.request 处的 HttpProviderError(.../node_modules/hardhat/src/internal/core/providers/http.ts:78:19)

[英]ProviderError: HttpProviderError at HttpProvider.request (.../node_modules/hardhat/src/internal/core/providers/http.ts:78:19)

i was tring to deploy a dex in my testing envirolment this is the link to github repo https://github.com/hamed-elahifar/geoswa3我想在我的测试环境中部署一个 dex 这是 github 仓库的链接https://github.com/hamed-elahifar/geoswa3

this is the steps in deploy.js script in the main function at first we deploy erc20 tokens after that router and factory for swap deployed next step will approve router to use erc20 tokens after that script create pair in swap and add liquidity to them next step is adding these pairs to farm, but we got following error这是主要功能中 deploy.js 脚本中的步骤,首先我们部署 erc20 令牌,然后部署交换的路由器和工厂下一步将批准路由器在该脚本创建交换对后使用 erc20 令牌,并下一步向它们添加流动性正在将这些对添加到农场,但出现以下错误

ProviderError: HttpProviderError at HttpProvider.request (.../node_modules/hardhat/src/internal/core/providers/http.ts:78:19) ProviderError:HttpProvider.request 处的 HttpProviderError(.../node_modules/hardhat/src/internal/core/providers/http.ts:78:19)

i expect addPool function in farm execute like other fucntions我希望农场中的 addPool 函数像其他函数一样执行

It is not direct solution to your problem, but you can add some lines to node_modules/hardhat/internal/core/providers/http.js to debug.这不是您问题的直接解决方案,但您可以在node_modules/hardhat/internal/core/providers/http.js中添加一些行进行调试。 After isErrorResponse checks, add: console.log(response) or console.log(jsonRpcResponse) .isErrorResponse检查后,添加: console.log(response)console.log(jsonRpcResponse)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 node_modules/ng2-toastr/src/toast-container.component.d.ts(1,48) 中的错误:TS2305-/node_modules/@angular/core/core"' 没有导出成员 - ERROR in node_modules/ng2-toastr/src/toast-container.component.d.ts(1,48): TS2305- /node_modules/@angular/core/core"' has no exported member ionic serve在“node_modules/@angular/core/src/render3/definition.d.ts”中有Typescript Error - ionic serve has Typescript Error at “node_modules/@angular/core/src/render3/definition.d.ts” 使用猫鼬和打字稿进行测试:RangeError:超出最大调用堆栈大小 - node_modules/mongodb/src/bson.ts:38:3 - Testing with mongoose and typescript: RangeError: Maximum call stack size exceeded - node_modules/mongodb/src/bson.ts:38:3 node_modules 未被识别为内部或外部命令 - node_modules is not recognized as an internal or external command node_modules/@fullcalendar/core/main.d.ts(1196,54) 中的错误:错误 TS1144:'{' 或 ';' 预期的 - ERROR in node_modules/@fullcalendar/core/main.d.ts(1196,54): error TS1144: '{' or ';' expected Gaxios._request 中的值无效 (/srv/node_modules/googleapis-common/node_modules/gaxios/build/src/gaxios.js:89:23) - Invalid Value at Gaxios._request (/srv/node_modules/googleapis-common/node_modules/gaxios/build/src/gaxios.js:89:23) ../node_modules/@types/node/assert.d.ts:3:68 中的错误 - 错误 TS1144: '{' or ';' 预期的 - ERROR in ../node_modules/@types/node/assert.d.ts:3:68 - error TS1144: '{' or ';' expected 从 node_modules 绑定动态 Vue 图像 src - Bind dynamic Vue image src from node_modules 目录/node_modules/@antv/g6-core/lib/types/index.d.ts(24,37) 中的 TypeScript 错误:预期类型。 TS1110 - TypeScript error in directory/node_modules/@antv/g6-core/lib/types/index.d.ts(24,37): Type expected. TS1110 怎么进`./ node_modules / googleapis`我看到`build / src`文件夹而不是`src`文件夹 - How come in `./node_modules/googleapis` I see a `build/src` folder instead of a `src` folder
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM