Skip to content

Commit

Permalink
Remove extra_data and hash from BlockHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
IronGauntlets committed Nov 17, 2023
1 parent 3da1088 commit 651dfb0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions p2p/proto/block.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ message Signatures {
// Note: commitments may change to be for the previous blocks like comet/tendermint
// hash of block header sent to L1
message BlockHeader {
Hash hash = 1;
Hash parent_hash = 2;
uint64 number = 3;
google.protobuf.Timestamp time = 4; // TODO: see if this needs to be Felt252 or can be converted
Expand All @@ -33,7 +32,6 @@ message BlockHeader {
Merkle events = 10; // By order of issuance. TBD: in receipts?
Merkle receipts = 11; // By order of issuance.
string protocol_version = 12; // Starknet version
Felt252 extra_data = 13;
Felt252 gas_price = 14;
}

Expand Down Expand Up @@ -83,9 +81,9 @@ message BlockBodiesResponse {
StateDiff diff = 2;
Classes classes = 3;
BlockProof proof = 4;
Transactions transactions = 6;
Receipts receipts = 7;
Fin fin = 8;
Transactions transactions = 5;
Receipts receipts = 6;
Fin fin = 7;
}
}

Expand Down

0 comments on commit 651dfb0

Please sign in to comment.