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