The State Root is represented as a big.Int, however when this is transformed into JSON, such a big number will have precission problems and be displayed as something like: 2.0723800499378798e+76. Since this value is a hash, it's completley useless if it's not 100% accurate
Rationale
The State Root is represented as a
big.Int
, however when this is transformed into JSON, such a big number will have precission problems and be displayed as something like:2.0723800499378798e+76
. Since this value is a hash, it's completley useless if it's not 100% accurateImplementation
Transform big.Int into string