-
Notifications
You must be signed in to change notification settings - Fork 10
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
Erros in npm test on ethereum-testing-reference project #15
Comments
There are several changes to be made to the code then it runs again (partly):
But then still, there is another error when running it locally (haven't tested it in the ethereum studio):
I'm not exactly sure where that comes from... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've cloned the project and run npm install. Trying npm test, I get what follows.
I've changed the solc version in package.json to 0.4.10. Nothing got different.
Compiling files: ["ContractA.sol","ContractB.sol"]
/root/workspace/ethereum-testing-reference/node_modules/ethereum-sandbox/node_modules/solc/soljson.js:1
(function (exports, require, module, __filename, __dirname) { var Module;if(!Module)Module=(typeof Module!=="undefined"?Module:null)||{};var moduleOverrides={};for(var key in Module){if(Module.hasOwnProperty(key)){moduleOverrides[key]=Module[key]}}var ENVIRONMENT_IS_WEB=typeof window==="object";var ENVIRONMENT_IS_WORKER=typeof importScripts==="function";var ENVIRONMENT_IS_NODE=typeof process==="object"&&typeof require==="function"&&!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_WORKER;var ENVIRONMENT_IS_SHELL=!ENVIRONMENT_IS_WEB&&!ENVIRONMENT_IS_NODE&&!ENVIRONMENT_IS_WORKER;if(ENVIRONMENT_IS_NODE){if(!Module["print"])Module["print"]=function print(x){process["stdout"].write(x+"\n")};if(!Module["printErr"])Module["printErr"]=function printErr(x){process["stderr"].write(x+"\n")};var nodeFS=require("fs");var nodePath=require("path");Module["read"]=function read(filename,binary){filename=nodePath"normalize"
std.sol:5:10: Error: Expected identifier, got 'Abstract'
contract abstract {}
^
npm ERR! Test failed. See above for more details.
The text was updated successfully, but these errors were encountered: