From a2e4a0dceeab850767411b0dbd703b37f2c34cf7 Mon Sep 17 00:00:00 2001 From: Emma Turner Date: Thu, 14 Dec 2023 13:46:43 +0000 Subject: [PATCH] encoding: support Ed25519Signature --- tezos-encoding/src/enc.rs | 1 + tezos-encoding/src/nom.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/tezos-encoding/src/enc.rs b/tezos-encoding/src/enc.rs index e1f969b417..4410c37542 100644 --- a/tezos-encoding/src/enc.rs +++ b/tezos-encoding/src/enc.rs @@ -352,6 +352,7 @@ encode_hash!(crypto::hash::PublicKeyBls); encode_hash!(crypto::hash::SecretKeyEd25519); encode_hash!(crypto::hash::SecretKeyBls); encode_hash!(crypto::hash::Signature); +encode_hash!(crypto::hash::Ed25519Signature); encode_hash!(crypto::hash::BlsSignature); encode_hash!(crypto::hash::NonceHash); encode_hash!(crypto::hash::SmartRollupHash); diff --git a/tezos-encoding/src/nom.rs b/tezos-encoding/src/nom.rs index fe1d260694..b5ade7e739 100644 --- a/tezos-encoding/src/nom.rs +++ b/tezos-encoding/src/nom.rs @@ -266,6 +266,7 @@ hash_nom_reader!(PublicKeyBls); hash_nom_reader!(SecretKeyEd25519); hash_nom_reader!(SecretKeyBls); hash_nom_reader!(Signature); +hash_nom_reader!(Ed25519Signature); hash_nom_reader!(BlsSignature); hash_nom_reader!(NonceHash); hash_nom_reader!(SmartRollupHash);