chmelva4

Results comments of chmelva4

@shahzadthathal I think you are using the function incorrectly. According to [docs](https://web3js.readthedocs.io/en/1.0/web3-eth-accounts.html#create) the function does not support callback. @vindberg the same happened to me when I forgot to prefix the...

Does the problem still persists? I tried it now and it worked for me. I have node v8.12.0 and npm v6.4.1.

You can use return value of non-constant functions only when it is returned to another contract but you cannot return value to off chain. If you need to return value...

I suppose the first piece of code is Solidity. This should work ``` function return2d() public constant returns(uint256[1][1] res) { uint x = 10; res[0][0] = x; } ``` Tested...

Thats because you are most likely converting the number incorrectly after getting it from blockchain. I did it like this and it works. `it('should return 10', async () => {...

Apparently the issue happens when using async/await. If you switch to promisses (which is cumbersome), it works.

Ye you're right, I posted that for info.