Skip to content

Feat: Support request/apply flow in contracts#773

Merged
dzikowski merged 11 commits intomainfrom
feat/submit-request
Apr 7, 2026
Merged

Feat: Support request/apply flow in contracts#773
dzikowski merged 11 commits intomainfrom
feat/submit-request

Conversation

@dzikowski
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
…action options

- Added support for a new transaction type, SUBMIT_REQUEST, to handle scheduled submit requests.
- Updated GalaTransaction options to include specific configurations for SUBMIT and SUBMIT_REQUEST types.
- Enhanced validation to ensure required fields are present for each transaction type.
- Updated response handling to accommodate the new transaction type in the chaincode template snapshots.

Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
@dzikowski dzikowski marked this pull request as draft March 11, 2026 12:00
Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
- Updated the NFT locking and simple NFT test cases to utilize the new `RequestMintToken` and `RequestTransferToken` methods.
- Introduced `applyRequests` function to streamline the application of requests after minting and transferring tokens.
- Enhanced the GalaChainTokenContract to handle request methods for minting and transferring tokens, marking previous methods as deprecated.
- Updated related DTOs and transaction handling to support the new request structure.

Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
@dzikowski dzikowski changed the title Feat: PoC: Support request/apply flow in contracts Feat: Support request/apply flow in contracts Apr 7, 2026
@dzikowski dzikowski marked this pull request as ready for review April 7, 2026 09:35
Comment thread chaincode/src/contracts/GalaTransactionRequest.ts Outdated
Signed-off-by: Jakub Dzikowski <jakub.t.dzikowski@gmail.com>
@dzikowski dzikowski merged commit 83b47f0 into main Apr 7, 2026
13 checks passed
@dzikowski dzikowski deleted the feat/submit-request branch April 7, 2026 09:54
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