Skip to content

Commit f3e4d4c

Browse files
kiruganIronGauntlets
authored andcommitted
Add contract_class_version field to Cairo1Class message
1 parent 60d1785 commit f3e4d4c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

p2p/proto/state.proto

+3-4
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ message Cairo1Class {
5050
bytes abi = 1;
5151
Cairo1EntryPoints entry_points = 2;
5252
repeated Felt252 program = 3;
53-
bytes compiled = 4;
53+
string contract_class_version = 4;
54+
bytes compiled = 5;
5455
}
5556

5657
// is it better to separate the definition from the hashes? (will need to repeate the hashes
@@ -67,6 +68,4 @@ message Class {
6768
message Classes {
6869
uint32 domain = 1;
6970
repeated Class classes = 2;
70-
}
71-
72-
71+
}

0 commit comments

Comments
 (0)