【发布时间】:2019-08-17 06:56:53
【问题描述】:
您好,我正在使用 Geth,我尝试 truffle 迁移,但它给出了错误。 truffle-config.js 如下:
development: {
host: "127.0.0.1", // Localhost (default: none)
port: 8545, // Standard Ethereum port (default: none)
network_id: "4", //rinkeby id
from:"my address",
gas: 1000
}
当我使用命令 -truffle migrate 进行 truffle 迁移时,我收到此错误。
Error: Error: Error: *** Deployment Failed ***
"Migrations" ran out of gas (using a value you set in your network
config or deployment parameters.)
* Block limit: 0x50e7c
* Gas sent: 1000
at Object.run (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:92:1)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
你能帮帮我吗?
【问题讨论】:
标签: blockchain truffle geth