Skip to content

Standardize tokenId type to bigint across components #1646

@ArturDolzan

Description

@ArturDolzan

In the staking governance page, currently, tokenId has inconsistent typing across the codebase. In some places it's string, in others it's bigint. Since the contract defines tokenId as uint256 (which maps to bigint in TypeScript), we should standardize on bigint everywhere.

Proposet solution:
API/Subgraph: Accept tokenId as string, convert to bigint immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions