fix(math): resolve nil pointer dereference in market discovery calculations

- Add nil checks for big.Int values in updateV2PoolReserves
- Add nil checks for big.Int values in updateV3PoolState
- Fix test expectations in dex_math_test.go with correct Uniswap V2 calculation values
- Add proper error handling for nil pointers in arbitrage calculations
- Fix Curve test to use appropriate price impact thresholds
This commit is contained in:
Krypto Kajun
2025-09-23 20:04:39 -05:00
parent 02fd0c759a
commit 76c1b5cee1

File diff suppressed because it is too large Load Diff