lotus/cmd/lotus-shed
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
..
shedgen make jen 2022-05-23 15:11:46 -04:00
actor.go Change arg from minerAddress to minerID 2023-05-04 15:21:05 +02:00
address.go encode address into byte 2023-01-24 20:18:04 +13:00
balancer.go shed: simple wallet balancer util 2021-11-22 14:29:23 +01:00
balances.go lint 2023-03-12 15:50:10 +02:00
base16.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
base32.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
base64.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
bigint.go chore: fix imports 2022-06-14 17:00:51 +02:00
bitfield.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
blockmsgid.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
chain.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
chainwatch.go shed chainwatch: Appease the linter 2023-03-23 12:33:00 +01:00
cid.go cid -> bytes command 2023-01-17 12:19:04 -07:00
commp.go chore: fix imports 2022-06-14 17:00:51 +02:00
consensus.go cctx.Args().Len() to cctx.NArg() 2022-09-14 14:33:29 -04:00
cron-count.go chore: fix imports 2022-06-14 17:00:51 +02:00
datastore-vlog.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
datastore.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
deal-label.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
diff.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
election.go chore: fix imports 2022-06-14 17:00:51 +02:00
eth.go Add new lotus-shed command for computing eth hash for a given message cid (#10961) 2023-06-06 17:53:04 -05:00
export-car.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
export.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
fevmanalytics.go make lint happy 2023-03-31 15:16:24 -04:00
fip-0036.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
fr32.go storage: Move extern/sector-storage to storage/sealer 2022-06-14 20:03:38 +02:00
frozen-miners.go chore: fix imports 2022-06-14 17:00:51 +02:00
gas-estimation.go perf: eth: gas estimate set applyTsMessages false (#10546) 2023-03-29 14:25:40 -04:00
genesis-verify.go fix: chain: Fix flaky TestChainExportImport 2022-12-02 22:13:12 +01:00
hello.go Don't use go-libp2p-core 2022-08-25 14:20:41 -04:00
import-car.go chore: all: migrate from go-libipfs to boxo 2023-04-18 17:22:18 +02:00
indexes.go Move back to lotus-shed and add subcategory for indexes 2023-06-03 12:22:25 -05:00
invariants.go lint 2023-03-12 15:50:10 +02:00
itestd.go Bump http-server-timeout default to 30s 2022-11-29 14:38:44 +00:00
jwt.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
keyinfo.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
ledger.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
main.go Move back to lotus-shed and add subcategory for indexes 2023-06-03 12:22:25 -05:00
market.go feat: shed: refactor market cron-state command 2023-04-24 11:02:43 -04:00
math.go chore: fix imports 2022-06-14 17:00:51 +02:00
mempool-stats.go Bump http-server-timeout default to 30s 2022-11-29 14:38:44 +00:00
migrations.go shed: migrations: add reminder about continuity testing tool 2023-04-26 09:50:16 -04:00
miner-multisig.go Update go-state-types 2022-12-14 19:33:47 -05:00
miner-peerid.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
miner-types.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
miner.go Fix lint after merge 2023-04-23 15:43:53 -06:00
misc.go chore: fix imports 2022-06-14 17:00:51 +02:00
mismatches.go chore: deps: update to FVM 3.3.1 2023-05-01 10:37:43 -04:00
mpool.go chore: fix imports 2022-06-14 17:00:51 +02:00
msg.go Merge branch 'master' into adlrocha/cns-iface-master 2022-11-22 10:28:18 +01:00
msig.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
nonce-fix.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
params.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
postfind.go chore: fix imports 2022-06-14 17:00:51 +02:00
proofs.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
pruning.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
rpc.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
sectors.go fix tests/lint 2023-05-23 12:26:13 +02:00
send-csv.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
signatures.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
splitstore.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
state-stats.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
stateroot-stats.go cctx.Args().Len() to cctx.NArg() 2022-09-14 14:33:29 -04:00
sync.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
terminations.go Revert "Standardize path variable" 2023-02-15 11:09:24 -05:00
verifreg.go make ledger sign work 2023-05-17 22:01:04 -04:00