-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(relayer): Asynchronous message processing, error handling, nonce…
… management, and indexer folder structuring (#259) * wg/errchan handling, block batch size config param for ndexer, .default.env update, indexer folder file restructuring, nonce handling for message processor * mysql conn params + block batch size param * wip tests fo indexer + go mod tidy * add gosimple linter * refactor handle_even with cleaner handle methods. test for canProcessMessage. error handling return in handle_event after filling errChan * subscribe return error * Update packages/relayer/cli/cli.go Co-authored-by: David <[email protected]> * check negative ints for configs * Update packages/relayer/indexer/watch_errors.go Co-authored-by: David <[email protected]> * Defer mutex unlock in process message * lint * waitgroup => errgroup * use ResubscribeErr * subscription backoff in seconds * Update packages/relayer/indexer/filter_then_subscribe.go Co-authored-by: David <[email protected]> * lint * lint * bump lint funlen Co-authored-by: David <[email protected]>
- Loading branch information
1 parent
036e022
commit ed6d551
Showing
16 changed files
with
534 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.