From b13360c92b26115cb7490d062f0886afd1dd8024 Mon Sep 17 00:00:00 2001 From: Louise Poole Date: Wed, 14 May 2025 15:42:44 +0200 Subject: [PATCH] fix: change Entrypoint signature type to string (#209) --- proto/tycho/evm/v1/common.proto | 2 +- substreams/crates/tycho-substreams/src/pb/tycho.evm.v1.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/tycho/evm/v1/common.proto b/proto/tycho/evm/v1/common.proto index 91a9095..4247351 100644 --- a/proto/tycho/evm/v1/common.proto +++ b/proto/tycho/evm/v1/common.proto @@ -158,7 +158,7 @@ message EntryPoint { // The target contract to analyse this entrypoint on. bytes target = 2; // The signature of the function to analyse. - bytes signature = 3; + string signature = 3; } // A contract and associated storage changes diff --git a/substreams/crates/tycho-substreams/src/pb/tycho.evm.v1.rs b/substreams/crates/tycho-substreams/src/pb/tycho.evm.v1.rs index a5479de..8b98b96 100644 --- a/substreams/crates/tycho-substreams/src/pb/tycho.evm.v1.rs +++ b/substreams/crates/tycho-substreams/src/pb/tycho.evm.v1.rs @@ -187,8 +187,8 @@ pub struct EntryPoint { #[prost(bytes="vec", tag="2")] pub target: ::prost::alloc::vec::Vec, /// The signature of the function to analyse. - #[prost(bytes="vec", tag="3")] - pub signature: ::prost::alloc::vec::Vec, + #[prost(string, tag="3")] + pub signature: ::prost::alloc::string::String, } /// A contract and associated storage changes #[allow(clippy::derive_partial_eq_without_eq)]