Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.

feat: add sidecars field to Block, SealedBlock and BlockBody #23

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

pythonberg1997
Copy link
Contributor

This pr is to add sidecars field to block structs for BSC

@@ -58,7 +58,14 @@ pub fn try_payload_v1_to_block(payload: ExecutionPayloadV1) -> Result<Block, Pay
nonce: Default::default(),
};

Ok(Block { header, body: transactions, withdrawals: None, ommers: Default::default() })
// TODO: add sidecars
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the TODO?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The sidecars are empty. I leave this TODO for further dev

@unclezoro unclezoro merged commit de58d81 into bsc_feature Jun 5, 2024
5 of 25 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants