eqlabs / pathfinder

A Starknet full node written in Rust
https://eqlabs.github.io/pathfinder/
Other
619 stars 227 forks source link

fix(p2p): send compressed program for Cairo 0 classes #2034

Closed kkovaacs closed 3 months ago

kkovaacs commented 3 months ago

The protocol expects the program of Cairo 0 classes to be represented as a Base64-encoded, gzip compressed JSON.

In addition to fixing that the PR also adds some tracing events/spans to sync handlers and a fix for logging errors.