Conversation
|
/cmd prdoc --audience Node Dev --bump patch |
|
Command "prdoc --audience Node Dev --bump patch" has failed ❌! See logs here |
|
/cmd prdoc --audience node_dev --bump patch |
…e_dev --bump patch'
| } else { | ||
| ParentHeadData::OnlyHash(parent_head_data_hash) | ||
| }; | ||
| let parent_head_data = |
There was a problem hiding this comment.
In send_collation( we should also be able to get rid of the match since all validators now support CollationWithParentHeadData.
There was a problem hiding this comment.
I wouldn't define a new data type just for this purpose, just pass both values to the send_collation
There was a problem hiding this comment.
actually, we don't even use the hash here
There was a problem hiding this comment.
Ok I think I've made sensible changes now.
See |
polkadot/node/network/collator-protocol/src/collator_side/mod.rs
Outdated
Show resolved
Hide resolved
alindima
left a comment
There was a problem hiding this comment.
LGTM, but let's fix the formatting
|
/cmd fmt |
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
…collation_response_7733
…collation_response_7733
…collation_response_7733
* master: (91 commits) Add extra information to the harmless error logs during validate_transaction (#9047) `sp-tracing`: Remove `test-utils` feature (#9063) add try-state check for staking roles -- staker cannot be nominator a… (#9034) net/discovery: File persistence for `AddrCache` (#8839) dispute-coordinator: handle race with offchain disabling (#9050) Align parameters for `EventEmitter::emit_sent_event` (#9057) Fetch parent block `api_version` (#9059) [XCM Precompile] Rename functions and improve docs in the Solidity interface (#9023) Cleanup and improvements for `ControlledValidatorIndices` (#8896) reenable 0001-parachains-pvf (#9046) Add optional auto-rebag within on-idle (#8684) Fix flaxy 0003-block-building-warp-sync test - one more approach (#8974) [Staking] [AHM] Fixes insufficient slashing of nominators (and some other small issues). (#8937) chore: Bump bounded-collections dep (#9004) XCMP and DMP improvements (#8860) EPMB/unsigned: fixed multi-page winner computation (#8987) Always send full parent header, not only hash, part of collation response (#8939) revive: Precompiles should return dummy code when queried (#9001) Fix confusing log messages in network protocol behaviour (#8819) Fix pallet_migrations benchmark when FailedMigrationHandler emits events (#8694) ...
…onse (#8939) Implementation of #7733 # Description Instead of **conditionally** sending the full parent header in the collation response we now **always** send it (never the hash of it). --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…onse (paritytech#8939) Implementation of paritytech#7733 # Description Instead of **conditionally** sending the full parent header in the collation response we now **always** send it (never the hash of it). --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Implementation of #7733
Description
Instead of conditionally sending the full parent header in the collation response we now always send it (never the hash of it).