feat(markets): update to markets 0.5.1
update to markets 0.5.1, pass on params v1 correctly for retrieval
This commit is contained in:
@@ -507,6 +507,7 @@ type QueryOffer struct {
|
||||
|
||||
Size uint64
|
||||
MinPrice types.BigInt
|
||||
UnsealPrice types.BigInt
|
||||
PaymentInterval uint64
|
||||
PaymentIntervalIncrease uint64
|
||||
Miner address.Address
|
||||
@@ -519,6 +520,7 @@ func (o *QueryOffer) Order(client address.Address) RetrievalOrder {
|
||||
Piece: o.Piece,
|
||||
Size: o.Size,
|
||||
Total: o.MinPrice,
|
||||
UnsealPrice: o.UnsealPrice,
|
||||
PaymentInterval: o.PaymentInterval,
|
||||
PaymentIntervalIncrease: o.PaymentIntervalIncrease,
|
||||
Client: client,
|
||||
@@ -545,6 +547,7 @@ type RetrievalOrder struct {
|
||||
Size uint64
|
||||
// TODO: support offset
|
||||
Total types.BigInt
|
||||
UnsealPrice types.BigInt
|
||||
PaymentInterval uint64
|
||||
PaymentIntervalIncrease uint64
|
||||
Client address.Address
|
||||
|
||||
Reference in New Issue
Block a user