Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

Some Scilla tests don't work #91

Open
vkomenda opened this issue Sep 17, 2019 · 0 comments
Open

Some Scilla tests don't work #91

vkomenda opened this issue Sep 17, 2019 · 0 comments

Comments

@vkomenda
Copy link
Contributor

The method to test Scilla contracts recommended in README.md fails for me with the error message:

$ node testblockchain.js
Blockchain Error
TypeError: Cannot read property 'nonce' of undefined
    at Wallet.<anonymous> (/home/vk/src/zilliqa/kaya/node_modules/@zilliqa-js/account/dist/wallet.js:207:53)
    at step (/home/vk/src/zilliqa/kaya/node_modules/tslib/tslib.js:133:27)
    at Object.next (/home/vk/src/zilliqa/kaya/node_modules/tslib/tslib.js:114:57)
    at fulfilled (/home/vk/src/zilliqa/kaya/node_modules/tslib/tslib.js:104:62)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:189:7)

It's difficult to tell which tests fail and which pass but there are some transactions reported by the server:

[App.js]	 : Method specified GetBalance
[App.js]	 : Getting balance for 7bb3b0e8a59f3f61d9bff038f4aeb42cae2ecce8
[Wallet]	 : Getting balance for 7bb3b0e8a59f3f61d9bff038f4aeb42cae2ecce8
[App.js]	 : Sending response back to client
[App.js]	 : Method specified GetBalance
[App.js]	 : Getting balance for 7bb3b0e8a59f3f61d9bff038f4aeb42cae2ecce8
[Wallet]	 : Getting balance for 7bb3b0e8a59f3f61d9bff038f4aeb42cae2ecce8
[App.js]	 : Sending response back to client

So, perhaps something does work.

Another point is that capitalisation of testblockchain.js is incorrect in README.md. It probably passes on Windows but on a case-sensitive Linux filesystem that won't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant