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
vyzo
d4d5ce3021
only enable rcmgr by default in full nodes
...
opt-in with envvar for other nodes, as there are still some issues
with markets related protocols
2022-06-13 12:16:20 -04:00
Aayush
dda9ac31c6
invoker: gen the registry
2022-06-10 17:40:07 -04:00
Aayush
d32ed4440d
Drop actor meta shimming for testing
2022-06-10 17:30:07 -04:00
Aayush
7dcb11b8c0
Update to tagged actors versions
2022-06-10 17:29:57 -04:00
Aayush Rajasekaran
131831ca61
Update cmd/lotus-shed/cid.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-06-10 17:29:13 -04:00
Aayush Rajasekaran
b6a7e0553e
Merge pull request #8815 from filecoin-project/gstuart/lite-migration
...
feat: migrations: function for migrating builtin actors with only code changes
2022-06-10 15:36:05 -04:00
Geoff Stuart
3f712c376a
Example V9 migration function
2022-06-10 15:07:42 -04:00
Aayush Rajasekaran
64ed93b728
Merge pull request #8840 from filecoin-project/arajasek-patch-2
...
fix: build: params_2k should not have the v16 upgrade set
2022-06-10 14:46:46 -04:00
Geoff Stuart
bec1dc47ce
update specs-actors version
2022-06-10 14:22:54 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
64d62f1f7e
Review fixes v2
2022-06-10 12:32:31 -04:00
Geoff Stuart
3c4792d3e9
review fixes
2022-06-10 11:35:01 -04:00
Aayush Rajasekaran
d2fe574af3
fix: build: params_2k should not have the v16 upgrade set
2022-06-10 10:05:20 -04:00
Jiaying Wang
87d1e8ddfd
Merge pull request #8831 from filecoin-project/arajasek-patch-2
...
refactor: rename LOTUS_USE_FVM_EXPERIMENTAL
2022-06-09 17:42:16 -04:00
Geoff Stuart
339692cde5
create function for migrating builtin actors with only code changes
2022-06-09 15:13:42 -04:00
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -04:00
Aayush Rajasekaran
fbefd617a2
refactor: rename LOTUS_USE_FVM_EXPERIMENTAL
2022-06-09 11:21:22 -04:00
Aayush Rajasekaran
0e5e5f49df
Merge pull request #8804 from filecoin-project/gstuart/exec-trace-consistency
...
Fix: state: Set exec trace subcalls to nil when appropriate
2022-06-07 09:40:00 -04:00
Geoff Stuart
81cacd76a7
Implement function to access state of system actor
2022-06-06 23:23:32 -04:00
Geoff Stuart
0c789b06dc
Call with no subcalls is nil instead of empty array for backwards compatibility
2022-06-03 15:21:47 -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 Rajasekaran
7ff86efba2
Merge pull request #8776 from filecoin-project/jen/mergev1153to16
...
chore: build: merge v1.15.3 into v1.16.0
2022-06-03 13:38:32 -04:00
Aayush
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -04:00
Aayush
89531e33a1
fixup merge
2022-06-03 13:16:44 -04:00
Aayush Rajasekaran
e857498914
Merge pull request #8801 from filecoin-project/asr/libp2p-v16
...
chore: deps: update to go-libp2p v0.19.4
2022-06-03 12:02:29 -04:00
Aayush
37fdcbf197
chore: deps: update to go-libp2p v0.19.4
2022-06-03 11:48:40 -04:00
Łukasz Magiera
93f3b49235
Merge pull request #8785 from filecoin-project/gstuart/fix/manifest-cid-bundle-cli
...
Fix: cli: clean up manifest-cid-from-car
2022-06-02 10:32:50 +02:00
Łukasz Magiera
eb84bf2ebd
Merge pull request #8784 from filecoin-project/arajasek-patch-2
...
chore: vm: Rename tracing envvar to LOTUS_VM_ENABLE_TRACING
2022-06-02 10:31:51 +02:00
Łukasz Magiera
1b4849b05e
Merge pull request #8786 from filecoin-project/gstuart/fix/cleanup-load-bundle
...
Cleanup LoadBundle
2022-06-02 10:30:29 +02:00
Geoff Stuart
782011b572
Cleanup LoadBundle
2022-06-01 22:22:52 -04:00
Geoff Stuart
bf6f9799e6
Fixup manifest-cid-from-car
2022-06-01 22:12:50 -04:00
Aayush Rajasekaran
6f25476709
chore: vm: Rename tracing envvar to LOTUS_VM_ENABLE_TRACING
2022-06-01 18:18:49 -04:00
Steven Allen
0c4863c58e
Merge pull request #8779 from filecoin-project/chore/update-ffi
...
chore: deps: update filecoin-ffi
2022-06-01 11:02:19 -07:00
Steven Allen
352c23748e
chore: deps: update filecoin-ffi
...
- Uses the global MAX_LEN exported by fvm_shared.
- Formats errors with debug, for additional information.
2022-06-01 10:44:48 -07:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Aayush Rajasekaran
ff02a666bd
Merge pull request #8763 from filecoin-project/jen/rmbundle
...
chore: bundle: remove wrongly committed bundle cars
2022-05-30 21:08:16 -04:00
Jennifer Wang
64709dd587
remove wrongly committed bundle cars
2022-05-30 17:24:46 -04:00
Aayush
8cbbee3a87
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 16:17:41 -04:00
Jiaying Wang
04894350b7
Merge pull request #8759 from filecoin-project/asr/revert-pricelist-v16
...
Revert "VM: Refactor pricelist to be based on network versions"
2022-05-30 16:11:14 -04:00
Jiaying Wang
5b3a6e89ff
Merge pull request #8670 from filecoin-project/jen/actorcid
...
chore: state: add cli to get the manifest & actor cid for network v16 & up
2022-05-30 15:31:22 -04:00
Aayush
c95ad7229f
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 15:25:33 -04:00
Jennifer Wang
4d1ee38930
docs gen
2022-05-30 15:22:03 -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
Jennifer Wang
a476816f40
fix genesis miner netwokr version
2022-05-30 13:32:04 -04:00
Aayush Rajasekaran
e59edfdd0c
Merge pull request #8754 from filecoin-project/jen/backport
...
fix: deps: restore butterfly network genesis from v1.14.4
2022-05-30 13:22:59 -04:00
Travis Person
860298d65b
fix: deps: restore butterfly network genesis from v1.14.4
2022-05-30 12:58:21 -04:00
Aayush Rajasekaran
2a5e36c542
Merge pull request #8742 from filecoin-project/jen/butterldly
...
chore: bundle: butterfly manifest cid & epoch
2022-05-30 12:11:45 -04:00
Jiaying Wang
dbeec2900b
Update params_butterfly for upgrade v16 epoch and cid
2022-05-30 11:55:30 -04:00