Skip to content

fix: Standardize error messages in liquid staking (Issue #524)#692

Open
wowamaxe-glitch wants to merge 1 commit into
ceejaylaboratory:mainfrom
wowamaxe-glitch:fix/issue-524-standardize-error-messages
Open

fix: Standardize error messages in liquid staking (Issue #524)#692
wowamaxe-glitch wants to merge 1 commit into
ceejaylaboratory:mainfrom
wowamaxe-glitch:fix/issue-524-standardize-error-messages

Conversation

@wowamaxe-glitch

Copy link
Copy Markdown

This PR replaces generic panics with a structured #[contracterror] enum in the liquid_staking contract to resolve Issue #524. It also fixes a compilation issue in the registry contract so that all contracts compile cleanly.

Closes #524

…atory#524

Replaced generic panic strings with a custom #[contracterror] enum to
improve error handling and satisfy the issue requirements.
@drips-wave

drips-wave Bot commented Jun 28, 2026

Copy link
Copy Markdown

@wowamaxe-glitch Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Standardize Error Messages in Liquid Staking Contract

1 participant