Skip to content

feat: support Pons hooks and Gigadex V3 on Robinhood - #597

Merged
tvinagre merged 3 commits into
mainfrom
tl/robinhood-pons-gigadex
Sep 30, 2026
Merged

tvinagre merged 3 commits into
mainfrom
tl/robinhood-pons-gigadex

Conversation

@tvinagre

@tvinagre tvinagre commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Bump tycho-simulation and tycho-execution to >=0.431.0 (lockfile: all tycho crates 0.428.0 → 0.431.0). 0.431.0 includes feat: add native Pons V2 Uniswap V4 hook support on Robinhood tycho#1489, which adds native simulation for Uniswap V4 pools using the Pons V2 hook on Robinhood (uniswap_v4_hooks). On earlier versions these pools fall back to the generic VM hook handler and fail with AfterSwap/BeforeSwap hook simulation failed.
  • Register gigadex_v3 as a Uniswap V3 fork (UniswapV3State), matching tycho's own registration and the tycho-execution V3 family list. Robinhood prod Tycho now advertises it, and fynd currently logs Skipping unknown protocol: gigadex_v3.
  • Add uniswap_v4_hooks and gigadex_v3 to the Robinhood registration regression test.

No fynd code changes are needed for Pons: uniswap_v4_hooks is already registered, and tycho-simulation selects the hook handler per chain and hook address.

Fixture counts

tycho-simulation 0.431.0 decodes a Uniswap V4 pool whose hook is zero or takes no part in swaps as a plain V4 pool. On 0.428.0 those pools went to the generic VM hook handler and failed to decode, since the recording has no hook contract state. The Ethereum integration fixture now yields 161 more uniswap_v4 components (683 → 844). Every other protocol decodes the same number of components. I updated the pinned counts in expected_outputs.json and tests/token_graph.rs:

before after
components 2785 2946
tokens 1985 2003
graph edges 4798 4998
components with spot prices 2785 2946
components with depths 2589 2643
token prices 1812 1813

The busy-pair counts (USDC/USDT, USDC/WETH, WETH/USDT, and WETH neighbours) are unchanged.

Testing

  • cargo nextest run --workspace --all-targets --all-features (the CI filter): 1654 passed.
  • cargo +nightly-2026-06-28 fmt --check and clippy -D warnings are clean.

🤖 Generated with Claude Code

tvinagre and others added 2 commits September 30, 2026 18:22
Bump tycho-simulation and tycho-execution to 0.431.0, which adds native
Pons V2 hook simulation for uniswap_v4_hooks on Robinhood. Register
gigadex_v3 as a Uniswap V3 fork.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedcargo/​tycho-execution@​0.428.0 ⏵ 0.431.097 +110010010070
Updatedcargo/​tycho-simulation@​0.428.0 ⏵ 0.431.08410010010070

View full report

tycho-simulation 0.431.0 decodes a Uniswap V4 pool whose hook is zero or
takes no part in swaps as a plain V4 pool. On 0.428.0 those pools went to
the generic VM hook handler and failed to decode, since the recording has
no hook contract state. The Ethereum fixture now yields 161 more
uniswap_v4 components (683 -> 844); every other protocol is unchanged.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@tvinagre
tvinagre merged commit b8570cf into main Sep 30, 2026
17 checks passed
@tvinagre
tvinagre deleted the tl/robinhood-pons-gigadex branch September 30, 2026 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant