Skip to content

[2.0.0-dev] Protocol feature: packed_transaction_restrictions #1668

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: release/2.0
Choose a base branch
from

Conversation

heifner
Copy link
Member

@heifner heifner commented Jul 1, 2025

  • Adds protocol feature: PACKED_TRANSACTION_RESTRICTIONS.
    • Enforces no extra-data in packed_transaction in blocks
    • Enforces no compressed packed_transaction in blocks
  • Subjectively enforces no extra-data in packed_transaction via P2P and API.
  • Subjectively normalizes all packed_transaction to non-compressed for transfer on P2P and in blocks.

Resolves #1472

@heifner heifner added consensus-protocol Change to the consensus protocol. Impacts light client validation. OCI Work exclusive to OCI team labels Jul 1, 2025
blockslog.seek_end(0);
size_t size = blockslog.tellp();
blockslog.seek(size/2);
blockslog.seek(pos+20);
Copy link
Member Author

Choose a reason for hiding this comment

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

See #1666

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus-protocol Change to the consensus protocol. Impacts light client validation. OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Protocol Feature: Disallow extra data in packed_transaction and eliminate compression from transaction receipt commitments
2 participants