Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
fix(): make e2e test work
Browse files Browse the repository at this point in the history
  • Loading branch information
tremblaythibaultl committed Dec 8, 2023
1 parent 68191d4 commit 87efb89
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fhevm/precompiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -1917,7 +1917,7 @@ func reencryptRun(environment EVMEnvironment, caller common.Address, addr common

// TODO: generate merkle proof for some data (handle? ciphertext bytes?)
proof := &kms.Proof{
Height: 666,
Height: 5,
MerklePatriciaProof: []byte{},
}

Expand Down Expand Up @@ -1949,7 +1949,7 @@ func reencryptRun(environment EVMEnvironment, caller common.Address, addr common

var reencryptedValue = res.ReencryptedCiphertext

logger.Info("reencrypt success", "input", hex.EncodeToString(input), "callerAddr", caller)
logger.Info("reencrypt success", "input", hex.EncodeToString(input), "callerAddr", caller, "reencryptedValue", reencryptedValue)
return toEVMBytes(reencryptedValue), nil
}
msg := "reencrypt unverified ciphertext handle"
Expand Down
3 changes: 2 additions & 1 deletion kms/kms_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87efb89

Please sign in to comment.