Skip to content

[Hybrid Storage] Update OpProofsExEx block processing #487

@itschaindev

Description

@itschaindev

Describe the feature

When handling chain notifications (committed, reorged and reverted), extract addresses changed in the execution outcome.

    let addresses: Vec<Address> = chain
        .execution_outcome()
        .accounts_iter()
        .map(|(address, _)| address)
        .collect();
    
    self.update_address_mapping(&addresses).await?;

Add helper methods:

  • update_address_mapping() - Write new addresses to HashedAddressMapping (idempotent)

Additional context

No response

Metadata

Metadata

Assignees

Labels

A-exexArea: execution extensionK-perfKind: performanceW-historical-proofsWorkstream: historical-proofs

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions