Proto commits in eqlabs/pathfinder

These 79 commits are when the Protocol Buffers files have changed:

Commit:ba02bc8
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): add consensus proto file

Commit:14af9a7
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): add consensus dtos

Commit:bd17c16
Author:Krzysztof Lis

feat(p2p_proto): add consensus dtos

Commit:bbaaef3
Author:Krzysztof Lis

feat(p2p_proto): add consensus proto file

Commit:6c86a10
Author:t00ts

feat(p2p): wip consensus

Commit:c5f195a
Author:Vaclav Barta

added l2_gas to P2P & DTO ExecutionResources

The documentation is generated from this commit.

Commit:3082ff6
Author:Vaclav Barta
Committer:Vaclav Barta

added optional ResourceBounds.l1_data_gas

Commit:3d01aec
Author:Vaclav Barta
Committer:Vaclav Barta

added class.class_hash

Commit:794d0fa
Author:Vaclav Barta
Committer:Vaclav Barta

added Transaction.transaction_hash

Commit:54535c3
Author:t00ts
Committer:t00ts

feat: introduce `l2_gas_price` to `BlockHeader`

Commit:0d06ce6
Author:Krisztian Kovacs
Committer:Krisztian Kovacs

fix(p2p_proto/receipt): L1 handler message hashes are 256 bit hashes This change introduces a `Hash256` type to describe fields which represent 256 bit hash values (like the output of Keccak256).

Commit:9d18dc8
Author:Krzysztof Lis
Committer:Krzysztof Lis

fix: add fields associated with starknet 0.13.2 upgrade

Commit:1eb90e2
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(0.13.2): add new builtins

Commit:7487968
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat: remove class hash and other minor updates

Commit:fcfa083
Author:Krzysztof Lis

chore: minor rename in proto

Commit:e02874d
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat: remove transaction hashes from p2p messages

Commit:4d10dea
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat: update protos

Commit:f06d2e4
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): update transactions

Commit:142b7da
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): class_hash is of Hash type

Commit:3d23396
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): revert reason is optional

Commit:4f23298
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): update class messages

Commit:5ccd7cb
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat: merge receipts into transactions in p2p messaging

Commit:105af0b
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update protos and dtos

Commit:5665471
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update dtos

Commit:d25a4cc
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): update protos according to latest spec PR rework

Commit:603e4f2
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): use new proto files

Commit:e45230a
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update dtos according to latest spec PR rework

Commit:5b82e1f
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): timestamp in header is u64

Commit:c46462b
Author:Krzysztof Lis
Committer:Mirko von Leipzig

feat(p2p_proto): remove redundant address fields

Commit:35f171f
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): remove redundant address fields

Commit:b0b5caf
Author:Krzysztof Lis

feat(p2p_proto): remove unnecessary fields from transactions

Commit:ec6c95f
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update transactions

Commit:ec6407d
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update events

Commit:6c4a3ea
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update class messages

Commit:33c9d72
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update transaction messages

Commit:c62059e
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): remove redundant field

Commit:85225d2
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): remove temporary vec wrappers around responses

Commit:46a066c
Author:Krisztian Kovacs
Committer:Krisztian Kovacs

feat(common): add V3 transaction types

Commit:7481765
Author:Krzysztof Lis
Committer:Krzysztof Lis

chore: rename p2p_proto_v0 to p2p_proto and flatten its module hierarchy

Commit:1bc054b
Author:Krzysztof Lis
Committer:Krzysztof Lis

chore: remove p2p_proto_v0 crate

Commit:14f3c69
Author:Krzysztof Lis
Committer:Krzysztof Lis

fixup: add casm to proto to allow state root verification

Commit:520caac
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto_v1): add state_commitment to the header

Commit:5be3fc0
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_network/Client): update block bodies request

Commit:9a3d471
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat: wrap multiple responses until we have streaming response support

Commit:5305575
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): update protos

Commit:662e17f
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): latest spec changes continued

Commit:31f906f
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): add GetBlocksResponse

Commit:9fbc4a7
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): BlockID is oneof

Commit:7812c00
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): non ambiguous block id

Commit:04132bc
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(sync_handlers): get_events

Commit:f58f643
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(sync_handlers): get_receipts

Commit:ac82510
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(sync_handlers): get_transactions

Commit:3365ca5
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(sync_handlers): get_transactions

Commit:1f9c603
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): latest spec changes continued

Commit:0308b23
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): block

Commit:6e52c48
Author:Krzysztof Lis
Committer:Krzysztof Lis

refactor(sync_handlers): name v1 explicitly to make rebases less painful

Commit:b73d9c2
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): spec updates

Commit:0704952
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): add custom fields to header

Commit:f48039b
Author:Krzysztof Lis
Committer:Krzysztof Lis

test(p2p_proto): fix class overhead test

Commit:cdda6b5
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): latest spec changes

Commit:e9a35b7
Author:Krzysztof Lis
Committer:Krzysztof Lis

chore: mark old protos as v0

Commit:5996547
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): block

Commit:c51adea
Author:Krzysztof Lis
Committer:Krzysztof Lis

chore: mark old protos as v0

Commit:d4a1858
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): receipt

Commit:fc6516b
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): add missing fields in snapshot Since required state structs are now done.

Commit:b691293
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): transaction

Commit:0a547f6
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): state

Commit:79263da
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): snapshot

Commit:4c31ebd
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): mempool

Commit:65c6729
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): event

Commit:63a8c3e
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p_proto): block

Commit:aadc0b4
Author:Krzysztof Lis
Committer:Krzysztof Lis

chore: mark old protos as v0

Commit:5b64082
Author:Krzysztof Lis
Committer:Mirko von Leipzig

test: fix formely ignored sync handlers tests

Commit:87ed446
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): add missing sync handlers

Commit:7f4552e
Author:Krzysztof Lis
Committer:Krzysztof Lis

test(sync_handlers): state_diff

Commit:3d9de30
Author:CHr15F0x
Committer:Krzysztof Lis

refactor(p2p_proto): remove redundant `block_` field prefix Co-authored-by: Mirko von Leipzig <48352201+Mirko-von-Leipzig@users.noreply.github.com>

Commit:71d2301
Author:Krzysztof Lis
Committer:Krzysztof Lis

refactor: rename some fields messages Co-authored-by: Mirko von Leipzig <mirko.vonleipzig@gmail.com>

Commit:051a034
Author:Krzysztof Lis
Committer:Krzysztof Lis

feat(p2p): proto file updates

Commit:7bd3303
Author:Krisztian Kovacs
Committer:Krisztian Kovacs

feat(p2p): add initial code for P2P This commit adds the following crates: - p2p_proto: the protobuf definitions for the message types, prost build script for generating code based on those types, plus wrapper types that handle parsing the raw protobuf types into more useful types (like: Felts instead of just bytes) via the ToProtobuf and TryFromProtobuf traits - p2p_proto_derive: a proc macro that is used to derive most of our ToProtobuf and TryFromProtobuf implementations - p2p_bootstrap: a simple bootsrap node implementation (using libp2p Kademlia and relay) - p2p: contains our libp2p Behaviour implementation, the task impl running its main loop, our events, plus an async Client interface that can be used to interface with the main loop