Skip to content

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

Merged
Ceejaytech25 merged 109 commits into
ceejaylaboratory:mainfrom
wowamaxe-glitch:fix/issue-524-standardize-error-messages
Jul 4, 2026
Merged

fix: Standardize error messages in liquid staking (Issue #524)#692
Ceejaytech25 merged 109 commits 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

dependabot Bot and others added 30 commits June 17, 2026 00:24
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.7 to 19.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [framer-motion](https://github.com/motiondivision/motion) from 11.18.2 to 12.40.0.
- [Changelog](https://github.com/motiondivision/motion/blob/main/CHANGELOG.md)
- [Commits](motiondivision/motion@v11.18.2...v12.40.0)

---
updated-dependencies:
- dependency-name: framer-motion
  dependency-version: 12.40.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tailwind-merge](https://github.com/dcastil/tailwind-merge) from 2.6.1 to 3.6.0.
- [Release notes](https://github.com/dcastil/tailwind-merge/releases)
- [Commits](dcastil/tailwind-merge@v2.6.1...v3.6.0)

---
updated-dependencies:
- dependency-name: tailwind-merge
  dependency-version: 3.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) from 3.4.19 to 4.3.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.1/packages/tailwindcss)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-version: 4.3.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…ve anchors (closes ceejaylaboratory#609)

- feat(backend-sep38): [sep-38] implement dynamic fee calculation based on asset amount (closes ceejaylaboratory#610)
- feat(backend-sep12): [sep-12] support extra kyc fields (e.g. proof of income) (closes ceejaylaboratory#612)
…e validation & mock SMTP tests

- feat(backend-sep12): [sep-12] implement gcs storageprovider (closes ceejaylaboratory#545)
- feat(backend-sep12): [sep-12] add upload_record schema to prisma (closes ceejaylaboratory#547)
- feat(backend-sep12): [sep-12] add content type allowlist validation for upload requests (closes ceejaylaboratory#550)
- feat(backend-tests): add mock smtp server for local backend testing (closes ceejaylaboratory#541)
…upload-url endpoint, and CI migration check

- Add StorageProvider interface (closes ceejaylaboratory#543)
- Install @aws-sdk/client-s3 and @aws-sdk/s3-request-presigner; implement S3StorageProvider (closes ceejaylaboratory#544)
- Add POST /sep12/customer/upload-url route and controller; add UploadRecord Prisma model with migration (closes ceejaylaboratory#548)
- Add Prisma migrate status dry-run check step in CI workflow (closes ceejaylaboratory#540)
Ceejaytech25 and others added 28 commits July 4, 2026 15:49
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 18.3.1 to 19.2.7.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.2.7/packages/react)

---
updated-dependencies:
- dependency-name: react
  dependency-version: 19.2.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom) from 18.3.7 to 19.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom)

---
updated-dependencies:
- dependency-name: "@types/react-dom"
  dependency-version: 19.2.3
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
build(deps-dev): bump @types/react-dom from 18.3.7 to 19.2.3 in /dashboard
chore(deps): bump framer-motion from 11.18.2 to 12.40.0 in /dashboard
build(deps): bump react from 18.3.1 to 19.2.7 in /dashboard
feat(backend-sep24): [sep-24] log detailed interaction metrics to prometheus
feat(dashboard): [dashboard] create user avatar dropdown menu in navbar closes ceejaylaboratory#604
feat(sep12): implement StorageProvider interface, S3 implementation, …
feat(dashboard): [dashboard] standardize form validation in sep-24 in…
ceejaylaboratory#625 Configure Docker Compose for Production Deployments
ceejaylaboratory#630 Configure Automated Cleanup of Test Artifacts in CI
feat(registry): check for zero address validation in registry set
feat(xlm-wrapper): add test coverage for token allowance decreases
feat: SEP-12 storage keys, yield pause guard, anchorpoint admin tests staking metadata admin gate
@Ceejaytech25

Copy link
Copy Markdown
Contributor

Nice implementation, LGTM!

@Ceejaytech25 Ceejaytech25 merged commit bda62e5 into ceejaylaboratory:main Jul 4, 2026
1 of 5 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.

Standardize Error Messages in Liquid Staking Contract