Files
precompile/cmd
zeekay 30e1b14172 precompile/dex: EVM-path 0x9010 fixes — StateDB-authoritative pool reads + modifyLiquidity idempotency
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.
2026-06-17 19:29:27 -07:00
..