Skip to content

db: remove all use of "insights" tables #6

@conorsch

Description

@conorsch

The "insights" tables are deprecated, and we'd like to remove them from pindexer altogether, but the tokenomics dashboard currently depends on them:

export const DATA_SOURCES = {
// Primary supply data
INSIGHTS_SUPPLY: {
name: "insights_supply",
fields: {
TOTAL_SUPPLY: "total",
STAKED_SUPPLY: "staked",
MARKET_CAP: "market_cap",
PRICE: "price",
PRICE_NUMERAIRE_ASSET_ID: "price_numeraire_asset_id",
HEIGHT: "height",
},
},

See related discussion in penumbra-zone/penumbra#5208 (comment) & https://github.com/penumbra-zone/penumbra/pull/5232/files

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