Skip to content

Commit

Permalink
Merge pull request #888 from pastelnetwork/PSL-1187_multiVolumeCascad…
Browse files Browse the repository at this point in the history
…eRegistration

[PSL-1187] support multi-volumes in cascade registration flow
  • Loading branch information
j-rafique authored Jun 28, 2024
2 parents 3dd25c2 + df9aeda commit eca1599
Show file tree
Hide file tree
Showing 13 changed files with 10,844 additions and 2,397 deletions.
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

0 comments on commit eca1599

Please sign in to comment.