Skip to content

Encapsulate and move collection params to request.#241

Merged
benoitdevos merged 2 commits intomainfrom
feature/collection-params
Mar 22, 2024
Merged

Encapsulate and move collection params to request.#241
benoitdevos merged 2 commits intomainfrom
feature/collection-params

Conversation

@benoitdevos
Copy link
Contributor

@benoitdevos benoitdevos commented Mar 22, 2024

  • Collections params (lastBlockSubmission, maxSize, canUpload ) are now provided at collection request step (previously: at open step).
  • The specific openCollection() is removed, open() can be used for any LOC type.
  • CollectionParams is now encapsulated in Locdata and OpenCollectionLocParams.
  • As done previously, EstimateFeesOpenCollectionLocParams is removed and OpenCollectionLocParams and BlockchainSubmission<OpenCollectionLocParams> are used instead.

logion-network/logion-internal#1179

Copy link
Contributor

@gdethier gdethier left a comment

Choose a reason for hiding this comment

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

Good job and nice refactoring!

@benoitdevos benoitdevos merged commit b7a7604 into main Mar 22, 2024
@benoitdevos benoitdevos deleted the feature/collection-params branch March 22, 2024 12: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.

2 participants