diff --git a/fhevm/precompiles.go b/fhevm/precompiles.go index e2f843e..44d53a9 100644 --- a/fhevm/precompiles.go +++ b/fhevm/precompiles.go @@ -1960,7 +1960,7 @@ func reencryptRun(environment EVMEnvironment, caller common.Address, addr common var reencryptedValue = res.ReencryptedCiphertext - logger.Info("reencrypt success", "input", hex.EncodeToString(input), "callerAddr", caller, "reencryptedValue", reencryptedValue) + logger.Info("reencrypt success", "input", hex.EncodeToString(input), "callerAddr", caller, "reencryptedValue", reencryptedValue, "len", len(reencryptedValue)) return toEVMBytes(reencryptedValue), nil } msg := "reencrypt unverified ciphertext handle" diff --git a/kms/kms_grpc.pb.go b/kms/kms_grpc.pb.go index f96d747..f832c06 100644 --- a/kms/kms_grpc.pb.go +++ b/kms/kms_grpc.pb.go @@ -8,6 +8,8 @@ package kms import ( context "context" + "os" + grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" @@ -19,7 +21,7 @@ import ( const _ = grpc.SupportPackageIsVersion7 // URL of the KMS gRPC endpoint -const KmsEndpointAddr = "kms.zama.ai:50051" +var KmsEndpointAddr = os.Getenv("KMS_ENDPOINT_ADDR") const ( KmsEndpoint_ValidateAndDecrypt_FullMethodName = "/kms.KmsEndpoint/Validate_and_decrypt"