Code Monkey home page Code Monkey logo

Comments (5)

caleteeter avatar caleteeter commented on May 22, 2024

HI @anshulahuja98 , sorry to here you hit this issue. Had a few questions. I assume you have all the prerequisites installed as you mentioned this was during deployment. Was this the New Solidity project -> basic project or a truffle box? Additionally you can find some logs in the output window (under Azure Blockchain Service). We have an updated version that will published very soon that might address this but hard to say without a bit more info on the project you were deploying. Also, could you post the truffle-config.js here (remove any key references as well).

from vscode-azure-blockchain-ethereum.

anshulahuja98 avatar anshulahuja98 commented on May 22, 2024

Yes I have all the pre requisites installed
The new solidity project was a truffle box project
There are no logs on ABS on the portal

Looking forward to the update!

truffle-config.js

module.exports = {
  networks: {
    development: {
      host: "localhost",
      port: 8545,
      network_id: "*", // Match any network id
      gas: 5000000
    }
  },
  compilers: {
    solc: {
      settings: {
        optimizer: {
          enabled: true, // Default: false
          runs: 200      // Default: 200
        },
      }
    }
  }
};

Just to confirm, I was not deploying to the local truffle, I was deploying directly to ABS.

from vscode-azure-blockchain-ethereum.

plakhanpal avatar plakhanpal commented on May 22, 2024

Hi Caleteeter, is there any update on this issue ? I came across the same issue while using the azure blockchain development kit for etherium vscode extension on windows 10 too. I am using the truffle box code for refrigerated transportation with solc compiler 0.4.23 and truffle 4.1.7.

from vscode-azure-blockchain-ethereum.

caleteeter avatar caleteeter commented on May 22, 2024

Hi @plakhanpal , ok, so I see one issue here being you are on truffle 4.x. This is likely the culprit here. Can you please upgrade to the latest truffle version (0.5.28)?

npm install truffle -g

Looks like our prereq checks are not highlighting this issue (4.x).

After you install the new truffle you can set the compiler in the truffle config to use the old solc version (0.4.x). https://www.trufflesuite.com/docs/truffle/reference/configuration#compiler-configuration

Let me know if you have any issues with this.

from vscode-azure-blockchain-ethereum.

caleteeter avatar caleteeter commented on May 22, 2024

Closing for now, please reopen if issue remains.

from vscode-azure-blockchain-ethereum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.