Comments (5)
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.
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.
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.
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.
Closing for now, please reopen if issue remains.
from vscode-azure-blockchain-ethereum.
Related Issues (20)
- VSCode plugin issue with Python HOT 1
- Change the location of the truffle project HOT 1
- Extension issue HOT 1
- No prompt to connect to Infura HOT 7
- Extension issue
- Support Workspace Trust
- Support virtual workspaces
- Unable to use Development Kit in VS Code HOT 2
- Extension taking too long to load and create project
- Can't run java,c++or python HOT 1
- "Show Contract Interaction Page" doesn't appear when right click on contract HOT 3
- No subscription found, click an Azure account at the bottom left corner and choose Select All
- Creating new Project hangs
- Error occured in debug mode: Cannot read property 'id' of undefined HOT 2
- Is this extension being discontinued?
- Debugging the extension
- Support for Ubuntu
- Command 'truffle.newSolidityProject' not found
- Cannot start ganache server
- Extension issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-azure-blockchain-ethereum.