Skip to content

release: v0.0.4#107

Merged
alanshaw merged 1 commit intomainfrom
release/v0.0.4
Jun 11, 2025
Merged

release: v0.0.4#107
alanshaw merged 1 commit intomainfrom
release/v0.0.4

Conversation

@alanshaw
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

Suggested version: 0.0.4

Comparing to: v0.0.3 (diff)

Changes in configuration file(s):

diff --git a/go.mod b/go.mod
index e525023..67b0b29 100644
--- a/go.mod
+++ b/go.mod
@@ -1,10 +1,9 @@
-module github.com/storacha/storage
+module github.com/storacha/piri
 
 go 1.23.3
 
 require (
 	github.com/aws/aws-lambda-go v1.47.0
-	github.com/aws/aws-sdk-go v1.55.6
 	github.com/aws/aws-sdk-go-v2 v1.34.0
 	github.com/aws/aws-sdk-go-v2/config v1.28.3
 	github.com/aws/aws-sdk-go-v2/credentials v1.17.44
@@ -20,6 +19,8 @@ require (
 	github.com/filecoin-project/go-commp-utils/nonffi v0.0.0-20240802040721-2a04ffc8ffe8
 	github.com/filecoin-project/lotus v1.32.0-rc1
 	github.com/getsentry/sentry-go v0.31.1
+	github.com/glebarez/go-sqlite v1.21.2
+	github.com/glebarez/sqlite v1.11.0
 	github.com/golang-jwt/jwt/v4 v4.5.2
 	github.com/ipfs/go-cid v0.5.0
 	github.com/ipfs/go-datastore v0.6.0
@@ -27,8 +28,8 @@ require (
 	github.com/ipfs/go-log/v2 v2.5.1
 	github.com/ipld/go-ipld-prime v0.21.1-0.20240917223228-6148356a4c2e
 	github.com/ipni/go-libipni v0.6.16
-	github.com/jackc/pgconn v1.14.3
 	github.com/labstack/echo/v4 v4.13.3
+	github.com/labstack/gommon v0.4.2
 	github.com/libp2p/go-libp2p v0.39.1
 	github.com/multiformats/go-multiaddr v0.14.0
 	github.com/multiformats/go-multibase v0.2.0
@@ -36,15 +37,14 @@ require (
 	github.com/ncruces/go-sqlite3 v0.24.1
 	github.com/samber/lo v1.39.0
 	github.com/snadrus/must v0.0.0-20240605044437-98cedd57f8eb
-	github.com/storacha/go-libstoracha v0.0.2
+	github.com/storacha/go-libstoracha v0.0.5
 	github.com/storacha/go-ucanto v0.3.0
 	github.com/stretchr/testify v1.10.0
 	github.com/urfave/cli/v2 v2.27.5
 	go.uber.org/mock v0.5.0
 	gorm.io/datatypes v1.2.5
-	gorm.io/driver/postgres v1.5.7
-	gorm.io/gorm v1.25.11
-
+	gorm.io/gorm v1.26.1
+	modernc.org/sqlite v1.23.1
 )
 
 require (
@@ -52,6 +52,7 @@ require (
 	filippo.io/edwards25519 v1.1.0 // indirect
 	github.com/Microsoft/go-winio v0.6.2 // indirect
 	github.com/StackExchange/wmi v1.2.1 // indirect
+	github.com/aws/aws-sdk-go v1.55.7 // indirect
 	github.com/bahlo/generic-list-go v0.2.0 // indirect
 	github.com/benbjohnson/clock v1.3.5 // indirect
 	github.com/beorn7/perks v1.0.1 // indirect
@@ -63,6 +64,7 @@ require (
 	github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
 	github.com/crate-crypto/go-kzg-4844 v1.1.0 // indirect
 	github.com/deckarep/golang-set/v2 v2.6.0 // indirect
+	github.com/dustin/go-humanize v1.0.1 // indirect
 	github.com/ethereum/c-kzg-4844 v1.0.0 // indirect
 	github.com/ethereum/go-verkle v0.2.2 // indirect
 	github.com/filecoin-project/go-amt-ipld/v2 v2.1.0 // indirect
@@ -97,17 +99,9 @@ require (
 	github.com/invopop/jsonschema v0.12.0 // indirect
 	github.com/ipfs/boxo v0.21.0 // indirect
 	github.com/ipld/go-car/v2 v2.13.1 // indirect
-	github.com/jackc/chunkreader/v2 v2.0.1 // indirect
-	github.com/jackc/pgio v1.0.0 // indirect
-	github.com/jackc/pgpassfile v1.0.0 // indirect
-	github.com/jackc/pgproto3/v2 v2.3.3 // indirect
-	github.com/jackc/pgservicefile v0.0.0-20231201235250-de7065d80cb9 // indirect
-	github.com/jackc/pgx/v5 v5.6.0 // indirect
-	github.com/jackc/puddle/v2 v2.2.1 // indirect
 	github.com/jinzhu/inflection v1.0.0 // indirect
 	github.com/jinzhu/now v1.1.5 // indirect
 	github.com/klauspost/compress v1.17.11 // indirect
-	github.com/labstack/gommon v0.4.2 // indirect
 	github.com/libp2p/go-flow-metrics v0.2.0 // indirect
 	github.com/magefile/mage v1.9.0 // indirect
 	github.com/mailru/easyjson v0.7.7 // indirect
@@ -124,6 +118,7 @@ require (
 	github.com/prometheus/statsd_exporter v0.22.7 // indirect
 	github.com/puzpuzpuz/xsync/v2 v2.4.0 // indirect
 	github.com/raulk/clock v1.1.0 // indirect
+	github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
 	github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
 	github.com/supranational/blst v0.3.14 // indirect
 	github.com/tetratelabs/wazero v1.9.0 // indirect
@@ -145,6 +140,11 @@ require (
 	golang.org/x/time v0.9.0 // indirect
 	gopkg.in/yaml.v2 v2.4.0 // indirect
 	gorm.io/driver/mysql v1.5.6 // indirect
+	gorm.io/driver/postgres v1.5.7 // indirect
+	gorm.io/driver/sqlite v1.5.7 // indirect
+	modernc.org/libc v1.22.5 // indirect
+	modernc.org/mathutil v1.5.0 // indirect
+	modernc.org/memory v1.5.0 // indirect
 	rsc.io/tmplfunc v0.0.3 // indirect
 )
 
@@ -240,7 +240,6 @@ require (
 	google.golang.org/protobuf v1.36.5 // indirect
 	gopkg.in/yaml.v3 v3.0.1 // indirect
 	lukechampine.com/blake3 v1.3.0 // indirect
-
 )
 
 replace google.golang.org/genproto => google.golang.org/genproto v0.0.0-20240617180043-68d350f18fd4

gorelease says:

# github.com/storacha/storage/cmd
## incompatible changes
CreateSignerKeyPair: changed from func(github.com/storacha/storage/cmd/enum.KeyFormat) (github.com/storacha/go-ucanto/principal.Signer, []byte, error) to func(github.com/storacha/piri/cmd/enum.KeyFormat) (github.com/storacha/go-ucanto/principal.Signer, []byte, error)
## compatible changes
JSONFileToPEM: added
JsonKey: added
MarshalJSONKey: added
MarshalPEMKey: added
PEMFileToJSON: added
WalletDir: added

# github.com/storacha/storage/cmd/lambda
## incompatible changes
HTTPHandlerBuilder: changed from func(github.com/storacha/storage/pkg/aws.Config) (net/http.Handler, error) to func(github.com/storacha/piri/pkg/aws.Config) (net/http.Handler, error)
SQSEventHandlerBuilder: changed from func(github.com/storacha/storage/pkg/aws.Config) (SQSEventHandler, error) to func(github.com/storacha/piri/pkg/aws.Config) (SQSEventHandler, error)

# github.com/storacha/storage/cmd/lambda/getblob
## incompatible changes
package removed

# github.com/storacha/storage/pkg/aws
## incompatible changes
(*DynamoAllocationStore).List: changed from func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation, error) to func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation, error)
(*DynamoAllocationStore).Put: changed from func(context.Context, github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation) error to func(context.Context, github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation) error
(*PDP).Aggregator: changed from func() github.com/storacha/storage/pkg/pdp/aggregator.Aggregator to func() github.com/storacha/piri/pkg/pdp/aggregator.Aggregator
(*PDP).PieceAdder: changed from func() github.com/storacha/storage/pkg/pdp/pieceadder.PieceAdder to func() github.com/storacha/piri/pkg/pdp/pieceadder.PieceAdder
(*PDP).PieceFinder: changed from func() github.com/storacha/storage/pkg/pdp/piecefinder.PieceFinder to func() github.com/storacha/piri/pkg/pdp/piecefinder.PieceFinder
(*S3BlobStore).Get: changed from func(context.Context, github.com/multiformats/go-multihash.Multihash, ...github.com/storacha/storage/pkg/store/blobstore.GetOption) (github.com/storacha/storage/pkg/store/blobstore.Object, error) to func(context.Context, github.com/multiformats/go-multihash.Multihash, ...github.com/storacha/piri/pkg/store/blobstore.GetOption) (github.com/storacha/piri/pkg/store/blobstore.Object, error)
(*S3BlobStore).PresignClient: changed from func() github.com/storacha/storage/pkg/presigner.RequestPresigner to func() github.com/storacha/piri/pkg/presigner.RequestPresigner
Config.AnnounceURL: removed
Construct: changed from func(Config) (github.com/storacha/storage/pkg/service/storage.Service, error) to func(Config) (github.com/storacha/piri/pkg/service/storage.Service, error)
## compatible changes
Config.IPNIAnnounceURLs: added

# github.com/storacha/piri/pkg/database
## compatible changes
package added

# github.com/storacha/piri/pkg/database/gormdb
## compatible changes
package added

# github.com/storacha/piri/pkg/database/sqlitedb
## compatible changes
package added

# github.com/storacha/storage/pkg/pdp
## incompatible changes
(*PDPService).Aggregator: changed from func() github.com/storacha/storage/pkg/pdp/aggregator.Aggregator to func() github.com/storacha/piri/pkg/pdp/aggregator.Aggregator
(*PDPService).PieceAdder: changed from func() github.com/storacha/storage/pkg/pdp/pieceadder.PieceAdder to func() github.com/storacha/piri/pkg/pdp/pieceadder.PieceAdder
(*PDPService).PieceFinder: changed from func() github.com/storacha/storage/pkg/pdp/piecefinder.PieceFinder to func() github.com/storacha/piri/pkg/pdp/piecefinder.PieceFinder
NewLocalPDPService: removed
NewRemotePDPService: changed from func(github.com/ipfs/go-datastore.Datastore, *database/sql.DB, *github.com/storacha/storage/pkg/pdp/curio.Client, uint64, github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore) (*PDPService, error) to func(github.com/ipfs/go-datastore.Datastore, string, *github.com/storacha/piri/pkg/pdp/curio.Client, uint64, github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore) (*PDPService, error)
NewServer: changed from func(context.Context, string, int, string, string, string, github.com/ethereum/go-ethereum/common.Address) (*Server, error) to func(context.Context, string, int, string, string, github.com/ethereum/go-ethereum/common.Address, *github.com/storacha/piri/pkg/wallet.LocalWallet) (*Server, error)
PDP.Aggregator: changed from func() github.com/storacha/storage/pkg/pdp/aggregator.Aggregator to func() github.com/storacha/piri/pkg/pdp/aggregator.Aggregator
PDP.PieceAdder: changed from func() github.com/storacha/storage/pkg/pdp/pieceadder.PieceAdder to func() github.com/storacha/piri/pkg/pdp/pieceadder.PieceAdder
PDP.PieceFinder: changed from func() github.com/storacha/storage/pkg/pdp/piecefinder.PieceFinder to func() github.com/storacha/piri/pkg/pdp/piecefinder.PieceFinder

# github.com/storacha/storage/pkg/pdp/aggregator
## incompatible changes
(*BufferingAggregator).AggregatePiece: changed from func(github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, *github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, *github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
(*BufferingAggregator).AggregatePieces: changed from func(github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
BufferedAggregator.AggregatePiece: changed from func(github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, *github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, *github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
BufferedAggregator.AggregatePieces: changed from func(github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, []github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
InProgressWorkspace.GetBuffer: changed from func(context.Context) (github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer, error) to func(context.Context) (github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer, error)
InProgressWorkspace.PutBuffer: changed from func(context.Context, github.com/storacha/storage/pkg/pdp/aggregator/fns.Buffer) error to func(context.Context, github.com/storacha/piri/pkg/pdp/aggregator/fns.Buffer) error
NewAggregateSubmitteer: changed from func(uint64, AggregateStore, *github.com/storacha/storage/pkg/pdp/curio.Client, LinkQueue) *AggregateSubmitter to func(uint64, AggregateStore, *github.com/storacha/piri/pkg/pdp/curio.Client, LinkQueue) *AggregateSubmitter
NewLocal: changed from func(github.com/ipfs/go-datastore.Datastore, *database/sql.DB, *github.com/storacha/storage/pkg/pdp/curio.Client, uint64, github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore) (*LocalAggregator, error) to func(github.com/ipfs/go-datastore.Datastore, string, *github.com/storacha/piri/pkg/pdp/curio.Client, uint64, github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore) (*LocalAggregator, error)
NewPieceAccepter: changed from func(github.com/storacha/go-ucanto/ucan.Signer, AggregateStore, github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore) *PieceAccepter to func(github.com/storacha/go-ucanto/ucan.Signer, AggregateStore, github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore) *PieceAccepter
github.com/storacha/storage/internal/ipldstore.KVStore[github.com/ipld/go-ipld-prime/datamodel.Link, github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate].Get: changed from func(context.Context, github.com/ipld/go-ipld-prime/datamodel.Link) (github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(context.Context, github.com/ipld/go-ipld-prime/datamodel.Link) (github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
github.com/storacha/storage/internal/ipldstore.KVStore[github.com/ipld/go-ipld-prime/datamodel.Link, github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate].Put: changed from func(context.Context, github.com/ipld/go-ipld-prime/datamodel.Link, github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate) error to func(context.Context, github.com/ipld/go-ipld-prime/datamodel.Link, github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate) error

# github.com/storacha/storage/pkg/pdp/aggregator/aggregate
## incompatible changes
Aggregate.ToCurioAddRoot: changed from func() github.com/storacha/storage/pkg/pdp/curio.AddRootRequest to func() github.com/storacha/piri/pkg/pdp/curio.AddRootRequest

# github.com/storacha/storage/pkg/pdp/aggregator/fns
## incompatible changes
AggregatePiece: changed from func(Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (Buffer, *github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(Buffer, github.com/storacha/go-libstoracha/piece/piece.PieceLink) (Buffer, *github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
AggregatePieces: changed from func(Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (Buffer, []github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate, error) to func(Buffer, []github.com/storacha/go-libstoracha/piece/piece.PieceLink) (Buffer, []github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate, error)
GenerateReceipts: changed from func(github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate) ([]github.com/storacha/go-ucanto/core/receipt.AnyReceipt, error) to func(github.com/storacha/go-ucanto/ucan.Signer, github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate) ([]github.com/storacha/go-ucanto/core/receipt.AnyReceipt, error)
GenerateReceiptsForAggregates: changed from func(github.com/storacha/go-ucanto/ucan.Signer, []github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate) ([]github.com/storacha/go-ucanto/core/receipt.AnyReceipt, error) to func(github.com/storacha/go-ucanto/ucan.Signer, []github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate) ([]github.com/storacha/go-ucanto/core/receipt.AnyReceipt, error)
SubmitAggregates: changed from func(context.Context, *github.com/storacha/storage/pkg/pdp/curio.Client, uint64, []github.com/storacha/storage/pkg/pdp/aggregator/aggregate.Aggregate) error to func(context.Context, *github.com/storacha/piri/pkg/pdp/curio.Client, uint64, []github.com/storacha/piri/pkg/pdp/aggregator/aggregate.Aggregate) error

# github.com/storacha/storage/pkg/pdp/aggregator/jobqueue
## incompatible changes
Config.Logger: changed from github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/worker.StandardLogger to github.com/storacha/piri/pkg/pdp/aggregator/jobqueue/worker.StandardLogger
New: changed from func(string, *database/sql.DB, github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/serializer.Serializer[T], ...Option) (*JobQueue[T], error) to func(string, *database/sql.DB, github.com/storacha/piri/pkg/pdp/aggregator/jobqueue/serializer.Serializer[T], ...Option) (*JobQueue[T], error)
NewInMemoryDB: removed
WithLogger: changed from func(github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/worker.StandardLogger) Option to func(github.com/storacha/piri/pkg/pdp/aggregator/jobqueue/worker.StandardLogger) Option

# github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/worker
## incompatible changes
New: changed from func(*github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/queue.Queue, github.com/storacha/storage/pkg/pdp/aggregator/jobqueue/serializer.Serializer[T], ...Option) *Worker[T] to func(*github.com/storacha/piri/pkg/pdp/aggregator/jobqueue/queue.Queue, github.com/storacha/piri/pkg/pdp/aggregator/jobqueue/serializer.Serializer[T], ...Option) *Worker[T]

# github.com/storacha/storage/pkg/pdp/api
## incompatible changes
PDP.Service: changed from *github.com/storacha/storage/pkg/pdp/service.PDPService to *github.com/storacha/piri/pkg/pdp/service.PDPService
## compatible changes
AddRootsPayload: added

# github.com/storacha/piri/pkg/pdp/api/middleware
## compatible changes
package added

# github.com/storacha/storage/pkg/pdp/pieceadder
## incompatible changes
NewCurioAdder: changed from func(github.com/storacha/storage/pkg/pdp/curio.PDPClient) PieceAdder to func(github.com/storacha/piri/pkg/pdp/curio.PDPClient) PieceAdder

# github.com/storacha/storage/pkg/pdp/piecefinder
## incompatible changes
NewCurioFinder: changed from func(github.com/storacha/storage/pkg/pdp/curio.PDPClient, ...Option) PieceFinder to func(github.com/storacha/piri/pkg/pdp/curio.PDPClient, ...Option) PieceFinder

# github.com/storacha/storage/pkg/pdp/scheduler
## incompatible changes
IsSerializationError: removed
IsUniqueConstraintError: removed
NewEngine: changed from func(*gorm.io/gorm.DB, []TaskInterface) (*TaskEngine, error) to func(*gorm.io/gorm.DB, []TaskInterface, ...Option) (*TaskEngine, error)
TaskTypeDetails.IAmBored: removed
TaskTypeDetails.Max: removed
WorkSourceIAmBored: removed
WorkSourcePoller: removed
WorkSourceRecover: removed
## compatible changes
(*TaskEngine).SessionID: added
NewPeriodicScheduler: added
Option: added
PeriodicScheduler: added
TaskID: changed from int to int64
TaskTypeDetails.PeriodicScheduler: added
WithSessionID: added

# github.com/storacha/storage/pkg/pdp/service
## incompatible changes
(*PDPService).Storage: changed from func() github.com/storacha/storage/pkg/store/blobstore.Blobstore to func() github.com/storacha/piri/pkg/store/blobstore.Blobstore
ContractClient: removed
NewPDPService: changed from func(gorm.io/gorm.Dialector, github.com/ethereum/go-ethereum/common.Address, github.com/storacha/storage/pkg/wallet.Wallet, github.com/storacha/storage/pkg/store/blobstore.Blobstore, github.com/storacha/storage/pkg/pdp/store.Stash, ChainClient, ContractClient) (*PDPService, error) to func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/common.Address, github.com/storacha/piri/pkg/wallet.Wallet, github.com/storacha/piri/pkg/store/blobstore.Blobstore, github.com/storacha/piri/pkg/pdp/store.Stash, ChainClient, EthClient, github.com/storacha/piri/pkg/pdp/service/contract.PDP) (*PDPService, error)
PiecePrepareRequest.Check: changed from github.com/storacha/storage/pkg/pdp/service/types.PieceHash to github.com/storacha/piri/pkg/pdp/service/types.PieceHash
## compatible changes
EthClient: added

# github.com/storacha/storage/pkg/pdp/service/contract
## incompatible changes
CidsCid: removed
IPDPProvingSchedule: removed
IPDPProvingScheduleABI: removed
IPDPProvingScheduleCaller: removed
IPDPProvingScheduleCallerRaw: removed
IPDPProvingScheduleCallerSession: removed
IPDPProvingScheduleFilterer: removed
IPDPProvingScheduleMetaData: removed
IPDPProvingScheduleRaw: removed
IPDPProvingScheduleSession: removed
IPDPProvingScheduleTransactor: removed
IPDPProvingScheduleTransactorRaw: removed
IPDPProvingScheduleTransactorSession: removed
NewIPDPProvingSchedule: removed
NewIPDPProvingScheduleCaller: removed
NewIPDPProvingScheduleFilterer: removed
NewIPDPProvingScheduleTransactor: removed
NewPDPVerifier: removed
NewPDPVerifierCaller: removed
NewPDPVerifierFilterer: removed
NewPDPVerifierTransactor: removed
PDPVerifier: changed from struct{PDPVerifierCaller; PDPVerifierTransactor; PDPVerifierFilterer} to interface{CalculateProofFee(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int, estimatedGasFee *math/big.Int) (*math/big.Int, error); FindRootIds(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int, leafIndexs []*math/big.Int) ([]github.com/storacha/piri/pkg/pdp/service/contract/internal.PDPVerifierRootIdAndOffset, error); GetChallengeFinality(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts) (*math/big.Int, error); GetChallengeRange(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int) (*math/big.Int, error); GetNextChallengeEpoch(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int) (*math/big.Int, error); GetProofSetListener(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int) (github.com/ethereum/go-ethereum/common.Address, error); GetProofSetOwner(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int) (github.com/ethereum/go-ethereum/common.Address, github.com/ethereum/go-ethereum/common.Address, error); GetScheduledRemovals(opts *github.com/ethereum/go-ethereum/accounts/abi/bind.CallOpts, setId *math/big.Int) ([]*math/big.Int, error)}
PDPVerifierABI: removed
PDPVerifierCaller: removed
PDPVerifierCallerRaw: removed
PDPVerifierCallerSession: removed
PDPVerifierDebug: removed
PDPVerifierDebugIterator: removed
PDPVerifierFilterer: removed
PDPVerifierInitialized: removed
PDPVerifierInitializedIterator: removed
PDPVerifierMetaData: changed from var to func
PDPVerifierNextProvingPeriod: removed
PDPVerifierNextProvingPeriodIterator: removed
PDPVerifierOwnershipTransferred: removed
PDPVerifierOwnershipTransferredIterator: removed
PDPVerifierPossessionProven: removed
PDPVerifierPossessionProvenIterator: removed
PDPVerifierProof: changed from PDPVerifierProof to github.com/storacha/piri/pkg/pdp/service/contract/internal.PDPVerifierProof
PDPVerifierProofFeePaid: removed
PDPVerifierProofFeePaidIterator: removed
PDPVerifierProofSetCreated: removed
PDPVerifierProofSetCreatedIterator: removed
PDPVerifierProofSetDeleted: removed
PDPVerifierProofSetDeletedIterator: removed
PDPVerifierProofSetEmpty: removed
PDPVerifierProofSetEmptyIterator: removed
PDPVerifierProofSetOwnerChanged: removed
PDPVerifierProofSetOwnerChangedIterator: removed
PDPVerifierRaw: removed
PDPVerifierRootData: removed
PDPVerifierRootIdAndOffset: removed
PDPVerifierRootsAdded: removed
PDPVerifierRootsAddedIterator: removed
PDPVerifierRootsRemoved: removed
PDPVerifierRootsRemovedIterator: removed
PDPVerifierSession: removed
PDPVerifierTransactor: removed
PDPVerifierTransactorRaw: removed
PDPVerifierTransactorSession: removed
PDPVerifierUpgraded: removed
PDPVerifierUpgradedIterator: removed
## compatible changes
PDP: added
PDPContract: added
PDPProvingSchedule: added

# github.com/storacha/piri/pkg/pdp/service/contract/mocks
## compatible changes
package added

# github.com/storacha/storage/pkg/pdp/service/models
## incompatible changes
Task.AddedBy: changed from int to string
Task.OwnerID: removed
TaskHistory.CompletedByHostAndPort: removed
TaskHistory.TaskID: changed from int to int64
## compatible changes
AutoMigrateDB: added
Task.Retries: added
Task.SessionID: added
TaskHistory.CompletedBySessionID: added

# github.com/storacha/storage/pkg/pdp/tasks
## incompatible changes
(*InitProvingPeriodTask).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*InitProvingPeriodTask).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*InitProvingPeriodTask).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
(*NextProvingPeriodTask).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*NextProvingPeriodTask).CanAccept: changed from func([]github.com/storacha/storage/pkg/pdp/scheduler.TaskID, *github.com/storacha/storage/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/storage/pkg/pdp/scheduler.TaskID, error) to func([]github.com/storacha/piri/pkg/pdp/scheduler.TaskID, *github.com/storacha/piri/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/piri/pkg/pdp/scheduler.TaskID, error)
(*NextProvingPeriodTask).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*NextProvingPeriodTask).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
(*PDPNotifyTask).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*PDPNotifyTask).CanAccept: changed from func([]github.com/storacha/storage/pkg/pdp/scheduler.TaskID, *github.com/storacha/storage/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/storage/pkg/pdp/scheduler.TaskID, error) to func([]github.com/storacha/piri/pkg/pdp/scheduler.TaskID, *github.com/storacha/piri/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/piri/pkg/pdp/scheduler.TaskID, error)
(*PDPNotifyTask).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*PDPNotifyTask).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
(*ParkPieceTask).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*ParkPieceTask).CanAccept: changed from func([]github.com/storacha/storage/pkg/pdp/scheduler.TaskID, *github.com/storacha/storage/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/storage/pkg/pdp/scheduler.TaskID, error) to func([]github.com/storacha/piri/pkg/pdp/scheduler.TaskID, *github.com/storacha/piri/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/piri/pkg/pdp/scheduler.TaskID, error)
(*ParkPieceTask).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*ParkPieceTask).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
(*ProveTask).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*ProveTask).CanAccept: changed from func([]github.com/storacha/storage/pkg/pdp/scheduler.TaskID, *github.com/storacha/storage/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/storage/pkg/pdp/scheduler.TaskID, error) to func([]github.com/storacha/piri/pkg/pdp/scheduler.TaskID, *github.com/storacha/piri/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/piri/pkg/pdp/scheduler.TaskID, error)
(*ProveTask).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*ProveTask).GenerateProofs: changed from func(context.Context, *github.com/storacha/storage/pkg/pdp/service/contract.PDPVerifier, int64, github.com/filecoin-project/go-state-types/abi.Randomness, int) ([]github.com/storacha/storage/pkg/pdp/service/contract.PDPVerifierProof, error) to func(context.Context, github.com/storacha/piri/pkg/pdp/service/contract.PDPVerifier, int64, github.com/filecoin-project/go-state-types/abi.Randomness, int) ([]github.com/storacha/piri/pkg/pdp/service/contract.PDPVerifierProof, error)
(*ProveTask).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
(*SendTaskETH).Adder: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc) to func(github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc)
(*SendTaskETH).CanAccept: changed from func([]github.com/storacha/storage/pkg/pdp/scheduler.TaskID, *github.com/storacha/storage/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/storage/pkg/pdp/scheduler.TaskID, error) to func([]github.com/storacha/piri/pkg/pdp/scheduler.TaskID, *github.com/storacha/piri/pkg/pdp/scheduler.TaskEngine) (*github.com/storacha/piri/pkg/pdp/scheduler.TaskID, error)
(*SendTaskETH).Do: changed from func(github.com/storacha/storage/pkg/pdp/scheduler.TaskID) (bool, error) to func(github.com/storacha/piri/pkg/pdp/scheduler.TaskID) (bool, error)
(*SendTaskETH).TypeDetails: changed from func() github.com/storacha/storage/pkg/pdp/scheduler.TaskTypeDetails to func() github.com/storacha/piri/pkg/pdp/scheduler.TaskTypeDetails
NewInitProvingPeriodTask: changed from func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, ChainAPI, *github.com/storacha/storage/pkg/pdp/scheduler.Chain, github.com/storacha/storage/pkg/pdp/ethereum.Sender) (*InitProvingPeriodTask, error) to func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, github.com/storacha/piri/pkg/pdp/service/contract.PDP, ChainAPI, *github.com/storacha/piri/pkg/pdp/scheduler.Chain, github.com/storacha/piri/pkg/pdp/ethereum.Sender) (*InitProvingPeriodTask, error)
NewMessageWatcherEth: changed from func(*gorm.io/gorm.DB, *github.com/storacha/storage/pkg/pdp/scheduler.Chain, MessageWatcherEthClient) (*MessageWatcherEth, error) to func(*gorm.io/gorm.DB, *github.com/storacha/piri/pkg/pdp/scheduler.Chain, MessageWatcherEthClient) (*MessageWatcherEth, error)
NewNextProvingPeriodTask: changed from func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, ChainAPI, *github.com/storacha/storage/pkg/pdp/scheduler.Chain, github.com/storacha/storage/pkg/pdp/ethereum.Sender) (*NextProvingPeriodTask, error) to func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, github.com/storacha/piri/pkg/pdp/service/contract.PDP, ChainAPI, *github.com/storacha/piri/pkg/pdp/scheduler.Chain, github.com/storacha/piri/pkg/pdp/ethereum.Sender) (*NextProvingPeriodTask, error)
NewProveTask: changed from func(*github.com/storacha/storage/pkg/pdp/scheduler.Chain, *gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, ChainAPI, github.com/storacha/storage/pkg/pdp/ethereum.Sender, github.com/storacha/storage/pkg/store/blobstore.Blobstore) (*ProveTask, error) to func(*github.com/storacha/piri/pkg/pdp/scheduler.Chain, *gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, github.com/storacha/piri/pkg/pdp/service/contract.PDP, ChainAPI, github.com/storacha/piri/pkg/pdp/ethereum.Sender, github.com/storacha/piri/pkg/store/blobstore.Blobstore) (*ProveTask, error)
NewSenderETH: changed from func(SenderETHClient, github.com/storacha/storage/pkg/wallet.Wallet, *gorm.io/gorm.DB) (*SenderETH, *SendTaskETH) to func(SenderETHClient, github.com/storacha/piri/pkg/wallet.Wallet, *gorm.io/gorm.DB) (*SenderETH, *SendTaskETH)
NewStorePieceTask: changed from func(*gorm.io/gorm.DB, github.com/storacha/storage/pkg/store/blobstore.Blobstore, int) (*ParkPieceTask, error) to func(*gorm.io/gorm.DB, github.com/storacha/piri/pkg/store/blobstore.Blobstore, int) (*ParkPieceTask, error)
NewWatcherCreate: changed from func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, *github.com/storacha/storage/pkg/pdp/scheduler.Chain) error to func(*gorm.io/gorm.DB, github.com/ethereum/go-ethereum/accounts/abi/bind.ContractBackend, github.com/storacha/piri/pkg/pdp/service/contract.PDP, *github.com/storacha/piri/pkg/pdp/scheduler.Chain) error
NewWatcherRootAdd: changed from func(*gorm.io/gorm.DB, *github.com/storacha/storage/pkg/pdp/scheduler.Chain) error to func(*gorm.io/gorm.DB, *github.com/storacha/piri/pkg/pdp/scheduler.Chain, github.com/storacha/piri/pkg/pdp/service/contract.PDP) error
ParkPieceTask.TF: changed from github.com/storacha/storage/pkg/pdp/promise.Promise[github.com/storacha/storage/pkg/pdp/scheduler.AddTaskFunc] to github.com/storacha/piri/pkg/pdp/promise.Promise[github.com/storacha/piri/pkg/pdp/scheduler.AddTaskFunc]
Verify: changed from func(github.com/storacha/storage/pkg/pdp/service/contract.PDPVerifierProof, [32]byte, uint64) bool to func(github.com/storacha/piri/pkg/pdp/service/contract.PDPVerifierProof, [32]byte, uint64) bool

# github.com/storacha/piri/pkg/pdp/testing
## compatible changes
package added

# github.com/storacha/storage/pkg/presets
## incompatible changes
AnnounceURL: removed
## compatible changes
IPNIAnnounceURLs: added

# github.com/storacha/storage/pkg/s3
## incompatible changes
package removed

# github.com/storacha/storage/pkg/server
## incompatible changes
ListenAndServe: changed from func(string, github.com/storacha/storage/pkg/service/storage.Service, ...github.com/storacha/go-ucanto/server.Option) error to func(string, github.com/storacha/piri/pkg/service/storage.Service, ...github.com/storacha/go-ucanto/server.Option) error
NewServer: changed from func(github.com/storacha/storage/pkg/service/storage.Service, ...github.com/storacha/go-ucanto/server.Option) (*net/http.ServeMux, error) to func(github.com/storacha/piri/pkg/service/storage.Service, ...github.com/storacha/go-ucanto/server.Option) (*net/http.ServeMux, error)

# github.com/storacha/storage/pkg/service/blobs
## incompatible changes
(*BlobService).Access: changed from func() github.com/storacha/storage/pkg/access.Access to func() github.com/storacha/piri/pkg/access.Access
(*BlobService).Allocations: changed from func() github.com/storacha/storage/pkg/store/allocationstore.AllocationStore to func() github.com/storacha/piri/pkg/store/allocationstore.AllocationStore
(*BlobService).Presigner: changed from func() github.com/storacha/storage/pkg/presigner.RequestPresigner to func() github.com/storacha/piri/pkg/presigner.RequestPresigner
(*BlobService).Store: changed from func() github.com/storacha/storage/pkg/store/blobstore.Blobstore to func() github.com/storacha/piri/pkg/store/blobstore.Blobstore
Blobs.Access: changed from func() github.com/storacha/storage/pkg/access.Access to func() github.com/storacha/piri/pkg/access.Access
Blobs.Allocations: changed from func() github.com/storacha/storage/pkg/store/allocationstore.AllocationStore to func() github.com/storacha/piri/pkg/store/allocationstore.AllocationStore
Blobs.Presigner: changed from func() github.com/storacha/storage/pkg/presigner.RequestPresigner to func() github.com/storacha/piri/pkg/presigner.RequestPresigner
Blobs.Store: changed from func() github.com/storacha/storage/pkg/store/blobstore.Blobstore to func() github.com/storacha/piri/pkg/store/blobstore.Blobstore
NewBlobGetHandler: changed from func(github.com/storacha/storage/pkg/store/blobstore.Blobstore) net/http.Handler to func(github.com/storacha/piri/pkg/store/blobstore.Blobstore) net/http.Handler
NewBlobPutHandler: changed from func(github.com/storacha/storage/pkg/presigner.RequestPresigner, github.com/storacha/storage/pkg/store/allocationstore.AllocationStore, github.com/storacha/storage/pkg/store/blobstore.Blobstore) net/http.Handler to func(github.com/storacha/piri/pkg/presigner.RequestPresigner, github.com/storacha/piri/pkg/store/allocationstore.AllocationStore, github.com/storacha/piri/pkg/store/blobstore.Blobstore) net/http.Handler
NewServer: changed from func(github.com/storacha/storage/pkg/presigner.RequestPresigner, github.com/storacha/storage/pkg/store/allocationstore.AllocationStore, github.com/storacha/storage/pkg/store/blobstore.Blobstore) (*Server, error) to func(github.com/storacha/piri/pkg/presigner.RequestPresigner, github.com/storacha/piri/pkg/store/allocationstore.AllocationStore, github.com/storacha/piri/pkg/store/blobstore.Blobstore) (*Server, error)
WithAccess: changed from func(github.com/storacha/storage/pkg/access.Access) Option to func(github.com/storacha/piri/pkg/access.Access) Option
WithAllocationStore: changed from func(github.com/storacha/storage/pkg/store/allocationstore.AllocationStore) Option to func(github.com/storacha/piri/pkg/store/allocationstore.AllocationStore) Option
WithBlobstore: changed from func(github.com/storacha/storage/pkg/store/blobstore.Blobstore) Option to func(github.com/storacha/piri/pkg/store/blobstore.Blobstore) Option
WithPresigner: changed from func(github.com/storacha/storage/pkg/presigner.RequestPresigner) Option to func(github.com/storacha/piri/pkg/presigner.RequestPresigner) Option

# github.com/storacha/storage/pkg/service/claims
## incompatible changes
(*ClaimService).Publisher: changed from func() github.com/storacha/storage/pkg/service/publisher.Publisher to func() github.com/storacha/piri/pkg/service/publisher.Publisher
(*ClaimService).Store: changed from func() github.com/storacha/storage/pkg/store/claimstore.ClaimStore to func() github.com/storacha/piri/pkg/store/claimstore.ClaimStore
Claims.Publisher: changed from func() github.com/storacha/storage/pkg/service/publisher.Publisher to func() github.com/storacha/piri/pkg/service/publisher.Publisher
Claims.Store: changed from func() github.com/storacha/storage/pkg/store/claimstore.ClaimStore to func() github.com/storacha/piri/pkg/store/claimstore.ClaimStore
New: changed from func(github.com/storacha/go-ucanto/principal.Signer, github.com/storacha/storage/pkg/store/claimstore.ClaimStore, github.com/storacha/go-libstoracha/ipnipublisher/store.PublisherStore, github.com/multiformats/go-multiaddr.Multiaddr, ...Option) (*ClaimService, error) to func(github.com/storacha/go-ucanto/principal.Signer, github.com/storacha/piri/pkg/store/claimstore.ClaimStore, github.com/storacha/go-libstoracha/ipnipublisher/store.PublisherStore, github.com/multiformats/go-multiaddr.Multiaddr, ...Option) (*ClaimService, error)
NewHandler: changed from func(github.com/storacha/storage/pkg/store/claimstore.ClaimStore) net/http.Handler to func(github.com/storacha/piri/pkg/store/claimstore.ClaimStore) net/http.Handler
NewServer: changed from func(github.com/storacha/storage/pkg/store/claimstore.ClaimStore) (*Server, error) to func(github.com/storacha/piri/pkg/store/claimstore.ClaimStore) (*Server, error)
## compatible changes
WithPublisherBlobAddress: added

# github.com/storacha/storage/pkg/service/publisher
## compatible changes
WithBlobAddress: added

# github.com/storacha/storage/pkg/service/replicator
## incompatible changes
(*Service).Replicate: changed from func(context.Context, *github.com/storacha/storage/pkg/service/storage/handlers/replica.TransferRequest) error to func(context.Context, *github.com/storacha/piri/pkg/service/storage/handlers/replica.TransferRequest) error
New: changed from func(github.com/storacha/go-ucanto/principal.Signer, github.com/storacha/storage/pkg/pdp.PDP, github.com/storacha/storage/pkg/service/blobs.Blobs, github.com/storacha/storage/pkg/service/claims.Claims, github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore, github.com/storacha/go-ucanto/client.Connection) (*Service, error) to func(github.com/storacha/go-ucanto/principal.Signer, github.com/storacha/piri/pkg/pdp.PDP, github.com/storacha/piri/pkg/service/blobs.Blobs, github.com/storacha/piri/pkg/service/claims.Claims, github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore, github.com/storacha/go-ucanto/client.Connection) (*Service, error)
Replicator.Replicate: changed from func(context.Context, *github.com/storacha/storage/pkg/service/storage/handlers/replica.TransferRequest) error to func(context.Context, *github.com/storacha/piri/pkg/service/storage/handlers/replica.TransferRequest) error

# github.com/storacha/storage/pkg/service/storage
## incompatible changes
(*StorageService).Blobs: changed from func() github.com/storacha/storage/pkg/service/blobs.Blobs to func() github.com/storacha/piri/pkg/service/blobs.Blobs
(*StorageService).Claims: changed from func() github.com/storacha/storage/pkg/service/claims.Claims to func() github.com/storacha/piri/pkg/service/claims.Claims
(*StorageService).PDP: changed from func() github.com/storacha/storage/pkg/pdp.PDP to func() github.com/storacha/piri/pkg/pdp.PDP
(*StorageService).Receipts: changed from func() github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore to func() github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore
(*StorageService).Replicator: changed from func() github.com/storacha/storage/pkg/service/replicator.Replicator to func() github.com/storacha/piri/pkg/service/replicator.Replicator
PDPConfig.Database: removed
PDPConfig.PDPService: changed from github.com/storacha/storage/pkg/pdp.PDP to github.com/storacha/piri/pkg/pdp.PDP
Service.Blobs: changed from func() github.com/storacha/storage/pkg/service/blobs.Blobs to func() github.com/storacha/piri/pkg/service/blobs.Blobs
Service.Claims: changed from func() github.com/storacha/storage/pkg/service/claims.Claims to func() github.com/storacha/piri/pkg/service/claims.Claims
Service.PDP: changed from func() github.com/storacha/storage/pkg/pdp.PDP to func() github.com/storacha/piri/pkg/pdp.PDP
Service.Receipts: changed from func() github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore to func() github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore
Service.Replicator: changed from func() github.com/storacha/storage/pkg/service/replicator.Replicator to func() github.com/storacha/piri/pkg/service/replicator.Replicator
WithAllocationStore: changed from func(github.com/storacha/storage/pkg/store/allocationstore.AllocationStore) Option to func(github.com/storacha/piri/pkg/store/allocationstore.AllocationStore) Option
WithBlobsAccess: changed from func(github.com/storacha/storage/pkg/access.Access) Option to func(github.com/storacha/piri/pkg/access.Access) Option
WithBlobsPresigner: changed from func(github.com/storacha/storage/pkg/presigner.RequestPresigner) Option to func(github.com/storacha/piri/pkg/presigner.RequestPresigner) Option
WithBlobstore: changed from func(github.com/storacha/storage/pkg/store/blobstore.Blobstore) Option to func(github.com/storacha/piri/pkg/store/blobstore.Blobstore) Option
WithClaimStore: changed from func(github.com/storacha/storage/pkg/store/claimstore.ClaimStore) Option to func(github.com/storacha/piri/pkg/store/claimstore.ClaimStore) Option
WithReceiptStore: changed from func(github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore) Option to func(github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore) Option
## compatible changes
PDPConfig.DatabasePath: added
WithPublisherBlobAddress: added

# github.com/storacha/storage/pkg/service/storage/handlers/blob
## incompatible changes
AcceptService.Blobs: changed from func() github.com/storacha/storage/pkg/service/blobs.Blobs to func() github.com/storacha/piri/pkg/service/blobs.Blobs
AcceptService.Claims: changed from func() github.com/storacha/storage/pkg/service/claims.Claims to func() github.com/storacha/piri/pkg/service/claims.Claims
AcceptService.PDP: changed from func() github.com/storacha/storage/pkg/pdp.PDP to func() github.com/storacha/piri/pkg/pdp.PDP
AllocateService.Blobs: changed from func() github.com/storacha/storage/pkg/service/blobs.Blobs to func() github.com/storacha/piri/pkg/service/blobs.Blobs
AllocateService.PDP: changed from func() github.com/storacha/storage/pkg/pdp.PDP to func() github.com/storacha/piri/pkg/pdp.PDP

# github.com/storacha/storage/pkg/service/storage/handlers/replica
## incompatible changes
TransferService.Blobs: changed from func() github.com/storacha/storage/pkg/service/blobs.Blobs to func() github.com/storacha/piri/pkg/service/blobs.Blobs
TransferService.Claims: changed from func() github.com/storacha/storage/pkg/service/claims.Claims to func() github.com/storacha/piri/pkg/service/claims.Claims
TransferService.PDP: changed from func() github.com/storacha/storage/pkg/pdp.PDP to func() github.com/storacha/piri/pkg/pdp.PDP
TransferService.Receipts: changed from func() github.com/storacha/storage/pkg/store/receiptstore.ReceiptStore to func() github.com/storacha/piri/pkg/store/receiptstore.ReceiptStore

# github.com/storacha/storage/pkg/store/allocationstore
## incompatible changes
(*DsAllocationStore).List: changed from func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation, error) to func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation, error)
(*DsAllocationStore).Put: changed from func(context.Context, github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation) error to func(context.Context, github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation) error
AllocationStore.List: changed from func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation, error) to func(context.Context, github.com/multiformats/go-multihash.Multihash) ([]github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation, error)
AllocationStore.Put: changed from func(context.Context, github.com/storacha/storage/pkg/store/allocationstore/allocation.Allocation) error to func(context.Context, github.com/storacha/piri/pkg/store/allocationstore/allocation.Allocation) error

# github.com/storacha/storage/pkg/store/blobstore
## compatible changes
NewTODOMapBlobstore: added
TODOMapBlobstore: added

# github.com/storacha/storage/pkg/store/keystore
## compatible changes
MemKeyStore: added
NewMemKeyStore: added

# github.com/storacha/storage/pkg/wallet
## incompatible changes
(*LocalWallet).Import: changed from func(context.Context, *github.com/storacha/storage/pkg/store/keystore.KeyInfo) (github.com/ethereum/go-ethereum/common.Address, error) to func(context.Context, *github.com/storacha/piri/pkg/store/keystore.KeyInfo) (github.com/ethereum/go-ethereum/common.Address, error)
Key.KeyInfo: changed from github.com/storacha/storage/pkg/store/keystore.KeyInfo to github.com/storacha/piri/pkg/store/keystore.KeyInfo
NewKey: changed from func(github.com/storacha/storage/pkg/store/keystore.KeyInfo) (*Key, error) to func(github.com/storacha/piri/pkg/store/keystore.KeyInfo) (*Key, error)
NewWallet: changed from func(github.com/storacha/storage/pkg/store/keystore.KeyStore) (*LocalWallet, error) to func(github.com/storacha/piri/pkg/store/keystore.KeyStore) (*LocalWallet, error)
Wallet.Import: changed from func(context.Context, *github.com/storacha/storage/pkg/store/keystore.KeyInfo) (github.com/ethereum/go-ethereum/common.Address, error) to func(context.Context, *github.com/storacha/piri/pkg/store/keystore.KeyInfo) (github.com/ethereum/go-ethereum/common.Address, error)

gocompat says:

HEAD is now at 45e3964 release: v0.0.3 (#70)
Previous HEAD position was 45e3964 release: v0.0.3 (#70)
Switched to branch 'main'
Your branch is up to date with 'origin/main'.

Cutting a Release (and modifying non-markdown files)

This PR is modifying both version.json and non-markdown files.
The Release Checker is not able to analyse files that are not checked in to main. This might cause the above analysis to be inaccurate.
Please consider performing all the code changes in a separate PR before cutting the release.

Automatically created GitHub Release

A draft GitHub Release has been created.
It is going to be published when this PR is merged.
You can modify its' body to include any release notes you wish to include with the release.

@alanshaw alanshaw merged commit 12548ef into main Jun 11, 2025
12 checks passed
@alanshaw alanshaw deleted the release/v0.0.4 branch June 11, 2025 09:56
@frrist
Copy link
Copy Markdown
Member

frrist commented Jun 11, 2025

humm, something appears wrong with the release artifacts, the binary in the *.tar file is named storage instead of piri.

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.

2 participants