optimism
optimism copied to clipboard
ICrossDomainMessenger doesn't index the sender parameter of SentMessage
The ICrossDomainMessenger interface does not index the sender parameter within the SentMessage function. This means that it's quite difficult to search for events from a given sender using basic event query techniques (you'd have to scan every event). As a result, I'm unable to make the getMessagesByAddress function of the SDK be performant without plugging in an indexer.
For now, the SDK will throw an error when attempting to use getMessagesByAddress when the indexer is not supplied. I would like to get this event parameter indexed so that I can at least make the function work going forward without the indexer.
Will be fixed in Bedrock