question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to deploy contracts using truffle v5.0.16 with contract solidity version 0.5.0

See original GitHub issue
  • I’ve asked for help in the Truffle Gitter before filing this issue.

Issue

What the issue is, in broad strokes.

I am able to compile the contracts but unable to deploy them on my current Quorum Setup.

CheckingContract.txt Dispatcher.txt Dispatcher2.txt DispatcherStorage.txt DispatcherStorgae2.txt Lib1.txt Lib2.txt Migrations.txt Lib1Storage.txt

Steps to Reproduce

Please provide the shortest amount of steps to reproduce your issue. Please try to deploy it on Quorum. It compiles it without error but never deploys it and gives contract address.

Expected Behavior

It will only compile these contract but will not deploy them at truffle migrate command OnlyCompile-No-Deployment

What you expected to happen. Giving contract addresses after deployment

Actual Results

What actually happened. Please give examples and support it with screenshots, copied output or error messages.

Environment

  • Operating System: 18.04
  • Ethereum client:
  • Truffle version (truffle version):Truffle v5.0.16
  • node version (node --version):v8.10.0
  • npm version (npm --version): 3.5.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yaoshiangcommented, May 14, 2019

This may be a bug I just ran into:

truffle deploy is supposed to be an alias for truffle migrate. At least in 5.0.17, it is not. I got this error message.

truffle deploy

Compiling your contracts...
===========================
> Everything is up to date, there is nothing to compile.

TypeError: this.determineDryRunSettings is not a function
    at Contracts.compile.then (/usr/local/lib/node_modules/truffle/build/webpack:/packages/truffle-core/lib/commands/migrate.js:184:10)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
Truffle v5.0.17 (core: 5.0.16)
Node v8.10.0

Solution?

run

truffle migrate

1reaction
naddison36commented, May 14, 2019

Thanks @yaoshiang. I was struggling with the same error as I was running truffle deploy. truffle migrate works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why truffle deploy fail with address value=0 after I upgrade ...
Sample contract require address to be passed. This was worked at truffle version ^4.1.14 but after I upgraded truffle version to Truffle v5.0.5 ......
Read more >
How to write and deploy first smart contract in Solidity 0.5.x ...
We will use Truffle version 5.0.6 and Solidity 0.5.0. Source: pexels.com ... contracts — in this folder we place our smart contract files....
Read more >
Error: Truffle is currently using solc 0.5.16, but one or more ...
If you're using windows change your "truffle.js" file name to "truffle.config.js" and inside your truffle config file add this line of code ...
Read more >
Compile contracts - Truffle Suite
Dependencies¶. You can declare contract dependencies using Solidity's import command. Truffle will compile contracts in the correct order and ensure all ...
Read more >
truffle: Versions
log for Solidity in Truffle's testing and console environment. Simply use the following import at the top of your contract: import "truffle/console.sol";. Then ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found