Skip to content

Include last voted BPs #19

@karynemayer

Description

@karynemayer

Overview

We should add to obe-indexer voters table a last_voted column, get it by querying hyperion get_actions like this: hyperion.get(/v2/history/get_actions?limit=1&account=${row.voter}&filter=eosio%3Avoteproducer)

This will enable telosnetwork/open-block-explorer#475 (comment) not to be dependent on Hyperion directly

Acceptance criteria

  • Voters table should include last_voted column
  • Querying it should return the list of BPs that were last voted by a specific account

Technical considerations

Tasks

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✨ EnhancementImprovements on existing features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions