mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 22:11:02 +00:00
Code, PoV compression and remove CompressedPoV struct (#2852)
* use compressed blob in candidate-validation * add some tests for compressed code blobs * remove CompressedPoV and apply compression in collation-generation * decompress BlockData before executing * don't produce oversized collations * add test for PoV decompression failure * fix tests and clean up * fix test * address review and fix CI * take this )
This commit is contained in:
committed by
GitHub
parent
bb48c47fbf
commit
896ec8dbc3
@@ -19,9 +19,6 @@ enum ObservedRole {
|
||||
Full,
|
||||
Light,
|
||||
}
|
||||
|
||||
/// SCALE and zstd encoded `PoV`.
|
||||
struct CompressedPoV(Vec<u8>);
|
||||
```
|
||||
|
||||
## V1 Network Subsystem Message Types
|
||||
@@ -84,8 +81,8 @@ enum PoVDistributionV1Message {
|
||||
/// specific relay-parent hash.
|
||||
Awaiting(Hash, Vec<Hash>),
|
||||
/// Notification of an awaited PoV, in a given relay-parent context.
|
||||
/// (relay_parent, pov_hash, compressed_pov)
|
||||
SendPoV(Hash, Hash, CompressedPoV),
|
||||
/// (relay_parent, pov_hash, pov)
|
||||
SendPoV(Hash, Hash, PoV),
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user