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

ReferenceError: ethUtil is not defined #13

Open
ameensol opened this issue Jul 18, 2016 · 0 comments
Open

ReferenceError: ethUtil is not defined #13

ameensol opened this issue Jul 18, 2016 · 0 comments

Comments

@ameensol
Copy link

Hello, this is an error I just got using Dapple:

/usr/local/lib/node_modules/dapple/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"](filename);var ret=nodeFS["readFileSync"](filena

ReferenceError: ethUtil is not defined
    at Blockchain.setGasLimit (/usr/local/lib/node_modules/dapple/node_modules/ethersim/lib/blockchain.js:138:16)
    at Object.module.exports.EVM (/usr/local/lib/node_modules/dapple/lib/web3Factory.js:65:33)
    at Object.TestPipeline (/usr/local/lib/node_modules/dapple/lib/pipelines.js:116:27)
    at Object.<anonymous> (/usr/local/lib/node_modules/dapple/cmd/main.js:250:25)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)

I think it could be an issue here, because when I look at blockchain.js it doesn't look like ethUtil is actually defined.

Link to Dapple issue: dapphub/dapple#281

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