Skip to content

getTotalColdkeyStake and getTotalHotkeyStake can't be called from within static contexts #1345

@Shr1ftyy

Description

@Shr1ftyy

These functions in the staking precompile (which I added, and also got recently merged in 😭) cannot be called from within static contexts (i.e. view and pure) functions, even though they do not actually modify state.

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