Jennifer Wang
c3f3eb0812
Merge branch 'releases' into jen/masterbp
2022-06-27 15:13:12 -04:00
Geoff Stuart
8b96396ef9
Merge pull request #8912 from filecoin-project/gstuart/retrieval-no-hang
...
Fix: cli: Break out of retrieval if provider cancels
2022-06-23 17:15:17 -04:00
Geoff Stuart
c10c89883c
Break out of retrieval if provider cancels
2022-06-23 16:59:44 -04:00
Geoff Stuart
e684248f48
Added api call to get actors cids
2022-06-23 14:07:23 -04:00
Geoff Stuart
dc4ba81b9c
Make cli deal command get Block Delay specific to build
2022-06-22 19:35:03 -04:00
kaola526
e3003dce31
fix ci/circleci error
2022-06-21 17:49:10 +08:00
kaola526
ace17753f0
Merge branch 'filecoin-project:master' into master
2022-06-21 17:20:56 +08:00
Geoff Stuart
5c884b5fd1
Merge pull request #8830 from filecoin-project/fix/error-client-deal
...
fix: ux: Check for client deal addrs on-chain
2022-06-17 11:42:04 -04:00
kaola526
4ae3d61b76
Merge branch 'filecoin-project:master' into master
2022-06-16 09:17:02 +08:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
kaola526
2e3b8402cc
Update multisig.go
2022-06-15 06:59:17 +08:00
kaola526
de550c8bbb
Merge branch 'filecoin-project:master' into master
2022-06-15 06:53:40 +08:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
kaola526
ea59d5870d
Merge branch 'filecoin-project:master' into master
2022-06-14 11:22:48 +08:00
kaola526
51ad079bc7
fix bug
2022-06-14 11:17:04 +08:00
kaola526
bc25a3fd37
fix bug
2022-06-14 10:40:45 +08:00
Steven Allen
ddc9425c07
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:51:49 -07:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:15:00 -07:00
Aayush Rajasekaran
c661d247e5
Merge pull request #8810 from filecoin-project/asr/feat-into-master
...
Merge nv16 changes into master
2022-06-09 16:09:35 -04:00
kaola526
9e27c49168
Merge branch 'filecoin-project:master' into master
2022-06-10 00:37:37 +08:00
kaola526
c244a0bbdc
fix bug #8825
2022-06-10 00:36:46 +08:00
Phi
faa3b185bf
fix: ux: client deal addrs is on-chain check
...
Checks if the address used in `lotus client deal` is "initialized" on-chain before running the `uiLoop`. Resolves #8817
2022-06-09 16:20:51 +02:00
Łukasz Magiera
16d6e0eeb5
Merge pull request #8818 from 2color/improve-retrieval-error
...
chore: improve error message when maxPrice is too low
2022-06-09 15:47:09 +02:00
Phi
0444563e65
fix: paych: Print "waiting for confirmation.."
...
Prints an "waiting for confirmation.." when running `lotus paych [fromAddress toAddress amount]` to indicate that the command is waiting for the msg to be confirmed and not just hanging.
2022-06-08 10:43:49 +02:00
Daniel N
c1a7f6292e
Improve error message when maxPrice is too low
...
This also happens when maxPrice is not set and it deafults to 0
2022-06-07 11:10:20 -05:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Łukasz Magiera
73ee5957e7
Merge pull request #8787 from swift-mx/mx_get_hello_message
...
feat: lotus-shed get remote peer hello message
2022-06-02 19:45:13 +02:00
Łukasz Magiera
3de6856058
feat: cli: Nicer net stat
2022-06-02 16:54:56 +02:00
swift-mx
d04594a375
style: hello.go
2022-06-02 16:49:59 +08:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Jennifer Wang
970aa299a2
move actor key to a const array
2022-05-30 14:59:46 -04:00
Jennifer Wang
2c1cf42aa0
add cli to get the actor cid forthe current network version
2022-05-30 14:20:14 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
vyzo
a803021eef
add TODO about the bundle load cost
2022-05-12 16:48:31 +03:00
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
37d94a3c91
move cli bundle loading back to init
2022-05-11 22:45:25 +03:00
vyzo
74f300290e
dynamic loading of builtin actor bundles
2022-05-11 22:30:07 +03:00
Geoff Stuart
514c756570
Alias cli commands
2022-05-03 15:46:46 -04:00
vyzo
1366901ded
preload manifest in cli
2022-04-21 13:26:22 +03:00
Łukasz Magiera
84470e9c64
Merge pull request #8442 from rjan90/ux/soft-delete-wallet
...
ux: wallet: update delete usage
2022-04-13 11:51:09 +02:00
Rjan
c3f2f12cb2
Revert soft-delete cmd
...
Revert `soft-delete` cmd back to `delete`. Keeps the updated usage
2022-04-12 08:31:54 +02:00
Łukasz Magiera
6bef1aeb82
feat: cli: lotus client list-asks --protocols
2022-04-11 19:49:52 +02:00
Rjan
96ee416b96
Fix TestWalletDelete-test
...
Change from `delete` to `soft-delete` in the TestWalleteDelete test.
2022-04-07 10:25:49 +02:00
Rjan
255ff1a4b7
ux: wallet: soft-delete wallet
...
Renaming the function to soft-delete to better reflect what it does - and specify that a hard deletion is needed for permanent removal.
2022-04-06 10:23:03 +02:00
Florian Ruen
196030bee2
fix: cli: Reset miner/ask lists in interactive deal 'miner' step ( #8155 )
...
* Update client.go
Bug fixed : if hitting return instead of filling with a valid value, the CLI crashed (line 796)
Change return err by continue to ask a valid value again
* Fix #8100
Bug fixed : if hitting return instead of filling with a valid value, the CLI crashed (line 796)
Change return err by continue to ask a valid value again
* lint reported errors on CircleCI
Commit to fix lint reported errors during tests on CircleCI
(remove blank lines x2)
* lint reported errors on CircleCI
Commit to fix lint reported errors during tests on CircleCI
(remove trailling whitespace)
* Fix #8095
Clear the list of miner addresses and successfull get-asked before asking for new ones
Previous behavior : if get-ask failed for miner(s), the faulty miner will be retried each time,
so you have to stop the command and start again to change this faulty miner (instead of removing from the list on the new attempt)
* Clear the list of miner addresses and successfull get-asked before asking for new ones
Previous behavior : if get-ask failed for miner(s), the faulty miner will be retried each time,
so you have to stop the command and start again to change this faulty miner (instead of removing from the list on the new attempt)
2022-03-25 17:05:19 -04:00
Łukasz Magiera
11db419735
Merge pull request #8357 from filecoin-project/feat/net-ping
...
feat: cli/net: implement 'net ping' command
2022-03-25 14:57:21 -04:00
Rjan
da64f241eb
Print "waiting for confirmation.." in msigCreateCmd
...
Prints an addition "waiting for confirmation.." when running `lotus msig create [address1 address2]` to indicate that command is waiting for the msg to be mined into block, and not just hanging.
Should fix #4053
2022-03-24 16:11:24 +01:00
Łukasz Magiera
945b93590d
ping: Match go-ipfs in cmd output
2022-03-21 15:11:19 +01:00
Łukasz Magiera
701d0a111e
Merge branch 'feat/net-ping' of github.com:ychiaoli18/lotus into feat/net-ping
2022-03-21 13:06:11 +01:00
Anton Evangelatov
0d6493ec3f
resolve merge conflicts with master
2022-03-18 12:28:22 +01:00
Łukasz Magiera
7123b29f06
Merge pull request #8241 from rjan90/master
...
fix: cli: add ArgsUsage field to clientGetDealCmd
2022-03-17 12:19:49 +01:00
Darko Brdareski
79453663b3
feat: Add additional test annotations ( #8272 )
...
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate repub and selection tests
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
* Fix markset annotations
* doc: test annotations for the markets dagstore wrapper
* Annotate miner_api test in dagstore
* Annotate more test files
* Remove bad annotations from fsrepo
* Annotate wdpost system
* Remove bad annotations
* Renamce "conformance" to "chaos_actor" tests
* doc: stm annotations for blockheader & election proof tests
* Annotate remaining "A" tests
* annotate: stm for error_test
* memrepo_test.go
* Annotate "b" file tests
* message_test.go
* doc: stm annotate for fsrepo_test
* Annotate "c" file tests
* Annotate "D" test files
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate u,v,wl tests
* doc: stm annotations for various test files
* Annotate "T" test files
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add mempool unit tests
* Add two more memPool Add tests
* Update submodules
* Add check function tests
* Add stm annotations, refactor test helper
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
solving merge conflicts
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
solve merge conflict
* Fix markset annotations
* Annotate miner_api test in dagstore
* Annotate more test files
* doc: test annotations for the markets dagstore wrapper
* Annotate wdpost system
* Renamce "conformance" to "chaos_actor" tests
* Annotate remaining "A" tests
* doc: stm annotations for blockheader & election proof tests
* annotate: stm for error_test
* Annotate "b" file tests
* memrepo_test.go
* Annotate "c" file tests
* message_test.go
* Annotate "D" test files
* doc: stm annotate for fsrepo_test
* Annotate u,v,wl tests
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate "T" test files
* doc: stm annotations for various test files
* Add mempool unit tests
solve merge conflict
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add two more memPool Add tests
* Update submodules
* Add check function tests
solve conflict
* Add stm annotations, refactor test helper
solve merge conflict
* Change CLI test kinds to "unit"
* Fix double merged test
* Fix ccupgrade_test merge
* Fix lint issues
* Add stm annotation to types_Test
* Test vectors submodule
* Add file annotation to burn_test
Co-authored-by: Nikola Divic <divicnikola@gmail.com>
Co-authored-by: TheMenko <themenkoprojects@gmail.com>
2022-03-16 18:37:34 +01:00
Rjan
3ad1ea386c
Merge branch 'filecoin-project:master' into master
2022-03-16 09:09:20 +01:00
zenground0
61f453fcd3
Print sector key in state sector command
2022-03-08 21:01:57 -07:00
Anton Evangelatov
b9fe61f9da
Merge branch 'master' into nonsense/refactor-nodetype
2022-03-07 11:51:28 +01:00
Anton Evangelatov
62e352ef88
move APIInfoEnvVars, RepoFlags, APIFlags under RepoType
2022-03-03 16:45:11 +01:00
Rjan
c5dc898ed0
fix: cli: add ArgsUsage field to clientGetDealCmd
...
Adds [proposalCID] as ArgsUsage field in the 'lotus client get-deal' command. Fixes #8133
2022-03-03 15:40:16 +01:00
Anton Evangelatov
acbfc879aa
config: extract DealmakingConfig and Sealing config from Lotus for Boost ( #8172 )
...
* refactor sealingCfg and dealmakingCfg to be able to abstract Config
* fix error messages
2022-03-03 15:37:23 +01:00
Anton Evangelatov
f1f878a000
unexport repo types; use a global var for every repo type
2022-03-03 15:37:23 +01:00
Anton Evangelatov
e3edab66e3
refactor RepoType
2022-03-03 15:37:23 +01:00
Masih H. Derkani
aacc246ba3
Merge branch 'master' into feat/cid-to-piece-idx
2022-03-02 14:06:30 +00:00
Łukasz Magiera
b8473aeedd
Merge pull request #7883 from filecoin-project/feat/paych-avail-reuse
...
feat: paychmgr: Support paych funding (a.k.a. fast paid retrieval)
2022-03-02 13:28:12 +00:00
Łukasz Magiera
74e6260fbd
Merge pull request #7560 from EmadMF/emad22552-patch-1
...
add check manual-stateless-deal with interactive deal making
2022-03-02 13:16:14 +00:00
Łukasz Magiera
c018dac13a
Merge pull request #8079 from filecoin-project/cli_wallet_tests
...
test: cli: adding wallet tests
2022-03-02 12:59:09 +00:00
Łukasz Magiera
e9a6f5f287
Merge remote-tracking branch 'origin/master' into feat/paych-avail-reuse
2022-03-02 12:56:56 +00:00
TheMenko
4a5b0b87ea
add assert to output for wallet sign
2022-03-01 02:34:52 +01:00
TheMenko
0708268c75
add assert to output for wallet list
2022-03-01 02:21:22 +01:00
zenground0
77a954c7c3
Merge branch 'master' into feat/cid-to-piece-idx
2022-02-28 12:57:11 -07:00
Łukasz Magiera
a49ec594ca
Merge pull request #8080 from filecoin-project/bloxico/cli-sync-tests
...
test: cli: unit tests for sync related commands
2022-02-27 11:54:03 +00:00
Łukasz Magiera
69470db596
Merge pull request #8162 from filecoin-project/cli-mempool-tests
...
test: Cli: add mempool tests
2022-02-25 16:09:32 +00:00
Geoff Stuart
83bf0c5a11
Review fixes
2022-02-24 12:40:13 -05:00
Geoff Stuart
25912e72a1
Update cli/filplus.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-02-23 12:14:26 -05:00
Geoff Stuart
e9715cae3b
Small fixes
2022-02-22 22:58:51 -05:00
Geoff Stuart
23147378a3
Added cli command for vrk to send RemoveVerifiedClientDataCap message
2022-02-22 22:07:20 -05:00
Geoff Stuart
375d9fdfc9
Added cli command for verifier to sing RemoveDataCapProposal
2022-02-22 22:07:20 -05:00
Darko Brdareski
79ba74ce71
Merge branch 'master' into cli-mempool-tests
2022-02-22 16:27:38 +01:00
TheMenko
cd64eba76c
add stm annotations
2022-02-22 16:00:01 +01:00
TheMenko
de68f1e5fe
Merge branch 'master' into cli_wallet_tests
...
update branch from master
2022-02-22 15:37:09 +01:00
TheMenko
fce9ff237a
add fmt output checks
2022-02-22 15:35:46 +01:00
Darko Brdareski
e753e7a66e
Merge branch 'master' into bloxico/cli-sync-tests
2022-02-22 14:03:44 +01:00
Łukasz Magiera
a0cb6094c6
Merge remote-tracking branch 'origin/master' into feat/paych-avail-reuse
2022-02-22 10:55:03 +01:00
ZenGround0
6123aa2ed4
Merge pull request #8048 from filecoin-project/cli-chain-tests
...
test: cli: chain category unit tests
2022-02-21 19:12:18 -07:00
Darko Brdareski
7b203eae1b
More lint issues fixed
2022-02-21 18:35:31 +01:00
Darko Brdareski
76157c5e03
Merge branch 'master' into cli-mempool-tests
2022-02-21 18:08:15 +01:00
Darko Brdareski
ad4acf3baa
Fix lint issues
2022-02-21 17:58:00 +01:00
Darko Brdareski
580fa86ea3
Change annotation to #cli
2022-02-21 17:57:01 +01:00
Darko Brdareski
675012fe1c
Fix matching for TestInspectUsage
2022-02-21 16:49:07 +01:00
Darko Brdareski
87c63e2cb7
Add stm file annotation
2022-02-21 12:33:07 +01:00
Darko Brdareski
c8cd8bb591
Add stm annotations
2022-02-21 12:32:53 +01:00
Darko Brdareski
c3817652dc
Add cli tests for mempool
2022-02-21 11:28:45 +01:00
florian@eyesr.fr
1c39730531
Fix #8095
...
Clear the list of miner addresses and successfull get-asked before asking for new ones
Previous behavior : if get-ask failed for miner(s), the faulty miner will be retried each time,
so you have to stop the command and start again to change this faulty miner (instead of removing from the list on the new attempt)
2022-02-18 15:46:40 +00:00
Darko Brdareski
6feae1993d
Fix PR comments.
...
Refactor random addr generation to use a rand seed.
Remove unused lines in tests.
2022-02-17 14:24:42 +01:00
Kevin Li
ba72eff3e6
feat: cli/net: implement 'net ping' command
2022-02-17 17:22:52 +08:00
Łukasz Magiera
384999556c
paychmgr: AvailableAmt -> NonReservedAmt
2022-02-16 20:39:43 +01:00
Łukasz Magiera
f61eb23f8f
api: separate method for paych funding
2022-02-14 19:56:02 +01:00
Nikola Divic
93d9bfb682
doc: stm test annotations for cli/sync category
2022-02-13 18:39:37 +01:00
Nikola Divic
e6c8c9a6ab
doc: add stm annotation to cli chain tests
2022-02-13 17:14:27 +01:00
Masih H. Derkani
59351c8cb8
Add lotus net
CLI command to add/remove/list protected peers
...
Add CLI commands under `lotus net` to add/ remove/list protected peers.
2022-02-11 19:54:59 +00:00
Nikola Divic
94374aa93d
test: sync checkpoint cli command
2022-02-11 18:30:07 +01:00
Nikola Divic
05c8635749
test: sync check-bad cli command
2022-02-11 18:08:36 +01:00