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

Change safe-go to go! to break when error #434

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

madis
Copy link
Member

@madis madis commented Jun 16, 2024

No description provided.

Previously the syncer registered handler fn that could handle all the
events and registered it for all the events and the selection was made
inside that function.

This is duplication and potentially causes errors. This approach is
narrower - single handler for event gets registered (after wrapping it
to give it DB connection and calling it inside try-catch). Similar
approach is used in StreamTide
madis added 2 commits July 1, 2024 16:36
By adding them under server/src, they'll be earlier in the classpath and
will be used over the actual library files. This allows faster iteration
to see why the server is dying with info
madis added 2 commits July 7, 2024 15:48
Super simple implementation of syncer:
  - listens Ethlance smart contract events
  - logs out event data
  - only relies on web3.js

The goal is to see if the syncer in server stops recording events (no
changes to the DB), does the basic-syncer still get & log them
@madis
Copy link
Member Author

madis commented Jul 17, 2024

The basic-syncer output looks like this
Screenshot from 2024-07-17 17-12-26

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.

None yet

1 participant