konstantinullrich/oxen-service-node-operator

The displayed node swarm id is incorrect.

ianmacd opened this issue · 0 comments

The displayed swarm id for each service node seems to be incorrect.

I believe this may be due to the fact that numbers in Dart are signed 64 bit integers. They may be overflowing.

I tried using BigInt for the swarm id, but this didn't fix the problem, so my analysis may be off. I would expect overflow to result in a negative number being displayed, but that doesn't happen either. Instead, a much too large positive integer is displayed.

Even moving to a String didn't help, so I don't really know what's going on.