eden-network / tx-explain

MIT License
2 stars 2 forks source link

Bug with decimals #21

Open zanknaf opened 6 months ago

zanknaf commented 6 months ago

When there is an approval transaction sometimes this bug occurs with decimal conversion to int.

Example transaction: 0xf1591d5457cc44e71f5e6fa29f90e71d2ffab953a1aefccbe0e3678936650635

Error simulating transaction: invalid literal for int() with base 10: '0xf2a2aacfbf73995f9c1a944a804692857cc83260'

zanknaf commented 6 months ago

Probably fixed, need testing

https://github.com/eden-network/tx-explain/commit/23e925021e19f0b49f1ede484d2ab5d71b7f9754