lotus/cli
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
..
util refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00
auth.go move APIInfoEnvVars, RepoFlags, APIFlags under RepoType 2022-03-03 16:45:11 +01:00
backup.go Update cli/backup.go 2023-02-09 16:50:15 +01:00
chain_test.go Invoker: Use MethodMeta from go-state-types 2022-10-19 15:53:26 -04:00
chain.go Update args 2023-05-03 19:37:08 +02:00
client_retr.go chore: migrate to boxo 2023-06-19 14:45:05 -07:00
client.go feat(deps): update to go-data-transfer v2, still wip 2023-03-07 11:44:29 -08:00
cmd.go NV18: Filecoin EVM runtime + Actor Events + EthAccount + EAM + f4 addressing (#9998) 2023-01-13 19:11:13 +00:00
disputer.go chore: cli 2023-01-25 13:13:56 +01:00
evm.go feat: cli: Add an EVM command to fetch a contract's bytecode 2023-03-10 10:52:13 -08:00
filplus.go Add cli command to get a list of claims 2022-12-15 01:07:47 -05:00
helper.go Set notifications for SIGTERM and SIGINT when we start the cli 2022-12-15 12:54:41 -05:00
info.go Add alerts to Lotus info cmd 2023-05-19 14:31:40 +02:00
init_test.go introduce message prototypes 2021-05-07 15:30:05 +02:00
log.go cli for checking alerts 2021-08-26 15:45:17 +02:00
mocks_test.go chore: fix imports 2022-06-14 17:00:51 +02:00
mpool_manage.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
mpool_test.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
mpool.go feat: mempool: Reduce minimum replace fee from 1.25x to 1.1x (#10416) 2023-03-09 13:17:17 -08:00
multisig.go Merge branch 'master' into adlrocha/cns-iface-master 2022-11-22 10:28:18 +01:00
net.go return all the public addresses in NatInfo 2023-05-10 11:54:48 +03:00
params.go chore: cli 2023-01-25 13:13:56 +01:00
paych.go Add helper function to print usage when wrong number of arguments are supplied 2022-09-14 15:38:15 -04:00
pprof.go unexport repo types; use a global var for every repo type 2022-03-03 15:37:23 +01:00
send_test.go fix: cli: better handle sending from EthAccount actors 2023-02-24 15:15:41 -08:00
send.go fix: cli: better handle sending from EthAccount actors 2023-02-24 15:15:41 -08:00
sending_ui.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
services_send_test.go fix make gen 2022-08-29 16:25:30 +02:00
services.go parametrized reward function for consensus 2022-10-13 16:30:14 +02:00
servicesmock_test.go run make gen to make ci happy 2022-10-13 16:43:02 +02:00
state.go feat: cli(compute-state) default to the tipset at the given epoch 2023-06-08 13:53:17 -05:00
status.go implement NodeStatus API 2021-05-07 15:30:04 +02:00
sync_test.go fix make gen 2022-08-29 16:25:30 +02:00
sync.go chore: remove redundant import prefixes 2022-06-15 12:06:22 +02:00
util.go cli: Move EpochTime to cliutil 2022-11-08 09:37:43 +00:00
version.go miner: Command to dump all miner info 2020-08-04 20:57:48 +02:00
wait.go add timeout flag to wait-api command 2021-11-02 17:28:11 +00:00
wallet_test.go fix make gen 2022-08-29 16:25:30 +02:00
wallet.go refactor: stop using deprecated io/ioutil 2023-03-29 15:40:49 -04:00