Skip to content

No support for stake script rewards #277

@klntsky

Description

@klntsky

Describe what the problem is?

It looks like Ogmios only support querying stake rewards for PubKey hashes, there's no ScriptHash support:

  1. credentials <- decodeCredentials obj
  2. fmap (Ledger.KeyHashObj . Ledger.KeyHash) . decodeHash
  3. https://github.com/input-output-hk/cardano-ledger/blob/9a25a43f3970941a2cd64029f7ce667b48832635/libs/cardano-ledger-core/src/Cardano/Ledger/Credential.hs#L73

What should be the expected behavior?

We need this kind of query to work with script hashes as well for CTL.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help welcomedGood for newcomersserverIssues which regard the server

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions