Skip to content
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

CHIA-1685 Simplify return values for validate_block_body #18790

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AmineKhaldi
Copy link
Contributor

Purpose:

There is no need to return the conditions that we already receive as input.

Current Behavior:

We currently accept conditions as input and then return them back when the block is valid, along with the validation outcome.

New Behavior:

We just return the validation outcome.

@AmineKhaldi AmineKhaldi added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup labels Oct 29, 2024
@AmineKhaldi AmineKhaldi self-assigned this Oct 29, 2024
@AmineKhaldi AmineKhaldi force-pushed the simplify_return_values_validate_block_body branch from 54b782f to e68bca4 Compare October 29, 2024 19:07
@AmineKhaldi AmineKhaldi marked this pull request as ready for review October 30, 2024 11:28
@AmineKhaldi AmineKhaldi requested a review from a team as a code owner October 30, 2024 11:28
Copy link
Contributor

@arvidn arvidn left a comment

Choose a reason for hiding this comment

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

looks good. Would it be OK to land #18812 first though? I think this PR would be easier to rebase

@AmineKhaldi
Copy link
Contributor Author

looks good. Would it be OK to land #18812 first though? I think this PR would be easier to rebase

Yep, let's do that.

@github-actions github-actions bot added the merge_conflict Branch has conflicts that prevent merge to main label Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@AmineKhaldi AmineKhaldi force-pushed the simplify_return_values_validate_block_body branch from e68bca4 to 4860fa8 Compare November 6, 2024 18:44
@github-actions github-actions bot removed the merge_conflict Branch has conflicts that prevent merge to main label Nov 6, 2024
Copy link
Contributor

github-actions bot commented Nov 6, 2024

Conflicts have been resolved. A maintainer will review the pull request shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants