Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix SVM scraper dispatch and delivery bugs (#5071)
### Description Context here https://discord.com/channels/935678348330434570/1320897742779977849 Fixes two bugs, adding tests for them: - Txs that had reverted with an error are no longer considered valid in the scraper's log meta population codepath. We ran into an instance where two attempted process txs landed in the same block. We'd get two potentially matching txs in the same block when indexing the process, which causes issues - Versioned txs were not supported. We ran into a versioned dispatch tx for the first time (https://eclipsescan.xyz/tx/Ku7gtQzEztksncHMHYkXq8PNst5rZsznrXMDmVqoQjc7SR4PsXz33qjNMckNcHriCxuhZJGZequo8moNsRP9GZK). The list of accounts wasn't populated correctly because some were dynamic (from an address lookup table). This caused us to think that the Mailbox wasn't being used in a tx, when it was. The solution here is to ensure the list is ordered correctly and has all the accounts, including the dynamic ones. ### Drive-by changes <!-- Are there any minor or drive-by changes also included? --> ### Related issues <!-- - Fixes #[issue number here] --> ### 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? None/Manual/Unit Tests -->
- Loading branch information