From 529b3e87ff078491f90b6ba791ec9b3764e64b08 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Sat, 17 Dec 2022 15:28:08 +0100 Subject: [PATCH] Rename builtin as 'verify_ed25519_signature' It's best to keep builtin as-close-as possible to their standard name because they're hard to document. We can then leverage the prelude and the standard lib for convenient names. --- crates/uplc/src/builtins.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uplc/src/builtins.rs b/crates/uplc/src/builtins.rs index f2d8a790..b19a3dbc 100644 --- a/crates/uplc/src/builtins.rs +++ b/crates/uplc/src/builtins.rs @@ -354,7 +354,7 @@ impl DefaultFunction { Sha2_256 => "sha2_256", Sha3_256 => "sha3_256", Blake2b_256 => "blake2b_256", - VerifyEd25519Signature => "verify_signature", + VerifyEd25519Signature => "verify_ed25519_signature", VerifyEcdsaSecp256k1Signature => "verify_ecdsa_secp256k1_signature", VerifySchnorrSecp256k1Signature => "verify_schnorr_secp256k1_signature", AppendString => "append_string",