Created
July 5, 2018 00:18
-
-
Save cgewecke/1713b5821c673288ff1b7f029030f5e5 to your computer and use it in GitHub Desktop.
Output from Alan Lu's npm migrations: dry-run test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling ./contracts/Migrations.sol... | |
Compiling ./contracts/extralib.sol... | |
Compilation warnings encountered: | |
/private/var/folders/_p/1jdl7zfx1473cwzhqsz8gx4r0000gn/T/tmp-38535ESsKAygkULcz/node_modules/@org/pkg/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead. | |
function Migrations() public { | |
^ (Relevant source part starts here and spans across multiple lines). | |
Writing artifacts to ./build/contracts | |
Compiling ./contracts/Migrations.sol... | |
Compiling ./contracts/extralib2.sol... | |
Compiling ./contracts/extraotherlib2.sol... | |
Compiling @org/pkg/contracts/extralib.sol... | |
Compilation warnings encountered: | |
/private/var/folders/_p/1jdl7zfx1473cwzhqsz8gx4r0000gn/T/tmp-38535ESsKAygkULcz/node_modules/dep2/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead. | |
function Migrations() public { | |
^ (Relevant source part starts here and spans across multiple lines). | |
Writing artifacts to ./build/contracts | |
Migrations dry-run (simulation) | |
=============================== | |
> Network name: 'development' | |
> Network id: 1530749768541 | |
1_initial_migration.js | |
====================== | |
Deploying 'Migrations' | |
---------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.99445076 | |
> gas used: 277462 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00554924 ETH | |
------------------------------------- | |
> Total cost: 0.00554924 ETH | |
2_deploy_extralib.js | |
==================== | |
Deploying 'ExtraLibrary' | |
------------------------ | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.99149404 | |
> gas used: 105828 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00211656 ETH | |
------------------------------------- | |
> Total cost: 0.00211656 ETH | |
3_deploy_extralibx.js | |
===================== | |
Deploying 'ExtraLibraryX' | |
------------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.98884396 | |
> gas used: 105496 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00210992 ETH | |
------------------------------------- | |
> Total cost: 0.00210992 ETH | |
Summary | |
======= | |
> Total deployments: 3 | |
> Final cost: 0.00977572 ETH | |
Migrations dry-run (simulation) | |
=============================== | |
> Network name: 'development' | |
> Network id: 1530749768541 | |
1_initial_migration.js | |
====================== | |
Deploying 'Migrations' | |
---------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.98275456 | |
> gas used: 277462 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00554924 ETH | |
------------------------------------- | |
> Total cost: 0.00554924 ETH | |
2_deploy_extralib2.js | |
===================== | |
*** Deployment Failed *** | |
"ExtraLibraryX" has no address. Has it been deployed? | |
Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan. | |
Error | |
at Object.link (/Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/linker.js:29:1) | |
at /Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/actions/link.js:5:1 | |
at /Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/deferredchain.js:20:1 | |
at <anonymous> | |
Compiling ./contracts/Migrations.sol... | |
Compiling ./contracts/extralib.sol... | |
Compilation warnings encountered: | |
/private/var/folders/_p/1jdl7zfx1473cwzhqsz8gx4r0000gn/T/tmp-38535ESsKAygkULcz/node_modules/@org/pkg/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead. | |
function Migrations() public { | |
^ (Relevant source part starts here and spans across multiple lines). | |
Writing artifacts to ./build/contracts | |
Compiling ./contracts/Migrations.sol... | |
Compiling ./contracts/extralib2.sol... | |
Compiling ./contracts/extraotherlib2.sol... | |
Compiling @org/pkg/contracts/extralib.sol... | |
Compilation warnings encountered: | |
/private/var/folders/_p/1jdl7zfx1473cwzhqsz8gx4r0000gn/T/tmp-38535ESsKAygkULcz/node_modules/dep2/contracts/Migrations.sol:11:3: Warning: Defining constructors as functions with the same name as the contract is deprecated. Use "constructor(...) { ... }" instead. | |
function Migrations() public { | |
^ (Relevant source part starts here and spans across multiple lines). | |
Writing artifacts to ./build/contracts | |
Migrations dry-run (simulation) | |
=============================== | |
> Network name: 'development' | |
> Network id: 1530749768541 | |
1_initial_migration.js | |
====================== | |
Deploying 'Migrations' | |
---------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.99445076 | |
> gas used: 277462 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00554924 ETH | |
------------------------------------- | |
> Total cost: 0.00554924 ETH | |
2_deploy_extralib.js | |
==================== | |
Deploying 'ExtraLibrary' | |
------------------------ | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.99149404 | |
> gas used: 105828 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00211656 ETH | |
------------------------------------- | |
> Total cost: 0.00211656 ETH | |
3_deploy_extralibx.js | |
===================== | |
Deploying 'ExtraLibraryX' | |
------------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.98884396 | |
> gas used: 105496 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00210992 ETH | |
------------------------------------- | |
> Total cost: 0.00210992 ETH | |
Summary | |
======= | |
> Total deployments: 3 | |
> Final cost: 0.00977572 ETH | |
Migrations dry-run (simulation) | |
=============================== | |
> Network name: 'development' | |
> Network id: 1530749768541 | |
1_initial_migration.js | |
====================== | |
Deploying 'Migrations' | |
---------------------- | |
> account: 0xb01714fA3664aCB58E9FDf2b435273DECB1BFBd1 | |
> balance: 99.98275456 | |
> gas used: 277462 | |
> gas price: 20 gwei | |
> value sent: 0 ETH | |
> total cost: 0.00554924 ETH | |
------------------------------------- | |
> Total cost: 0.00554924 ETH | |
2_deploy_extralib2.js | |
===================== | |
*** Deployment Failed *** | |
"ExtraLibraryX" has no address. Has it been deployed? | |
Exiting: Review successful transactions manually by checking the transaction hashes above on Etherscan. | |
Error | |
at Object.link (/Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/linker.js:29:1) | |
at /Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/actions/link.js:5:1 | |
at /Users/cgewecke/code/consensys/migrate-deps/truffle/packages/truffle/build/webpack:/packages/truffle-deployer/src/deferredchain.js:20:1 | |
at <anonymous> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems to be running twice? In the test note it says that the config might be getting corrupted, but it's also possible I introduced this error while merging the new migrations work into the PR.