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

fix: Handle edge cases in redeemer parsing when second byte is unit (length) #105

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

satran004
Copy link
Member

@satran004 satran004 commented Jan 6, 2025

#103

  • Skip the extra byte after the map tag and continue parsing the map content.

  • Catch the exception in case of a redeemer/datum manual byte level parsing to retrieve the original redeemer bytes (which is required to maintain same data hash in some cases). In the worst case, if there is an unknown parsing error, the data hash will differ, but it should not impact the sync process.

Copy link

sonarqubecloud bot commented Jan 6, 2025

@satran004 satran004 merged commit e15d0ad into main Jan 13, 2025
3 checks passed
@satran004 satran004 deleted the fix_103.1 branch January 13, 2025 12:24
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