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

core: Price Updating - revert history observation #6

Merged
merged 7 commits into from
Dec 15, 2023
Merged

Conversation

pajicf
Copy link
Owner

@pajicf pajicf commented Dec 15, 2023

What does this PR resolve? 🚀

  • Cron job for observing reverts
  • Storing the revert data to storage
  • API route for fetching the revert data

Details 📝

This PR adds functionality to core for listening any reverts happening on-chain.
Cron job is setup to occur every 30 minutes which fetches history through Etherscan. The data is then processed and persisted into redux.
All revert data can be obtained through the new /reverts route.

Checklist ✅

  • I've read Contributions section in the README.md document
  • I have merged the main branch into my branch and resolved all conflicts
  • I have documented the new code
  • I have created automated tests for the new code
  • I have smoke tested the new code locally
  • I have assigned the PR to myself
  • I have named the PR correctly

@pajicf pajicf added the enhancement New feature or request label Dec 15, 2023
@pajicf pajicf self-assigned this Dec 15, 2023
@pajicf pajicf merged commit e3d397c into main Dec 15, 2023
2 checks passed
@pajicf pajicf deleted the revert-history branch December 15, 2023 14:55
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.

1 participant