Skip to content

Conversation

@fpelliccioni
Copy link
Contributor

No description provided.

@fpelliccioni fpelliccioni force-pushed the feat/domain-obj-deserialization branch 4 times, most recently from 9b3d831 to 0b3ce09 Compare October 23, 2024 15:24
@fpelliccioni fpelliccioni force-pushed the feat/domain-obj-deserialization branch from 0b3ce09 to e0c8d88 Compare April 30, 2025 14:42
@fpelliccioni fpelliccioni requested a review from Copilot May 1, 2025 12:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors domain objects deserialization by centralizing flag conversion logic and updating the consensus API. Key changes include:

  • Implementing the verify_flags_to_script_flags function in a new conversions.cpp/ conversions.hpp module.
  • Consolidating the consensus API by unifying the verify_script signature and removing conditional branches for script_error_to_verify_result.
  • Bumping the Catch2 version in the conanfile.

Reviewed Changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/consensus/conversions.cpp Adds verify_flags_to_script_flags with conditional flag conversions.
src/consensus/consensus.hpp Removes conditional definitions and updates version() declaration.
include/kth/consensus/export.hpp Unifies verify_script signature and updates parameter documentation.
include/kth/consensus/conversions.hpp Introduces the header for flag conversion functions.
include/kth/consensus.hpp Updates include directives to incorporate conversions.hpp.
conanfile.py Upgrades Catch2 dependency from 3.6.0 to 3.7.1.
Files not reviewed (1)
  • CMakeLists.txt: Language not supported

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@fpelliccioni fpelliccioni merged commit ee0ffee into master May 1, 2025
5 checks passed
@fpelliccioni fpelliccioni deleted the feat/domain-obj-deserialization branch May 1, 2025 13:31
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.

2 participants