Skip to content

Commit

Permalink
fix: client
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Nov 3, 2023
1 parent fb3170d commit ef10873
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/filecoin-client/src/aggregator.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export async function pieceOffer(
group,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down Expand Up @@ -101,6 +102,7 @@ export async function pieceAccept(
group,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down
2 changes: 2 additions & 0 deletions packages/filecoin-client/src/dealer.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ export async function aggregateOffer(
pieces: block.cid,
},
proofs,
expiration: Infinity,
})
invocation.attach(block)

Expand Down Expand Up @@ -103,6 +104,7 @@ export async function aggregateAccept(
pieces,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down
3 changes: 3 additions & 0 deletions packages/filecoin-client/src/storefront.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export async function filecoinOffer(
piece,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down Expand Up @@ -97,6 +98,7 @@ export async function filecoinSubmit(
piece,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down Expand Up @@ -140,6 +142,7 @@ export async function filecoinAccept(
piece,
},
proofs,
expiration: Infinity,
})

return await invocation.execute(conn)
Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-client/test/aggregator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('aggregator', () => {
nb: {
...invCap.nb,
},
expiration: Infinity,
})
.delegate()

Expand Down
1 change: 1 addition & 0 deletions packages/filecoin-client/test/dealer.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ describe('dealer', () => {
audience: context.id,
with: context.id.did(),
nb: invCap.nb,
expiration: Infinity,
})
.delegate()

Expand Down
2 changes: 2 additions & 0 deletions packages/filecoin-client/test/storefront.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ describe('storefront', () => {
audience: context.id,
with: context.id.did(),
nb: invCap.nb,
expiration: Infinity,
})
.delegate()

Expand All @@ -58,6 +59,7 @@ describe('storefront', () => {
audience: context.id,
with: context.id.did(),
nb: invCap.nb,
expiration: Infinity,
})
.delegate()

Expand Down

0 comments on commit ef10873

Please sign in to comment.