Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: storacha/w3up
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: filecoin-api-v4.0.2
Choose a base ref
...
head repository: storacha/w3up
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: filecoin-api-v4.0.3
Choose a head ref
  • 2 commits
  • 9 files changed
  • 2 contributors

Commits on Nov 3, 2023

  1. fix: aggregate offer invocation cid wrong (#1063)

    because not pieces cid block being used but buffer block, which was
    meaning a different CID being computed for invocation and receipt, as
    seen in:
    
    -
    https://github.com/web3-storage/w3up/blob/main/packages/filecoin-client/src/dealer.js#L58
    -
    https://github.com/web3-storage/w3up/blob/main/packages/filecoin-api/src/aggregator/service.js#L97
    
    So, `AggregatorRecord` now has a property for buffer and one for pieces.
    `buffer` allows us to get to know the pieces inside the `buffer` while
    `pieces` is the direct encoding of `PieceLink[]` dag-cbor. We could just
    rely on the buffer, but for issuing all `aggregate/accept` receipts for
    each piece, we would need an extra S3 get to read the buffer and compute
    the dag cbor for the list of pieces inside the buffer
    vasco-santos authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    90a5a4d View commit details
    Browse the repository at this point in the history
  2. chore(main): release filecoin-api 4.0.3 (#1064)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [4.0.3](filecoin-api-v4.0.2...filecoin-api-v4.0.3)
    (2023-11-03)
    
    
    ### Bug Fixes
    
    * aggregate offer invocation cid wrong
    ([#1063](#1063))
    ([90a5a4d](90a5a4d))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    it-dag-house authored Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ef4ce7a View commit details
    Browse the repository at this point in the history
Loading