Skip to content

[Feature] Add support for chunked queries #3744

@mattsse

Description

@mattsse

Component

rpc

Describe the feature you would like

/// Queries the blockchain for the selected filter and returns a vector of matching event logs.
pub async fn query(&self) -> Result<Vec<(E, Log)>, Error> {
let logs = self.query_raw().await?;
logs.into_iter().map(|log| Ok((decode_log(&log)?, log))).collect()
}

@stevencartavia similar to how you implemented this on foundry

Additional context

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions