yarn install && \
yarn build
yarn test
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 insubmitAttestation
andsubmitAttestationViaRelayer
, and emit thefromProofIndex
- If the attestation is not from
spendReputation
, just input0
- 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: changesign_up
from private input to public input - New paramter
uint256 userHasSignedUp;
inUnirepParameters.sol
- New input in
verifyUserSignUp
function submitAttestation
: proof index should not be zero