Skip to content

test build fails due to missing HasCardanoQueryApi constraint #66

@kushal2060

Description

@kushal2060

While doing cabal test it said:
test/Test/ChainApiTests.hs:19:22: error:
• Could not deduce (HasCardanoQueryApi api)
arising from a use of ‘kGetNetworkId’
from the context: HasChainQueryAPI api
bound by the type signature for:
test_kGetNetworkId :: forall api w.
HasChainQueryAPI api =>
Kontract api w FrameworkError NetworkId
at test/Test/ChainApiTests.hs:18:1-87
Possible fix:
add (HasCardanoQueryApi api) to the context of
the type signature for:
test_kGetNetworkId :: forall api w.
HasChainQueryAPI api =>
Kontract api w FrameworkError NetworkId

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