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
We'll want to start correctly indexing gas payments in the relayer. This will probably be done in a similar manner to message indexing, though this depends heavily upon the approach taken in Sealevel IGP - implement on chain fee quoting IGP #2217
The text was updated successfully, but these errors were encountered:
### Description
Depends on #2583
Indexes IGP payments related to the relayer's data pda address. Unless
this address is specified in the config (`sealevel.relayer_account `),
no filtering is applied and all IGP payments are stored in the local
database.
<!--
What's included in this PR?
-->
### Drive-by changes
- Sets `HYP_BASE_GASPAYMENTENFORCEMENT` in `run-locally` for the
relayer, to test that it correctly indexes the IGP payment before
submitting the message
- A new config section (`sealevel`) is added to the relayer
- The `MessageIndexer` trait is replaced with
`SequenceIndexer<HyperlaneMessage>`, renaming `fetch_count_at_tip` to
`sequence_at_tip`. `SequenceIndexer` is now common to both the message
and igp indexers.
- The `parse_addr` macro is modified so it can be reused when parsing
the sealevel relayer address config too
- `rust/utils/sealevel-test.bash` is included because I was using it to
test locally, but I can remove it if the sealevel e2e test already does
all the steps there @mattiecnvr
- Performs a `try_into` conversion that can be removed once
#2610 is done
### Related issues
- Fixes#2501
### Backward compatibility
<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?
Yes/No
-->
### Testing
<!--
What kind of testing have these changes undergone?
-->
e2e tests but the pipeline is failing, likely fixed by
#2602
---------
Co-authored-by: Trevor Porter <trkporter@ucdavis.edu>
Blocked by #2217
The text was updated successfully, but these errors were encountered: