yarn install && \
yarn build
computeStartTransitionProofHash
computeProcessAttestationsProofHash
deployUnirep
getUnirepContract
Address.sol
EpochKeyValidityVerifier.sol
Hasher.sol
ProcessAttestationsVerifier.sol
ReputationVerifier.sol
SnarkConstants.sol
StartTransitionVerifier.sol
Unirep.sol
UnirepObjs.sol
UserSignUpVerifier.sol
UserStateTransitionVerifier.sol
- Add a
fromProofIndex input in submitAttestation and submitAttestationViaRelayer, and emit the fromProofIndex
- If the attestation is not from
spendReputation, just input 0
- Check epoch key range on chain
- Update packages
- Remove Poseidon hash on-chain
- Export proof struct:
EpochKeyProof, ReputationProof, SignUpProof, UserTransitionProof
- Export event enum:
Event, AttestationEvent
- Update @unirep/circuits version
- User can prove that he has not signed up in one leaf to get airdrop
proveUserSignUp circuit: change sign_up from private input to public input
- New paramter
uint256 userHasSignedUp; in UnirepParameters.sol
- New input in
verifyUserSignUp function
submitAttestation: proof index should not be zero