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

Align recently added features with SDK v2 conventions #481

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

dzikowski
Copy link
Collaborator

No description provided.

Signed-off-by: Jakub Dzikowski <[email protected]>
- Updated `BurnAndMintDto` to extend `SubmitCallDTO` instead of `ChainCallDTO`.
- Made `roles` in `UserProfile` optional and updated related types to ensure consistency.
- Changed `identityKey` in `ChainUserAPI` to use `UserAlias`.
- Adjusted user role handling in various tests and services to accommodate the new optional roles structure.
- Updated return types in `getUserProfile` functions to use `UserProfileWithRoles` for better type safety.

These changes enhance type safety and align the code with the latest SDK conventions.

Signed-off-by: Jakub Dzikowski <[email protected]>
- Updated multiple DTOs (RequestTokenBridgeOutDto, OraclePriceCrossRateAssertionDto, OracleBridgeFeeAssertionDto) to extend SubmitCallDTO instead of ChainCallDTO
- Modified GalaTransaction authentication logic to handle default roles more flexibly
- Adjusted condition order in burnTokens function for better readability
- Removed unused import in validateMintRequest

These changes continue the ongoing refactoring to align with SDK v2 conventions and improve type safety.

Signed-off-by: Jakub Dzikowski <[email protected]>
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.

1 participant