lotus/lib
Jorropo 6c01310728
chore: migrate to boxo
This migrates everything except the `go-car` librairy: https://github.com/ipfs/boxo/issues/218#issuecomment-1529922103

I didn't migrated everything in the previous release because all the boxo code wasn't compatible with the go-ipld-prime one due to a an in flight (/ aftermath) revert of github.com/ipfs/go-block-format. go-block-format has been unmigrated since slight bellow absolutely everything depends on it that would have required everything to be moved on boxo or everything to optin into using boxo which were all deal breakers for different groups.

This worked fine because lotus's codebase could live hapely on the first multirepo setup however boost is now trying to use boxo's code with lotus's (still on multirepo) setup: https://filecoinproject.slack.com/archives/C03AQ3QAUG1/p1685022344779649

The alternative would be for boost to write shim types which just forward calls and return with the different interface definitions.

Btw why is that an issue in the first place is because unlike what go's duck typing model suggest interfaces are not transparent https://github.com/golang/go/issues/58112, interfaces are strongly typed but they have implicit narrowing. The issue is if you return an interface from an interface Go does not have a function definition to insert the implicit conversion thus instead the type checker complains you are not returning the right type.

Stubbing types were reverted https://github.com/ipfs/boxo/issues/218#issuecomment-1478650351

Last time I only migrated `go-bitswap` to `boxo/bitswap` because of the security issues and because we never had the interface return an interface problem (we had concrete wrappers where the implicit conversion took place).
2023-06-19 14:45:05 -07:00
..
addrutil Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
async fix lint 2021-09-02 18:45:18 +02:00
backupds refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
consensus/raft refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
httpreader httpreader: Make linter happy 2023-04-25 11:29:16 +02:00
increadtimeout
lazy feat: sched: Cache worker calls 2022-11-29 11:44:57 +01:00
lotuslog feat: config: Persistent subsystem log level config 2022-03-10 14:44:56 +01:00
must fix: ethtypes: Correct 'no uncles' hash in NewEthBlock 2023-02-06 14:38:48 +01:00
nullreader
oldpath chore: migrate to boxo 2023-06-19 14:45:05 -07:00
parmap
peermgr Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
readerutil storage: Weave end offset into unsealed reader code 2023-05-23 12:26:13 +02:00
result eth rpc: Params are optional in eth_subscribe 2023-01-31 11:08:51 +01:00
retry address review 2022-11-22 10:52:11 +01:00
rpcenc refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
shardedmutex Appease the linter 2023-05-19 20:02:47 +02:00
sigs Merge branch 'release/v1.20.0' into asr/merge-release-into-master 2023-01-20 17:32:29 -05:00
stati fix make gen 2022-08-29 16:25:30 +02:00
strle strle, sealing: address review 2022-08-25 10:19:39 -04:00
tablewriter fix make gen 2022-08-29 16:25:30 +02:00
tracing chore: fix imports 2022-06-14 17:00:51 +02:00
ulimit chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
unixfs chore: migrate to boxo 2023-06-19 14:45:05 -07:00