TrueBitFoundation / truebit-os

[DEPRECATED] Interactive client
Apache License 2.0
82 stars 26 forks source link

test/os-challenge -> DeprecationWarning: 'root' is deprecated, use 'global' #17

Closed hswick closed 6 years ago

hswick commented 6 years ago

There is this weird warning whenever a verification game occurs.

I believe it is caused by this call https://github.com/TrueBitFoundation/truebit-os/blob/master/basic-client/verifier.js#L97

Which makes the warning even more strange since this seems to work for other times.

My best guess at a solution is to update one of the dependencies.

hswick commented 6 years ago

Working in a different code base I found that this warning is caused by when you make a global variable called 'root'... lol javascript you're drunk, go home