-
Notifications
You must be signed in to change notification settings - Fork 9
[WAL-1471] Add support for sponsored transactions #657
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
base: main
Are you sure you want to change the base?
Conversation
Fix web-sdk compatibility
Update network connection
soerenbf
left a comment
There was a problem hiding this 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; |
There was a problem hiding this comment.
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
| payload: AccountTransactionInput; | |
| payload: Exclude<AccountTransactionInput, UpdateContractInput | InitContractInput | SimpleTransferPayload>; |
| export type UpdateCredentialsPayloadCompat = | ||
| | UpdateCredentialsPayload | ||
| | UpdateCredentialsInput | ||
| | UpdateCredentialKeysInput; |
There was a problem hiding this comment.
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
| export type UpdateCredentialsPayloadCompat = | |
| | UpdateCredentialsPayload | |
| | UpdateCredentialsInput | |
| | UpdateCredentialKeysInput; | |
| export type UpdateCredentialsPayloadCompat = UpdateCredentialsInput; |
?
soerenbf
left a comment
There was a problem hiding this 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
Updates after review
This reverts commit 015c109.
Purpose
_Describe the purpose of the pull request, link to issue describing the problem, etc.
Changes
_Describe the changes that were needed.
Checklist
hard-to-understand areas.
CLA acceptance
_Remove if not applicable.
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0
link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf
I accept the above linked CLA.