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: upload client should perform filecoin offer #1333

Merged
merged 4 commits into from
Mar 21, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
chore: improve comment
  • Loading branch information
vasco-santos committed Mar 21, 2024
commit aaefd5f5ade3acab241633467db47a6cd2af4d65
2 changes: 1 addition & 1 deletion packages/upload-client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async function uploadBlockStream(conf, blocks, options = {}) {
{
issuer: conf.issuer,
audience: conf.audience,
// Resource of storefront is the issuer did
// Resource of invocation is the issuer did for being self issued
with: conf.issuer.did(),
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@vasco-santos vasco-santos Mar 21, 2024

Choose a reason for hiding this comment

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

my comment is actually also wrong, the did must be the same as the issuer in order to have a self issued invocation.. Otherwise you would need to either have been delegated such capability or inline proofs given resource is not did of issuer.

proofs: conf.proofs,
},
Expand Down
Loading