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

fix: upgrade data segment #850

Merged
merged 3 commits into from
Aug 10, 2023
Merged

fix: upgrade data segment #850

merged 3 commits into from
Aug 10, 2023

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Aug 8, 2023

Upgrades data-segment lib with Piece CID v2 storacha-network/data-segment#21

Needs:

@vasco-santos vasco-santos marked this pull request as ready for review August 9, 2023 09:10
Copy link
Contributor

@Gozala Gozala left a comment

Choose a reason for hiding this comment

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

All looks good except I think there is some misunderstanding around legacy CID and PieceInfo. We should not need to use either, only reason I had them in the data-segment lib is for compat tests with existing libs and tests & I hope to remove that once they transition to v2.

packages/capabilities/src/filecoin.js Outdated Show resolved Hide resolved
packages/capabilities/src/filecoin.js Outdated Show resolved Hide resolved
packages/capabilities/src/filecoin.js Outdated Show resolved Hide resolved
packages/capabilities/src/filecoin.js Outdated Show resolved Hide resolved
height: piece.height,
size: piece.size,
root: piece.root,
Copy link
Contributor

Choose a reason for hiding this comment

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

Why capture root here as opposed to CID of the piece ?

@vasco-santos vasco-santos merged commit fba281f into main Aug 10, 2023
14 checks passed
@vasco-santos vasco-santos deleted the fix/upgrade-data-segment branch August 10, 2023 07:09
vasco-santos pushed a commit that referenced this pull request Aug 10, 2023
🤖 I have created a release *beep* *boop*
---


##
[9.0.1](capabilities-v9.0.0...capabilities-v9.0.1)
(2023-08-10)


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
vasco-santos pushed a commit that referenced this pull request Aug 10, 2023
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-08-10)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
vasco-santos added a commit that referenced this pull request Aug 10, 2023
🤖 I have created a release *beep* *boop*
---


## 1.0.0 (2023-08-10)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Vasco Santos <santos.vasco10@gmail.com>
vasco-santos pushed a commit that referenced this pull request Aug 10, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](filecoin-api-v1.1.0...filecoin-api-v1.2.0)
(2023-08-10)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
vasco-santos added a commit that referenced this pull request Aug 10, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](filecoin-client-v1.1.0...filecoin-client-v1.2.0)
(2023-08-10)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Vasco Santos <santos.vasco10@gmail.com>
vasco-santos pushed a commit that referenced this pull request Aug 30, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](filecoin-client-v1.2.2...filecoin-client-v1.3.0)
(2023-08-30)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))
* w3filecoin spec separate capabilities to queue and enqueue
([#856](#856))
([6bf9142](6bf9142)),
closes [#855](#855)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
vasco-santos added a commit that referenced this pull request Aug 30, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](filecoin-api-v1.2.2...filecoin-api-v1.3.0)
(2023-08-30)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* upgrade data segment
([#850](#850))
([fba281f](fba281f))
* w3filecoin spec separate capabilities to queue and enqueue
([#856](#856))
([6bf9142](6bf9142)),
closes [#855](#855)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: Vasco Santos <santos.vasco10@gmail.com>
vasco-santos pushed a commit that referenced this pull request Aug 30, 2023
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](filecoin-api-v1.3.1...filecoin-api-v1.4.0)
(2023-08-30)


### Features

* w3filecoin new client and api
([#848](#848))
([7a58fbe](7a58fbe))


### Bug Fixes

* types when storefront is not in capability nb
([#886](#886))
([448a7d1](448a7d1))
* upgrade data segment
([#850](#850))
([fba281f](fba281f))
* w3filecoin spec separate capabilities to queue and enqueue
([#856](#856))
([6bf9142](6bf9142)),
closes [#855](#855)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

None yet

2 participants