Magickbase / blockscan

GNU General Public License v3.0
5 stars 11 forks source link

Incorrect balance, scientific notation should not be used #53

Open sunchengzhu opened 1 year ago

sunchengzhu commented 1 year ago

Environment

axon devnet

Steps to reproduce

open the url

Expected behaviour

The balance is consistent with the hardhat query image

Actual behaviour

image

zmcNotafraid commented 1 year ago

https://github.com/Magickbase/blockscan/blob/c6a0b4d29520860840f6b8234e37b61c82678753/apps/block_scout_web/lib/block_scout_web/views/wei_helper.ex#L63 From code we can see this situation was considered by blockscout.It's not a bug.