You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With hook indexing recently merged, if the relayer is already synced to the tip and restarts, the message processor will see new messages as soon as the indexer adds them to the db. We should however add e2e to make sure this is the case.
We have the get_matching_lines utility to find lines that match a string, and can use it to:
first, extend it to extract the timestamp from the logs. Since they're ANSI formatted, the logs are noisy but the timestamps are ISO formatted. Example:
there's already a WIP pr that shuts the relayer down, sends some messages, waits for the validators to sign checkpoints, then spins the relayer back up: wip: fast relayer startup test #3950. We can build on top of this:
to test the processor, make sure it sees the message (Sending message to submitter) very shortly after the indexer finds it and writes to the DB (Storing new message in db). Though this is blocked on: Agent debug logs should always be present when configured #3915
to the test submitter, make sure there are no Could not fetch metadata after the messages are sent to the submitter, but before all 5 Operation confirmed logs are printed. This shows that the relayer also indexed merkle insertions (because it knows which validator sigs to query), and is not bound by anything on submission.
The text was updated successfully, but these errors were encountered:
Problem
With hook indexing recently merged, if the relayer is already synced to the tip and restarts, the message processor will see new messages as soon as the indexer adds them to the db. We should however add e2e to make sure this is the case.
We have the
get_matching_lines
utility to find lines that match a string, and can use it to:Sending message to submitter
) very shortly after the indexer finds it and writes to the DB (Storing new message in db
). Though this is blocked on: Agent debug logs should always be present when configured #3915Could not fetch metadata
after the messages are sent to the submitter, but before all 5Operation confirmed
logs are printed. This shows that the relayer also indexed merkle insertions (because it knows which validator sigs to query), and is not bound by anything on submission.The text was updated successfully, but these errors were encountered: