Skip to content

[Access] Use script to get list of flow fee receiver accounts for indexing #8482

@peterargue

Description

@peterargue

Currently, the extended account transfer indexer filters out flow fees related transfers. This requires knowing the flow fees deposit address. Historically, fees were always deposited to the contract address. To support parallel execution, additional fee receiver addresses will be setup to allow one account per parallel transaction executor.

Update the indexer to use a script to fetch the latest list for the block, and use events to identify when the list needs to be refreshed. Events are currently not emitted, so as a V1 we can just get the list on startup. When the indexer encounters an address it doesn't recognize, it will crash and refresh the list on the next startup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions