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

[PSL-1187] support multi-volumes in cascade registration flow #888

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion walletnode/api/design/cascade.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@ var StartCascadeProcessingPayload = Type("StartCascadeProcessingPayload", func()
MaxLength(64)
Example("576e7b824634a488a2f0baacf5a53b237d883029f205df25b300b87c8877ab58")
})
Attribute("burn_txids", ArrayOf(String), func() {
Description("List of Burn transaction IDs for multi-volume registration")
Example([]string{
"576e7b824634a488a2f0baacf5a53b237d883029f205df25b300b87c8877ab58",
})
})
Attribute("app_pastelid", String, func() {
Meta("struct:field:name", "AppPastelID")
Description("App PastelID")
Expand Down Expand Up @@ -320,7 +326,7 @@ var StartCascadeProcessingPayload = Type("StartCascadeProcessingPayload", func()
Example("Basic abcdef12345")
})

Required("file_id", "burn_txid", "app_pastelid", "key")
Required("file_id", "app_pastelid", "key")
})

// FileRegistrationDetailPayload - Payload for registration detail
Expand Down
4 changes: 3 additions & 1 deletion walletnode/api/gen/cascade/service.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 15 additions & 5 deletions walletnode/api/gen/http/cascade/client/cli.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion walletnode/api/gen/http/cascade/client/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions walletnode/api/gen/http/cascade/server/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion walletnode/api/gen/http/openapi.json

Large diffs are not rendered by default.

Loading
Loading