From f3e4d4c3c8467e454896e7ad1fad45e6d327c21c Mon Sep 17 00:00:00 2001 From: Kirill Date: Mon, 20 Nov 2023 14:32:03 +0300 Subject: [PATCH] Add contract_class_version field to Cairo1Class message --- p2p/proto/state.proto | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/p2p/proto/state.proto b/p2p/proto/state.proto index 0942954..4ed9e49 100644 --- a/p2p/proto/state.proto +++ b/p2p/proto/state.proto @@ -50,7 +50,8 @@ message Cairo1Class { bytes abi = 1; Cairo1EntryPoints entry_points = 2; repeated Felt252 program = 3; - bytes compiled = 4; + string contract_class_version = 4; + bytes compiled = 5; } // is it better to separate the definition from the hashes? (will need to repeate the hashes @@ -67,6 +68,4 @@ message Class { message Classes { uint32 domain = 1; repeated Class classes = 2; -} - - +} \ No newline at end of file