Crash/bad error message when attempting to mine
Closed this issue · 3 comments
adamking commented
Type:
Issue
What happened? / What do you need?:
I attempted to start mining and the console returned an error but the message seems like a crash.
If it's a request, what do you need it for?:
If it's an issue, how can we reproduce it?:
Start with no mTokens and run:
validator.start(web3.toWei(1000000,“kcoin”))
(anonymous): Line 1:36 Unexpected token ILLEGAL (and 4 more errors)
Affected servers or services:
Priority:
Low
- High = We should stop anything we are doing and do this.
If you're writing this calmly, you should probably choose another option.
If it's really that urgent, please make sure we read this. - Medium = It's important that we do this within a few days.
- Low = We will consider this on our next sprint planning.
(Please be aware that your priority may not match ours, we'll use this as guidance only).
Other info we may need:
rgeraldes commented
validator.start(web3.toWei(n, 'ether'))
adamking commented
“ether” gave @johnreitano an error, and he needed to replace it with "kcoin". Nevertheless, the error message is confusing.
rgeraldes commented
In the meantime, try replacing toWei() with eighteen zeros.
validator.start(1000000000000000000000000)
This command is working in the e2e tests.