interop: Add initial indexing api spec
Description
Adds a spec for the first method in the "indexing backend" RPC API. This is designed to specify a standard API for tools that indexing logs across chains to optimise lookups for sequencing and verifying nodes. Written in a way that tries to be independent of any particular design for the indexer.
Still todo:
- [x]
GetCrossUnsafemethod - [x]
NextDeriveTaskmethod - [x]
OnDerivedmethod - [x]
CrossSafemethod - [x]
TryFinalizemethod
@protolambda I think we moved away from this approach again and should just close this right?
@ajsutton I am not entirely sure yet. We'll likely run into something like this as part of devnet 2 reorg support planning, although maybe we can simplify it. I'm fine with keeping this open for now.
We likely should revisit this PR to make sure that the supervisor API is specified
@protolambda @tyler-smith