Skip to content

Commit

Permalink
Add contract_class_version field to Cairo1Class message
Browse files Browse the repository at this point in the history
  • Loading branch information
kirugan authored and IronGauntlets committed Nov 21, 2023
1 parent 60d1785 commit f3e4d4c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions p2p/proto/state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -67,6 +68,4 @@ message Class {
message Classes {
uint32 domain = 1;
repeated Class classes = 2;
}


}

0 comments on commit f3e4d4c

Please sign in to comment.