Closed ngua closed 2 years ago
I noticed that on src/Contract/Monad.purs
, line 184, mkContractConfig
populates the datumCacheWs
with ogmiosConfig
, instead of datumCacheConfig
.
mkContractConfig
:: forall (r :: Row Type). ConfigParams r -> Aff (ContractConfig r)
mkContractConfig
(ConfigParams params@{ slotConfig, logLevel, networkId, wallet }) = do
ogmiosWs <- QueryM.mkOgmiosWebSocketAff logLevel params.ogmiosConfig
datumCacheWs <- QueryM.mkDatumCacheWebSocketAff logLevel params.ogmiosConfig
Thanks @groscoe!
Currently, using
mustSpendScriptOutput
as a constraint leads to the following error message: