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

feat: get and store fees #2

Merged
merged 9 commits into from
Mar 14, 2024
Merged

feat: get and store fees #2

merged 9 commits into from
Mar 14, 2024

Conversation

kieranroneill
Copy link
Owner

@kieranroneill kieranroneill commented Mar 14, 2024

Description

  • Implement a MongoDB connection with Mongoose/Typegoose
  • Recursively fetch historic fee collection events from chain configs
  • Store the fee collection events
  • Add listener to listen to fee collection events
  • Separate tests into unit and e2e

Type of change

  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🏗️ Build configuration (CI configuration, scaffolding etc.)
  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 📝 Documentation update(s)
  • 📦 Dependency update(s)
  • 👩🏽‍💻 Improve developer experience
  • ⚡ Improve performance
  • ✨ New feature (non-breaking change which adds functionality)
  • ♻ Refactor
  • ⏪ Revert changes
  • 🧪 New tests or updates to existing tests

@kieranroneill kieranroneill added ✨ feature New feature or request 📦 dependencies New or updated dependencies ♻️ refactor The refactoring fairy has waved their magic wand labels Mar 14, 2024
@kieranroneill kieranroneill self-assigned this Mar 14, 2024
@kieranroneill kieranroneill merged commit 80de3a3 into main Mar 14, 2024
4 checks passed
@kieranroneill kieranroneill deleted the feat/get-and-store-fees branch March 14, 2024 16:35
kieranroneill added a commit that referenced this pull request Mar 14, 2024
* feat: implement mongodb and typegoose database

* feat: recursively fetch events

* feat: store events in database

* feat: add database connection to the versions

* fix: remove blocking fees collected query by using events

* fix: get the latest block for a specific chain

* feat: add event listener to start listening to furture fees collected events

* fix: gracefully handle websocket not starting up

* test: separate tests into unit and e2e
github-actions bot pushed a commit that referenced this pull request Mar 14, 2024
# 1.0.0 (2024-03-14)

### Features

* get and store fees ([#2](#2)) ([0d55ec4](0d55ec4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 dependencies New or updated dependencies ✨ feature New feature or request ♻️ refactor The refactoring fairy has waved their magic wand
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant