Skip to content

Conversation

@Ivan-Mahda
Copy link
Contributor

Purpose

_Describe the purpose of the pull request, link to issue describing the problem, etc.

Changes

_Describe the changes that were needed.

Checklist

  • My code follows the style of this project.
  • The code compiles without warnings.
  • I have performed a self-review of the changes.
  • I have documented my code, in particular the intent of the
    hard-to-understand areas.
  • (If necessary) I have updated the CHANGELOG.

CLA acceptance

_Remove if not applicable.

By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0

@Ivan-Mahda Ivan-Mahda requested a review from soerenbf December 3, 2025 11:07
Copy link
Collaborator

@soerenbf soerenbf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Only a few minor suggestions

AccountTransactionType.Transfer | AccountTransactionType.Update | AccountTransactionType.InitContract
>;
payload: AccountTransactionPayload;
payload: AccountTransactionInput;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might make it better to do

Suggested change
payload: AccountTransactionInput;
payload: Exclude<AccountTransactionInput, UpdateContractInput | InitContractInput | SimpleTransferPayload>;

Comment on lines +227 to +230
export type UpdateCredentialsPayloadCompat =
| UpdateCredentialsPayload
| UpdateCredentialsInput
| UpdateCredentialKeysInput;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like this should be just

Suggested change
export type UpdateCredentialsPayloadCompat =
| UpdateCredentialsPayload
| UpdateCredentialsInput
| UpdateCredentialKeysInput;
export type UpdateCredentialsPayloadCompat = UpdateCredentialsInput;

?

Copy link
Collaborator

@soerenbf soerenbf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest you create a dedicated branch for p10 features so you can still fix potential bugs on main without having to go back in history

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.

3 participants