From ab9f47228766e25d1053e3d0c38ced107afc3490 Mon Sep 17 00:00:00 2001 From: fanghr Date: Sat, 7 May 2022 18:53:17 +0800 Subject: [PATCH] fix the broken test --- agora-sample/Sample/Effect/GovernorMutation.hs | 2 +- agora/Agora/Effect/GovernorMutation.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agora-sample/Sample/Effect/GovernorMutation.hs b/agora-sample/Sample/Effect/GovernorMutation.hs index be6e167..e088abf 100644 --- a/agora-sample/Sample/Effect/GovernorMutation.hs +++ b/agora-sample/Sample/Effect/GovernorMutation.hs @@ -111,7 +111,7 @@ validContext = governorOutput :: TxOut governorOutput = TxOut - { txOutAddress = effectValidatorAddress + { txOutAddress = govValidatorAddress , txOutValue = withMinAda gst , txOutDatumHash = Just $ toDatumHash governorOutputDatum } diff --git a/agora/Agora/Effect/GovernorMutation.hs b/agora/Agora/Effect/GovernorMutation.hs index 628f130..11c7629 100644 --- a/agora/Agora/Effect/GovernorMutation.hs +++ b/agora/Agora/Effect/GovernorMutation.hs @@ -147,7 +147,7 @@ mutateGovernorValidator gov = makeEffect (authorityTokenSymbolFromGovernor gov) let selfAddress = pfield @"address" - #$ mustBePJust # "Self governorInput not found" + #$ mustBePJust # "Self input not found" #$ findTxOutByTxOutRef # txOutRef # txInfo.inputs passert "No output to the effect validator" $