Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

out of gas on migration #3

Open
chaseadam opened this issue Jul 2, 2019 · 0 comments
Open

out of gas on migration #3

chaseadam opened this issue Jul 2, 2019 · 0 comments

Comments

@chaseadam
Copy link
Contributor

newer solidity versions have out of gas issues deploying our sample contracts.

Specify the solidity version in the truffle-config.js

  compilers: {
    solc: {
      version: "0.5.0",
    },
  }

from @cruz:

@adam.chasen I believe in one of the more recent versions of truffle, we bumped the solidity version to 0.5.8 (which defaults the evmVersion to petersburg and would probably be the cause of outputing diff bytecode) (edited)

Note: truffle version is deprecated and no longer returns correct version information for solidity. Need to look at compile output to see which solidity truffle uses.

reference from public truffle channel: https://consensys.slack.com/archives/C1D2T7NLC/p1561670155102100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant