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:
1932
pkg/arbitrum/market_discovery.go
Normal file
1932
pkg/arbitrum/market_discovery.go
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user