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
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
3c4792d3e9
review fixes
2022-06-10 11:35:01 -04:00
Steven Allen
36a4c1791c
fix: build: fix 2k build params
2022-06-09 14:23:26 -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
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -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
89531e33a1
fixup merge
2022-06-03 13:16:44 -04:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Jennifer Wang
64709dd587
remove wrongly committed bundle cars
2022-05-30 17:24:46 -04:00
Jennifer Wang
157d519dd4
remove wrongly committed bundle cars
2022-05-30 17:21:44 -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
Jennifer Wang
2c1cf42aa0
add cli to get the actor cid forthe current network version
2022-05-30 14:20:14 -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
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
Geoff Stuart
4469d0c819
Reset interopnet
2022-05-27 16:46:29 -04:00
Geoff Stuart
e11f03a1fc
Replace caterpillar manifest cid
2022-05-27 14:37:01 -04:00
Jiaying Wang
7de6d93e26
Update params_interop.go
2022-05-27 13:10:11 -04:00
Jiaying Wang
92ef099f5a
Update params_interop.go
2022-05-27 13:09:11 -04:00
Aayush
de65d8c3b4
Update actors
2022-05-27 12:07:45 -04:00
Łukasz Magiera
032e598962
feat: gateway: OpenRPC support
2022-05-27 17:03:56 +02:00
Aayush
4fa04abb8c
Add disable flag for Skyr upgrade
2022-05-26 18:20:49 -04:00
Geoff Stuart
30e7f89662
Check for manifest CID while loading bundle
2022-05-26 17:30:32 -04:00
Geoff Stuart
c159290868
Reset interopnet
2022-05-26 00:03:24 -04:00
Aayush Rajasekaran
06279b5f1a
Merge pull request #8606 from filecoin-project/asr/fix-drand-round
...
Fix: drand: calculation of round from Filecoin epochs
2022-05-25 15:36:53 -04:00
Aayush Rajasekaran
8127473bab
Update actors to dev/20220525
2022-05-25 14:21:08 -04:00
Aayush Rajasekaran
6924a3d5f2
Fix calculation of Drand round from Filecoin epochs
2022-05-25 12:43:52 -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
vyzo
bb0e3a6cb0
don't clobber test bundles during migration
2022-05-25 19:16:11 +03:00
Łukasz Magiera
666dc00e63
docsgen
2022-05-25 16:37:40 +02:00
Geoff Stuart
8323ff77b6
Reset interopnet
2022-05-24 17:22:58 -04:00
Aayush Rajasekaran
c2f0bd3c62
Merge pull request #8668 from filecoin-project/asr/fix-post-test
...
fix wdpost_dispute tests
2022-05-24 14:22:01 -04:00
Jennifer Wang
4c6598e861
bump the version to v1.15.3-rc2
2022-05-24 14:01:01 -04:00
Aayush
2b847a98ae
fix wdpost_dispute tests
2022-05-24 13:58:30 -04:00
Steven Allen
496799f867
build: set NetworkBundle in params file
...
Otherwise, we end up overriding the ldflags.
fixes #8684
2022-05-24 09:42:22 -07:00
Jiaying Wang
5e7f5029d8
Merge pull request #8677 from filecoin-project/jennijuju-patch-3
...
Update bundle.go
2022-05-24 12:40:59 -04:00
Travis Person
cd5b6e30fa
fix: deps: restore butterfly network genesis from v1.14.4
2022-05-23 15:20:07 -04:00
Travis Person
f2d09b65cc
fix: deps: restore butterfly network genesis from v1.14.4
2022-05-23 18:57:52 +00:00
jennijuju
dbe146b0c9
bump the version to v1.15.4-rc1
2022-05-23 19:02:26 +02:00
Aayush
6fecccdf26
Update builtin-actors to dev/20220520
2022-05-20 11:51:13 -04:00
Geoff Stuart
9be120a04e
Reset interopnet take 5
2022-05-18 21:23:39 -04:00
Geoff Stuart
c0a00f48ce
Reset interopnet
2022-05-18 21:23:39 -04:00
Jiaying Wang
23eee4b3df
Update bundle.go
2022-05-18 11:54:23 -04:00
Jennifer Wang
125272a526
make devnet get the right bundle
2022-05-18 11:04:10 -04:00
Geoff Stuart
e7b4242b1c
reset interopnet
2022-05-18 10:17:48 -04:00
Jennifer Wang
67a7ed0ac5
upgrade to v16 sooner!
2022-05-17 23:48:06 -04:00
Jennifer Wang
a7fb84ef3b
update interop info
2022-05-17 23:35:49 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
vyzo
93417fca7d
Merge pull request #8660 from filecoin-project/fix/issue-8659
...
[nv16] use network bundle names consistent with the network name
2022-05-17 22:13:02 +03:00
vyzo
dbbbab4f8a
use dev bundle release
2022-05-17 22:01:38 +03:00
vyzo
ccb2e44e36
make path/url be a map of network name to car uri
2022-05-17 21:45:17 +03:00
vyzo
d949b6c8ef
fix envvar handling
2022-05-17 21:14:49 +03:00
vyzo
daf452a180
flexible bundle loading
2022-05-17 20:38:32 +03:00
vyzo
e9ece8eb3f
improve comment
2022-05-17 20:06:17 +03:00
vyzo
5981495740
Update build/README-bundle.md
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-05-16 22:42:21 +03:00
vyzo
314b417446
use network bundle names consistent with the network name
2022-05-16 22:02:37 +03:00
vyzo
5c0c4d64e2
more storage blah
2022-05-16 21:52:34 +03:00
vyzo
31301e2b9d
storage blah
2022-05-16 21:50:50 +03:00
vyzo
6360107d53
godocs for bundle struct
2022-05-16 21:48:12 +03:00
vyzo
60bf397569
fix typo
...
Co-authored-by: raulk <raul@protocol.ai>
2022-05-16 21:39:22 +03:00
vyzo
06f6b2885a
fix typo
...
Co-authored-by: raulk <raul@protocol.ai>
2022-05-16 21:39:08 +03:00
vyzo
30283e60f5
add basic readme for bundle specifications
2022-05-16 21:13:58 +03:00
vyzo
46a85fc11e
niceties for development bundle loading
2022-05-16 21:09:09 +03:00
Geoff Stuart
56d30d3e0c
Update interopnet genesis car
2022-05-15 17:58:11 -04:00
Geoff Stuart
05c7d86d55
Reset caterpillar
2022-05-14 16:59:42 -04:00
jennijuju
5d65d9f7c8
release v1.15.3-rc1
2022-05-13 02:03:38 -04:00
LexLuthr
6115bd02f1
run make gen
2022-05-13 00:27:26 +05:30
vyzo
30d339842e
rename bundle.toml to bundles.toml
2022-05-12 21:14:03 +03:00
vyzo
515a2dba8f
use embeded toml spec for actor bundles
2022-05-12 20:53:12 +03:00
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
Raúl Kripalani
10d77f1f0c
run gen.
2022-05-10 15:00:58 +01:00
Raúl Kripalani
7ba14f706c
Merge branch 'feat/nv16' into fix/nv16-gas-outputs
2022-05-10 14:40:32 +01:00
Raúl Kripalani
8218109045
set build version to 1.16.0-dev.
2022-05-10 14:38:44 +01:00
Raúl Kripalani
e0a52da4f7
run gen.
2022-05-10 14:32:52 +01:00
Raúl Kripalani
6050d04c7c
Merge tag 'v1.15.2' into feat/nv16-merge-v1.15.2
2022-05-10 14:17:29 +01:00
Jennifer Wang
304fa02d59
v1.15.2 prep
2022-05-06 01:57:03 -04:00
simlecode
962e37e893
add StateGetNetworkParams api
2022-05-05 14:16:30 +08:00
vyzo
f9a5c17c5a
update builtin-actors
2022-05-04 20:19:07 +03:00
jennijuju
7020892631
v1.15.3-rc3 prep
2022-05-03 15:46:43 -04:00
Travis Person
f0673daaad
Reset interopnet
2022-04-29 21:46:23 +00:00
vyzo
f80d10f3be
make docsgen
2022-04-27 17:57:05 +03:00
vyzo
7c9ce49362
update bundles
2022-04-27 17:57:00 +03:00
Łukasz Magiera
d7c52f8adf
sealing: ComputeDataCid miner API
2022-04-26 21:37:48 +02:00
jennijuju
48c54605ae
release v1.15.2-rc2
2022-04-26 21:19:03 +02:00
Łukasz Magiera
1aed631fe5
sealing: DataCid on workers
2022-04-26 20:36:23 +02:00
vyzo
30ed272aa9
fetch testing-fwp bundle
...
use testing-fwp bundle when InsecurePostValidation is true
testing-fwp is testing-fake-proofs
2022-04-26 18:38:52 +03:00
Aayush
eb9aa039bb
Set interop (caterpillarnet) params
2022-04-21 17:00:44 -04:00
vyzo
8ea00a3fc0
update builtin-actors bundle
2022-04-21 13:21:24 +03:00
vyzo
34dfc78f57
only check hash if we have the file
2022-04-19 19:12:25 +03:00
Geoff Stuart
a3a3fefb1c
Merge pull request #8486 from filecoin-project/gstuart/robust-address-endpoint
...
Feat: API: Implement StateLookupRobustAddress
2022-04-19 11:37:23 -04:00
vyzo
7e1c55cdf9
use build tags to embed appropriate bundles
2022-04-19 15:20:40 +03:00