Skip to content

Commit 37edefd

Browse files
authored
Merge pull request #8 from zkFold/5-zkpass-m4-0.1.1
zkPass v. 0.1.1 (server)
2 parents 68925ef + 18f5d73 commit 37edefd

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## 0.1.1
2+
3+
* Handles the edge case when more than one reward is posted for the same policyID and TaskID.
4+
* Updated README.
5+
6+
## 0.1.0
7+
8+
* Initial release backend & client for zkPass-cardano
9+
* Keeping CHANGELOG's versions for backend & client in sync
10+
* Backend's repo: https://github.com/zkFold/zkpass-cardano
11+
* Client's repo: https://github.com/zkFold/zkpass-client

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
This repository contains the zkPass onchain code, as well as the server side of the zkPass prototype DApp.
66

7+
## Requirements
8+
9+
Compilation was tested with GHC 9.6.6 and Cabal 3.10.2.1. Other library requirements are described in [this](https://github.com/input-output-hk/cardano-node-wiki/blob/602fe3a56a13a773cd6c0e00420ee3e5c56f2857/docs/getting-started/install.md) guide. Additionally, `libpq-dev` or `postgresql` need to be installed as otherwise an error suggesting missing pg_config can occur.
10+
711
## zkPass server
812

913
To run the zkPass server, execute:

app/ZkPass/Api/Burn.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ handleBurn Ctx{..} SetupParams{..} BurnInput{..} = do
5050
let utxosAtFMList = utxosToList $ filterUTxOs (\u -> utxoOutDatum u == inlineDatum) utxosAtFM
5151

5252
case utxosAtFMList of
53-
[utxoAtFM] -> do
53+
utxoAtFM : _ -> do
5454
let (setup, _, _) = identityCircuitVerificationBytes spX spPS
5555
zkPassTokenValidator = validatorFromPlutus @PlutusV3 $ zkPassTokenCompiled setup
5656

0 commit comments

Comments
 (0)