Skip to content

fix: assert in crypto layer replaced by proper error handling#2746

Open
SimonRastikian wants to merge 3 commits intosimon/getting-rid-of-indexing-slicingfrom
simon/assert-no-panic
Open

fix: assert in crypto layer replaced by proper error handling#2746
SimonRastikian wants to merge 3 commits intosimon/getting-rid-of-indexing-slicingfrom
simon/assert-no-panic

Conversation

@SimonRastikian
Copy link
Copy Markdown
Contributor

Closes #2745

@SimonRastikian SimonRastikian changed the base branch from main to simon/getting-rid-of-indexing-slicing April 8, 2026 09:02
Copy link
Copy Markdown
Contributor

@gilcu3 gilcu3 left a comment

Choose a reason for hiding this comment

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

Minor change requested, as the current code will accepts what was previously rejected. If it is too cumbersome to use Errors there, it is strictly better to leave the asserts, unless we are convinced these were not needed.

Copy link
Copy Markdown
Contributor

@gilcu3 gilcu3 left a comment

Choose a reason for hiding this comment

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

Thank you!

@SimonRastikian SimonRastikian self-assigned this Apr 8, 2026
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.

Asserts in the Crypto implementation should transform into ErrorHandling

2 participants