mirror of
https://github.com/luxfi/precompile.git
synced 2026-09-24 00:26:21 +00:00
getPool/getPoolState now read the StateDB sqrtPrice slot FIRST (revert-safe authority) and drop any in-memory cache entry StateDB contradicts — fixes a speculative-exec cache poisoning where a reverted exec left a stale 'pool already initialized' entry that reverted re-execs (the EVM runs a tx ~5x; only canonical exec commits). modifyLiquidity now replay-idempotent via modifyBindKey (mirrors swapBindKey). cmd/evme2e = the V4-calldata EVM e2e driver. Proven live: real C-Chain tx → 0x9010 → ZAP → D-Chain → fills → native LUX settle.