Skip to content

feat: implement error handling in contracts and update related functi…#58

Merged
manoahLinks merged 3 commits intocrowdpass-live:mainfrom
IyanuOluwaJesuloba:main
Feb 26, 2026
Merged

feat: implement error handling in contracts and update related functi…#58
manoahLinks merged 3 commits intocrowdpass-live:mainfrom
IyanuOluwaJesuloba:main

Conversation

@IyanuOluwaJesuloba
Copy link
Contributor

@IyanuOluwaJesuloba IyanuOluwaJesuloba commented Feb 23, 2026

Closes #21


This PR refactors error handling across all Soroban smart contracts (event_manager, ticket_nft, tba_registry, tba_account) to use efficient numeric error codes instead of string-based panics. This aligns with Soroban best practices for gas-efficient error handling.

@manoahLinks
Copy link
Contributor

please resolve conflict and rupdate branch

@IyanuOluwaJesuloba
Copy link
Contributor Author

I have resolved the conflicts and updated my branch accordingly

@IyanuOluwaJesuloba
Copy link
Contributor Author

IyanuOluwaJesuloba commented Feb 26, 2026

Hi @manoahLinks .
I have resolved all the other issues.

@manoahLinks
Copy link
Contributor

its shows you have conflicts here

@manoahLinks manoahLinks merged commit 6a06e64 into crowdpass-live:main Feb 26, 2026
2 of 3 checks passed
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.

Replace panic! with proper Soroban contract errors across all contracts

2 participants