Thanks to visit codestin.com
Credit goes to github.com

Skip to content

firehose_triggers_in_block should add conditional judgment before filter #3080

@macrocan

Description

@macrocan

The method FirehoseMapper.firehose_triggers_in_block should add conditional judgment before filter.

        if !filter.log.is_empty() {
            triggers.append(&mut parse_log_triggers(&filter.log, &block.ethereum_block));
        }
        if !filter.call.is_empty() {
            triggers.append(&mut parse_call_triggers(&filter.call, &block)?);
        }
        if !filter.block.is_empty() {
            triggers.append(&mut parse_block_triggers(filter.block.clone(), &block));
        }

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