Closed oskarth closed 4 years ago
Yes, looks like strutils now also has a fromHex
: https://github.com/nim-lang/Nim/commit/981f95757c4b312a4f3e4bc6d6d92b3734331e98
Easy fixable by using utils.fromHex
or from strutils import ...
construct. However, then we hit next issue in ./tests/p2p/test_enode:
Unhandled exception: assignment to discriminant changes object branch; compile with -d:nimOldCaseObjects for a transition period [FieldError]
That one looks like it will need some more investigation (at least for me). I'll pause this for now as there hasn't been much focus on moving to 0.20.0 for now (right?), and I'm not sure how far this will lead me :)
'll pause this for now as there hasn't been much focus on moving to 0.20.0 for now (right?)
Been there, done that. I stopped when I hit this bug: https://github.com/nim-lang/Nim/issues/11414
Nim-0.20.0 is too buggy to target. Let's wait for the next version.
Running
I expect tests to pass without any additional special action.
Actual result seen below, appears to be some ambiguous function calls in nim-0.20.0 and nimcrypto-0.39.9
Workaround
Downgrading to 0.9.16 with
choosenim 0.9.16.
appears to work.