share/eds: Return errUnsupportedOperation
for Put/PutMany
in the Blockstore
once we update Bitswap
#1440
Labels
area:shares
Shares and samples
errUnsupportedOperation
for Put/PutMany
in the Blockstore
once we update Bitswap
#1440
Bitswap, in the version we are currently using, stores data in the
Blockstore
automatically. However, as we are moving to rely on EDS Store, the Blockstore from it only gives read-only access to data, which means that Bitswap is doing unnecessary writes, and forces us to succeed in those writes so that Bitswap is not failing.However, in the recent Bitswap changes, the storing functionality was removed, and now, it moved to the Blockservice layer. This means that after updating it, we can return the proper
errUnsupportedOperation
error and makePut/PutMany
explicitly fail when someone uses themThe text was updated successfully, but these errors were encountered: