• 카테고리

    질문 & 답변
  • 세부 분야

    블록체인

  • 해결 여부

    미해결

real-estate compiling error

21.01.20 08:28 작성 조회수 132

0

PS C:\Users\DSC\Blockchain\real-estate> truffle migrate --network ganache

Warning: Please rename truffle.js to truffle-config.js to ensure Windows compatibility.

 

Compiling your contracts...

===========================

> Compiling .\contracts\Migrations.sol

> Compiling .\contracts\RealEstate.sol

> Artifacts written to C:\Users\DSC\Blockchain\real-estate\build\contracts

> Compiled successfully using:

   - solc: 0.5.16+commit.9c3226ce.Emscripten.clang

 

Warning: Please rename truffle.js to truffle-config.js to ensure Windows compatibility.

Warning: Please rename truffle.js to truffle-config.js to ensure Windows compatibility.

 

 

Starting migrations...

======================

> Network name:    'ganache'

> Network id:      5777

> Block gas limit: 6721975 (0x6691b7)

 

 

1_initial_migration.js

======================

 

   Deploying 'Migrations'

   ----------------------

   > transaction hash:    0xdab1107f909a3dbc05a4ee8ff01a0cbc6cbf27d6a46e8a6ff087b05a7cb937fb

   > Blocks: 0            Seconds: 0

   > contract address:    0x27B61efB1824DA5611941285C320386DA052EfeC

   > block number:        1

   > block timestamp:     1611098500

   > account:             0x20BB5789f444e47a88c366f0bfE41EcB3c75BD4C

   > balance:             99.99472518

   > gas used:            263741 (0x4063d)

   > gas price:           20 gwei

   > value sent:          0 ETH

   > total cost:          0.00527482 ETH

 

 

   ⠼ Saving migration to chain.

Error: Returned error: VM Exception while processing transaction: invalid opcode

    at Migration._deploy (C:\Users\DSC\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\Migration.js:97:1)

    at process._tickCallback (internal/process/next_tick.js:68:7)

Truffle v5.1.60 (core: 5.1.60)

Node v10.6.0

답변 0

답변을 작성해보세요.

답변을 기다리고 있는 질문이에요.
첫번째 답변을 남겨보세요!