Skip to content

Conversation

arepala-uml
Copy link
Contributor

  1. Updated NewWrappedHeader to return an error when CBOR decoding fails.
  2. Modified NewMsgRollForwardNtN to return the wrapped header error.
  3. Added unit test for NewMsgRollForwardNtN to verify error propagation from NewWrappedHeader with corrupted CBOR.
  4. Modified existing test case of NewMsgRollForwardNtN function.

Closes #856

@arepala-uml arepala-uml marked this pull request as ready for review April 26, 2025 01:11
@arepala-uml arepala-uml requested a review from a team as a code owner April 26, 2025 01:11
@wolf31o2 wolf31o2 merged commit 34fe34a into main Apr 26, 2025
9 of 13 checks passed
@wolf31o2 wolf31o2 deleted the new_wrapped_header branch April 26, 2025 22:07
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.

Handle error in chainsync.NewWrappedHeader
3 participants