hicommonwealth / edgeware-lockdrop

Lockdrop contracts
GNU General Public License v3.0
23 stars 16 forks source link

Error: Expected parameter 'from' not passed to function. #3

Open soc1c opened 5 years ago

soc1c commented 5 years ago

Hi, truffle test fails for me:

~/.opt/edge-lockdrop
❯ truffle test

Compiling your contracts...
===========================
> Compiling ./contracts/Lockdrop.sol
> Compiling ./contracts/Migrations.sol
> Compiling openzeppelin-solidity/contracts/math/SafeMath.sol
> Compiling openzeppelin-solidity/contracts/token/ERC20/ERC20.sol
> Compiling openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
> Artifacts written to /tmp/test-119218-14740-9n3ssj.1pl7n
> Compiled successfully using:
   - solc: 0.5.0+commit.1d4f565a.Emscripten.clang

Error: Expected parameter 'from' not passed to function.
    at /home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-expect/index.js:5:1
    at Array.forEach (<anonymous>)
    at Object.options (/home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-expect/index.js:3:1)
    at Object.run (/home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-migrate/index.js:53:1)
    at /home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-core/lib/test.js:172:1
    at new Promise (<anonymous>)
    at Object.performInitialDeploy (/home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-core/lib/test.js:171:1)
    at /home/user/.config/yarn/global/node_modules/truffle/build/webpack:/packages/truffle-core/lib/test.js:107:1
    at process._tickCallback (internal/process/next_tick.js:68:7)
Truffle v5.0.8 (core: 5.0.8)
Node v10.15.3

Truffle 5, Node 10, Arch Linux:

~/.opt/edge-lockdrop 15s
❯ uname -a
Linux ceres 4.20.13-arch1-1-ARCH #1 SMP PREEMPT Wed Feb 27 19:10:28 UTC 2019 x86_64 GNU/Linux

~/.opt/edge-lockdrop
❯ yarn --version
1.15.2

~/.opt/edge-lockdrop
❯ node --version
v10.15.3

~/.opt/edge-lockdrop
❯ truffle version  
Truffle v5.0.8 (core: 5.0.8)
Solidity v0.5.0 (solc-js)
Node v10.15.3
Web3.js v1.0.0-beta.37