标签: network-error-logging

错误:SimpleSmartContract 尚未部署到检测到的网络(网络/工件不匹配)

我开发了一个简单的智能合约。当我运行松露测试时,它显示以下错误:我是新手,所以我无法弄清楚。

\n

PS F:\\pracdap> 松露测试

\n
Compiling your contracts...\n===========================\n\xe2\x88\x9a Fetching solc version list from solc-bin. Attempt #1\n> Compiling .\\contracts\\Migrations.sol\n> Compiling .\\contracts\\SimpleSmartContract.sol       \n\xe2\x88\x9a Fetching solc version list from solc-bin. Attempt #1\n> Compilation warnings encountered:\n\n    Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "urce file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more informa\n--> /F/pracdap/contracts/SimpleSmartContract.sol\n\n\n> Artifacts written to C:\\Users\\HP\\AppData\\Local\\Temp\\test--1224-GWVOn3NGyps8\n> Compiled successfully using:\n   - solc: 0.8.3+commit.8d00100c.Emscripten.clang\n\n\n\n  Contract: SimpleSmartContract\n    1) should be deployed\n …
Run Code Online (Sandbox Code Playgroud)

solidity truffle network-error-logging

4
推荐指数
1
解决办法
1900
查看次数

标签 统计

network-error-logging ×1

solidity ×1

truffle ×1