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
Łukasz Magiera
ae42ed0bb1
Merge remote-tracking branch 'origin/master' into rate-limit-gateway
2022-06-10 13:01:20 +02: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
Aayush
82e439172e
Drop actor meta shimming for testing
2022-06-08 13:41:30 -04:00
Aayush Rajasekaran
474d11b805
Update cmd/lotus-shed/cid.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-06-08 13:18:50 -04:00
Aayush Rajasekaran
27eaebad7e
Merge pull request #8302 from filecoin-project/raulk/tvx-fixes
...
feat: conformance & tvx: support ReportConsensusFault messages
2022-06-06 23:34:16 -04:00
Aayush Rajasekaran
05c19b37a4
Merge pull request #8756 from filecoin-project/jen/devnetfixport
...
fix: build: genesis miner network version
2022-06-06 23:33:01 -04:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Aayush Rajasekaran
8212b2c5d9
Merge pull request #8755 from filecoin-project/jen/devnetver
...
fix: build: use the genesis network version when creating a network
2022-06-03 13:43:29 -04:00
Aayush
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -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
1fd2be1329
fix: setStreamHandler before connect
2022-06-02 19:59:52 +08:00
swift-mx
9c33816c90
fix: remove say hello
2022-06-02 17:22:43 +08:00
swift-mx
5a961c90f5
Update cmd/lotus-shed/hello.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-06-02 17:09:35 +08:00
swift-mx
63a2d9f1fe
fix: timeout 5
2022-06-02 16:54:58 +08:00
swift-mx
d04594a375
style: hello.go
2022-06-02 16:49:59 +08:00
swift-mx
0fd74eda69
style: libp2p new
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-06-02 16:36:18 +08:00
swift-mx
e691efb9cd
fix: CI
2022-06-02 12:02:41 +08:00
swift-mx
45104a856b
feat: lotus-shed get remote peer hello message
2022-06-02 11:51:11 +08:00
Geoff Stuart
bf6f9799e6
Fixup manifest-cid-from-car
2022-06-01 22:12:50 -04:00
Cory Schwartz
e645e8aa7c
Merge branch 'master' into rate-limit-gateway
2022-06-01 00:58:23 -07:00
Phi
a7a9e2a60e
fix: bench: consistency in description
...
Changing /tmp/sl and /tmp/cac to /tmp/sealed and /tmp/cache for consistency with the rest of the description
2022-06-01 08:50:13 +02:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Jennifer Wang
f7b0bbf0d8
fix genesis miner netwokr version
2022-05-30 13:33:10 -04:00
Jennifer Wang
a476816f40
fix genesis miner netwokr version
2022-05-30 13:32:04 -04:00
Łukasz Magiera
790a331ca5
bench: Support multiple piece infos in ParsePieceInfos
2022-05-30 16:19:57 +02:00
Łukasz Magiera
e148663155
bench: add simple bench descriptions
2022-05-30 15:44:05 +02:00
Łukasz Magiera
d7e99b801e
bench: Simple snapdeals
2022-05-30 15:44:05 +02:00
Łukasz Magiera
6ae0cb8ac4
bench: Simple commit1/2
2022-05-30 15:44:05 +02:00
Łukasz Magiera
580bafb98e
bench: Accept sector nums in simple post
2022-05-30 15:44:05 +02:00
Łukasz Magiera
1960a7726b
bench: Simple distributed post, print perf
2022-05-30 15:44:05 +02:00
Łukasz Magiera
56bde5adf9
Merge pull request #8692 from filecoin-project/feat/health-endpoints
...
feat: networking: add healthz and livez endpoints
2022-05-30 15:42:06 +02:00
Łukasz Magiera
ed0c30542a
Merge pull request #8741 from filecoin-project/fix/worker-nodefault-param-checks
...
fix: worker: don't check params with --no-default when not needed
2022-05-27 19:53:27 +02:00
Łukasz Magiera
d38cd87d35
Merge pull request #8657 from gnasnik/master
...
feat: add create ledger wallet address by account index command
2022-05-27 19:52:48 +02:00
Łukasz Magiera
1058e3bc41
fix: worker: don't check params with --no-default when not needed
2022-05-27 18:25:48 +02:00
Łukasz Magiera
48aa0131bf
fix: rpc: readd rpc.discover aliases
2022-05-27 17:03:03 +02:00
Aayush Rajasekaran
69d3542ee2
Merge pull request #8736 from filecoin-project/fix/postworker-check-params
...
fix: post workers: check proving params on startup
2022-05-27 11:00:17 -04:00
Łukasz Magiera
7d7ecb5ec8
fix: post workers: check proving params on startup
2022-05-27 13:04:19 +02:00
Geoff Stuart
30e7f89662
Check for manifest CID while loading bundle
2022-05-26 17:30:32 -04:00
Geoff Stuart
7bf9ce2f2f
review fixes
2022-05-25 16:42:50 -04:00
Łukasz Magiera
2bdc729fe7
Merge remote-tracking branch 'origin/master' into feat/worker-task-count-limits
2022-05-25 18:25:15 +02:00
Łukasz Magiera
083c7421ce
feat: sched: Worker task count limits for all task types
2022-05-25 16:31:26 +02:00
beck
43ec14fa9c
Feat/add provingDeadlineInfoCmd live option
2022-05-25 11:12:32 +08:00
beck
2375df2b62
Feat/add provingDeadlinesCmd live option
2022-05-25 11:11:23 +08:00
frank
c33f87d5b4
remove conditions that won't happen
2022-05-25 11:03:04 +08:00
frank
efca50c146
fix CodeQL warning
2022-05-25 10:18:48 +08:00
Geoff Stuart
ef4a44cd06
appease linter
2022-05-24 15:24:54 -04:00
Geoff Stuart
8d1ebf7abb
Fixed wording in some cli commands
2022-05-24 14:41:13 -04:00
Geoff Stuart
354719327b
Add generate-and-send-consensus-fault command to cli
2022-05-24 14:41:13 -04:00
Łukasz Magiera
b53db68bda
fix lint
2022-05-24 16:22:52 +02:00
Łukasz Magiera
7054475c00
ffiwrapper: Handle null padding in DataCid automatically
2022-05-24 15:59:11 +02:00
Łukasz Magiera
3fa2ada987
support http in lotus-miner sealing data-cid
2022-05-24 15:47:49 +02:00
Łukasz Magiera
bacaccc378
feat: miner cli: sealing data-cid command
2022-05-24 15:07:53 +02:00
Lim Kin Sang
3f0e5b3ff4
Merge branch 'filecoin-project:master' into master
2022-05-24 17:41:32 +08:00
Jennifer Wang
5cfedacf9f
make jen
2022-05-23 15:11:46 -04:00
Łukasz Magiera
dde36723da
Merge pull request #8672 from filecoin-project/feat/worker-nodefault
...
feat: worker: lotus-worker run --no-default
2022-05-23 19:09:03 +02:00
Łukasz Magiera
abf8316eda
worker: Less confusing usage on --no-default
2022-05-23 18:53:48 +02:00
Łukasz Magiera
12599550c1
Merge pull request #8690 from filecoin-project/arajasek-patch-2
...
fix: verifreg: update deprecation log
2022-05-23 18:45:02 +02:00
Łukasz Magiera
58055987a3
Merge pull request #8696 from swift-mx/mx_precommits_info
...
feat: precommits info
2022-05-23 18:41:43 +02:00
Geoff Stuart
6216fae0f8
Implement cli command for compactPartitions
2022-05-23 18:23:02 +02:00
swift-mx
ae8f3d8fe2
Update cmd/lotus-miner/precommits-info.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-24 00:12:09 +08:00
swift-mx
0b3ee32ce4
Update cmd/lotus-miner/precommits-info.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-24 00:11:59 +08:00
swift-mx
ea282ea055
feat: precommits info
2022-05-23 12:54:00 +08:00
Cory Schwartz
444d0b1b8a
add healthz and livez endpoints
2022-05-20 18:38:17 -07:00
Aayush Rajasekaran
a9b40c448b
verifreg: fix deprecation log
2022-05-20 13:38:23 -04:00
Cory Schwartz
b30548376b
connection rate limiting
2022-05-20 03:40:52 -07:00
unknown
c4cfb7a296
scheduling optimization
2022-05-20 17:04:51 +08:00
Cory Schwartz
c9d3652357
Merge branch 'master' into rate-limit-gateway
2022-05-19 14:25:36 -07:00
Geoff Stuart
ca21235a4f
Can now specify a range of partitions to make a bad proof for
2022-05-18 21:31:54 -04:00
Geoff Stuart
e49a9b790b
Implemented sendInvalidWindowPoStCmd for cli
2022-05-18 21:31:54 -04:00
Geoff Stuart
3c61b3d841
compact
2022-05-18 21:31:54 -04:00
Łukasz Magiera
6b3bc8c9d2
feat: worker: lotus-worker run --no-default
2022-05-18 12:27:46 +02:00
Aayush
b2b20e469f
Fix tests
2022-05-17 15:21:27 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
LexLuthr
4326fc370b
add the new subcommand
2022-05-13 00:02:17 +05:30
vyzo
37b807278a
fix lotus-seed
2022-05-12 17:25:23 +03:00
LexLuthr
7e492f23b1
add dagstore register-shard command
2022-05-12 19:46:53 +05:30
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
74f300290e
dynamic loading of builtin actor bundles
2022-05-11 22:30:07 +03:00
frank
add6d5d2d5
add new ledger address with index cmd
2022-05-10 17:02:06 +08:00
Geoff Stuart
27e99ff84f
Merge pull request #8587 from filecoin-project/gstuart/cli-uniformity
...
chore: cli: Alias cli commands for uniformity
2022-05-04 13:21:17 -04:00
Geoff Stuart
514c756570
Alias cli commands
2022-05-03 15:46:46 -04:00
Aayush Rajasekaran
7036636fcf
Merge pull request #8555 from filecoin-project/fix/worker-proofs-snapdeals
...
fix: worker: Download proofs if PRU2 is enabled
2022-05-03 15:08:19 -04:00
Cory Schwartz
35e114a3ea
Merge branch 'master' into rate-limit-gateway
2022-05-02 08:29:38 -07:00
Łukasz Magiera
f9a4a400da
Merge pull request #8557 from filecoin-project/feat/worker-commp
...
sealing: DataCid on workers
2022-04-28 17:45:32 +02:00
Łukasz Magiera
1aed631fe5
sealing: DataCid on workers
2022-04-26 20:36:23 +02:00
Rjan
a50a20b5a7
fix: worker: Download proofs if PRU2 is enabled
...
The lotus-worker does not check or download the params if Prove Replica Update tasks are enabled.
2022-04-26 09:10:38 +02:00
Phi-rjan
1162b02e60
Merge pull request #8528 from rjan90/ux/description-lotus-wallet
...
fix: ux: update `lotus-wallet run` description
2022-04-25 15:57:50 +02:00
Phi-rjan
825cdb8db9
Update cmd/lotus-wallet/main.go
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-04-25 08:56:34 +02:00
Rjan
295bf03e4d
fix: ux: update lotus-wallet run
description
...
Update the `lotus-wallet run` to include that a `FULLNODE_API_INFO` env variable needs to be set before running
2022-04-21 14:21:09 +02:00
Cory Schwartz
9bf9843ff6
add metrics
2022-04-20 19:48:41 -07:00
Cory Schwartz
fc42d03ea4
Add rate limiting to the lotus gateway
2022-04-19 18:35:19 -07:00
vyzo
042601129d
fix lotus-seed
2022-04-19 18:39:55 +03:00
vyzo
beb3369c76
add LoadManifestFromBundle, use it in miner init
2022-04-15 20:15:28 +03:00
vyzo
534e43e1d3
fix lotus-shed
2022-04-14 20:10:51 +03:00
vyzo
6bd2d89e30
use memory blockstore for miner manifest loading
2022-04-14 19:34:26 +03:00
vyzo
395c772222
make the miner load the manifest so that it can correctly map actors
2022-04-14 19:34:26 +03:00
zenground0
0f6da17cd1
Lint
2022-04-14 19:32:56 +03:00
Aayush
339b7db2b7
Integrate FIP 0027
2022-04-14 19:32:56 +03:00