Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hooks: historical state client order & task history hooks #223

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

akirillo
Copy link
Contributor

@akirillo akirillo commented Jan 4, 2025

This PR replaces the useOrderHistory and useTaskHistory hooks from the SDK w/ a version that queries the historical state engine, an internal service that makes historical state previously managed by the relayer more reliable & durable.

Testing

  • Tested w/ a local relayer & frontend against testnet chain & historical state engine
  • Tested w/ testnet relayer & deployed preview frontend against testnet
  • Parity testing (post-migration)

Copy link

vercel bot commented Jan 4, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
trade ✅ Ready (Inspect) Visit Preview Jan 9, 2025 6:53pm
trade-mainnet-preview ✅ Ready (Inspect) Visit Preview Jan 9, 2025 6:53pm

package.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@akirillo akirillo force-pushed the andrew/use-historical-state-client branch from 36530e7 to 38cf891 Compare January 9, 2025 18:47
@akirillo akirillo merged commit f2de028 into main Jan 9, 2025
3 checks passed
@akirillo akirillo deleted the andrew/use-historical-state-client branch January 9, 2025 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants