Skip to main content

Module batch

Module batch 

Source
Expand description

Rayon-powered batch decode helpers specific to the EVM decoder. The main batch logic lives in EvmDecoder::decode_batch, but this module exposes chunk-level utilities for the higher-level batch engine.

Functions§

chunked_decode
Chunk logs into slices of at most chunk_size and decode each chunk in parallel. Returns a flat list of successes and errors.
parallel_decode
Decode a slice of EVM raw events in parallel using Rayon. Returns (successes, errors).