Skip to content

Commit

Permalink
fix: fixed bitvm test proof id
Browse files Browse the repository at this point in the history
  • Loading branch information
fiamma-builder committed Sep 5, 2024
1 parent 5194934 commit ef45b79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x/zkpverify/keeper/msg_server_submit_proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ func (k msgServer) SubmitProof(goCtx context.Context, msg *types.MsgSubmitProof)

// store witness if the proof system is BitVM
if proofData.ProofSystem == types.ProofSystem_GROTH16_BN254_BITVM {
if proofIdStr == "fe98dcdcfb929e012cd8000dd1ad2b42a36f603d37fdd83e03938a9ab3af2363" {
// TODO: remove this
// This is a buggy proofId for testing the bitvm challenge process
if proofIdStr == "d14058dd7a41147beb577014cb2a356d52500f300c35b5f5ae8da89e47c4ec59" {
result = false
}
bitvmChallengeData := types.BitVMChallengeData{
Expand Down

0 comments on commit ef45b79

Please sign in to comment.