Skip to content

Remove bytestring from Block type #4926

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

Merged
merged 1 commit into from
Mar 24, 2025
Merged

Remove bytestring from Block type #4926

merged 1 commit into from
Mar 24, 2025

Conversation

teodanciu
Copy link
Contributor

@teodanciu teodanciu commented Mar 17, 2025

Description

Just block body and block header are important for hashing.

Integrating this with consesus doesn't create non-trivial compilation problems: IntersectMBO/ouroboros-consensus#1427

Checklist

  • Commits in meaningful sequence and with useful messages.
  • Tests added or updated when needed.
  • CHANGELOG.md files updated for packages with externally visible changes.
    NOTE: New section is never added with the code changes. (See RELEASING.md).
  • Versions updated in .cabal and CHANGELOG.md files when necessary, according to the
    versioning process.
  • Version bounds in .cabal files updated when necessary.
    NOTE: If bounds change in a cabal file, that package itself must have a version increase. (See RELEASING.md).
  • Code formatted (use scripts/fourmolize.sh).
  • Cabal files formatted (use scripts/cabal-format.sh).
  • hie.yaml updated (use scripts/gen-hie.sh).
  • Self-reviewed the diff.

@teodanciu teodanciu force-pushed the td/no-bytes-block branch 4 times, most recently from e3fa55f to 6edf67c Compare March 18, 2025 16:18
@teodanciu teodanciu changed the title wip - no bytes block Remove bytestring from Block type Mar 18, 2025
@teodanciu teodanciu marked this pull request as ready for review March 18, 2025 16:22
@teodanciu teodanciu requested a review from a team as a code owner March 18, 2025 16:22
Copy link
Contributor

@Lucsanszky Lucsanszky left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

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

Very nice! Love seeing simplifications like this!

@lehins lehins force-pushed the td/no-bytes-block branch from 6edf67c to 50c4c17 Compare March 24, 2025 08:48
@lehins lehins enabled auto-merge March 24, 2025 08:48
@lehins lehins merged commit a9cfed8 into master Mar 24, 2025
154 checks passed
@lehins lehins deleted the td/no-bytes-block branch March 24, 2025 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants