Skip to content

refactor: remove the signed-price stack, leaving only the DIA adapter stack - #339

Merged
hardyjosh merged 1 commit into
mainfrom
chore/remove-signed-price-stack
Aug 28, 2026
Merged

hardyjosh merged 1 commit into
mainfrom
chore/remove-signed-price-stack

Conversation

@hardyjosh

@hardyjosh hardyjosh commented Aug 27, 2026 •

Copy link
Copy Markdown
Collaborator

Remove the signed-price stack — leave only the DIA adapter stack

The repo contained two independent stacks. This removes the signed-price stack (a publisher-signed multi-pair price store, ST0xPriceOracle, plus a per-market adapter, MorphoPairAdapter, exposing it to Morpho Blue's IOracle), leaving the DIA vault-oracle adapter stack as the single stack.

The signed-price stack's validate-the-NAV-ratio model is not the right shape for a shared oracle; NAV pricing moves to an on-chain-derivation model handled in the pricing stack. Future oracle adapters follow the DIA pattern.

Removed

ST0xPriceOracle, MorphoPairAdapter, ST0xPriceOracleBeaconSetDeployer, MorphoPairAdapterBeaconSetDeployer, IOracle, the signed-price deploy suite and its CI inputs, and all associated tests and mocks. README/AGENTS reframed as a single adapter stack.

Gates

Full test suite green (DIA coverage retained, incl. Base fork), slither 0, forge fmt, reuse lint, single-contract and suite-name-sync all pass.

🤖 Generated with Claude Code

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@hardyjosh
hardyjosh marked this pull request as ready for review August 28, 2026 14:04
… stack

The repo contained two independent stacks. This removes the signed-price
stack (a publisher-signed multi-pair price store plus a per-market adapter
exposing it to Morpho Blue's IOracle), leaving the DIA vault-oracle
adapter stack as the single stack.

The signed-price validate-the-NAV-ratio model is not the right shape for a
shared oracle; NAV pricing moves to an on-chain-derivation model handled
in the pricing stack. Future oracle adapters follow the DIA pattern.

Removed: ST0xPriceOracle, MorphoPairAdapter, their two beacon-set
deployers, IOracle, the signed-price deploy suite and its CI inputs, and
all associated tests and mocks. The DIA stack retains its full coverage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019FTbsUf9TY7uEtBJETSViV
@hardyjosh
hardyjosh force-pushed the chore/remove-signed-price-stack branch 2 times, most recently from 7ccb8b8 to 218f1e2 Compare August 28, 2026 14:04
@hardyjosh
hardyjosh merged commit 466ba2d into main Aug 28, 2026
9 checks passed
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