Aayush
e9a3235291
more fixes
2022-09-09 21:40:15 -04:00
Geoff Stuart
642555d0fb
Fix discrepancies, run fiximports
2022-09-09 21:40:15 -04:00
Aayush
0efca4d266
introduce v9 actors and nv17
2022-09-09 21:40:15 -04:00
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Jiaying Wang
1b5a1f692a
Merge pull request #9206 from filecoin-project/asr/verifreg-tuple
...
fix: verifreg: serialize RmDcProposalID as int, not tuple
2022-08-26 16:38:34 -04:00
Łukasz Magiera
2086b219d2
Don't use go-libp2p-core
2022-08-25 14:20:41 -04:00
Aayush
9812792d46
fix: verifreg: serialize RmDcProposalID as int, not tuple
2022-08-23 16:58:10 -04:00
Shrenuj Bansal
32a2ae12cb
fix lint rename
2022-08-16 16:44:14 -04:00
Shrenuj Bansal
72230d3249
fix lint
2022-08-16 16:25:42 -04:00
Shrenuj Bansal
b7227d3a6b
run make gen
2022-08-16 15:56:32 -04:00
Shrenuj Bansal
fa4a479b97
Add uuid to mpool message sent to chain node from miner
2022-08-16 15:39:06 -04:00
Shrenuj Bansal
2f65a20d16
Add IsDealActive func to template
...
wq
2022-08-02 18:54:42 -04:00
Shrenuj Bansal
31a09b73cc
Add lotus-shed cmd to get total active deal storage
2022-08-02 16:40:39 -04:00
Łukasz Magiera
f8cf3b1510
feat: mpool: Include gaslimit in error msg in ValidForBlockInclusion
2022-08-01 17:15:26 +02:00
Aayush
279b1f4317
FVM: record message applied metrics
2022-07-18 10:50:58 -04:00
Aayush Rajasekaran
e950421e87
Merge pull request #9037 from filecoin-project/asr/implicit-limit
...
FVM: Use MaxInt64 for Implicit Message gas limits
2022-07-15 15:28:31 -04:00
Aayush
7cd0ce4010
FVM: Use MaxInt64 for Implicit Message gas limits
2022-07-15 15:09:12 -04:00
Aayush
474a50252b
FVM: always enable tracing for user-triggered executions
2022-07-14 15:41:26 -04:00
Aayush
af525a4cf2
VM: Remove v15 FVM support
2022-07-14 14:55:48 -04:00
Steven Allen
d192b821a9
fix: gas: estimate gas with a zero base-fee
...
Otherwise, an account will need funds to estimate the max possible gas a
message could take (which is usually the block gas limit).
This does mean gas estimation no longer checks if the sending account
has enough funds to cover the message cost, but MpoolPush will now do
this.
2022-07-08 09:47:45 -07:00
Aayush Rajasekaran
8f087c7e25
chore: state: clarify state tree versioning in comment
2022-06-29 17:37:35 -04:00
Geoff Stuart
3bb7e9d113
Merge pull request #8941 from filecoin-project/gstuart/actors-cids-older-versions
...
Feat: api: Api call to get actor cids works for versions < 16
2022-06-29 15:31:50 -04:00
Geoff Stuart
4bebce0201
Remove StateActorManifestCID
2022-06-29 15:16:13 -04:00
Geoff Stuart
56c7e7a8d6
Remove old functions for getting actors cids
2022-06-29 14:58:58 -04:00
Geoff Stuart
4268b426f9
review fixes
2022-06-29 14:58:58 -04:00
Geoff Stuart
ed65b4c3bf
Api call to get actor cids works for versions < 16
2022-06-29 14:58:56 -04:00
Masih H. Derkani
6f686cae11
Upgrade to go-blockstore 1.2.0
and go-cid 0.2.0
...
Upgrade required dependencies and fix breaking changes.
2022-06-29 14:55:22 -04:00
Aayush
906463bc17
more review
2022-06-29 14:23:35 -04:00
Aayush
f9cf25f966
address review
2022-06-29 11:57:46 -04:00
Aayush
a52d584d0c
an attempt at cleanup
2022-06-28 19:24:47 -04:00
vyzo
3ad2fc5c4a
feat: FVM Debug Dual Execution
2022-06-28 18:00:04 -04:00
Jennifer Wang
c3f3eb0812
Merge branch 'releases' into jen/masterbp
2022-06-27 15:13:12 -04:00
Geoff Stuart
e684248f48
Added api call to get actors cids
2022-06-23 14:07:23 -04:00
Steven Allen
cd6c0c2ad3
feat: move banner, embed, and run at v8 upgrade only
...
1. Embed the banner in the upgrades subsystem instead of reading it at
runtime.
2. Print it all at once instead of line-by-line.
3. Run it in the v8 upgrade itself.
2022-06-22 12:41:14 -07:00
Jennifer Wang
17cd28028f
fvm liftoff
2022-06-22 15:21:50 -04:00
Aayush
e860a052e7
fix: fvm: make exectraces match legacyVM some more
2022-06-22 13:46:12 -04:00
Aayush
866693f3d5
fix: fvm: make exectraces match legacyVM some more
2022-06-22 11:29:14 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
7de400b5ac
Merge remote-tracking branch 'origin/master' into chore/drop-pipeline-adapters
2022-06-17 11:31:05 +02:00
Jennifer Wang
51b6b07110
Merge branch 'release/v1.16.0' into jen/master16
2022-06-16 14:24:44 -04:00
Jiaying Wang
3465f3aba3
Merge pull request #8837 from filecoin-project/jen/refactor
...
chore: refactor: rename var name for syncing mainnet v15 using FVM
2022-06-16 14:16:52 -04:00
Łukasz Magiera
9aa5659d24
sealing pipeline: Drop TipSetToken, use TipSetKey directly
2022-06-16 12:05:58 +02:00
Łukasz Magiera
6d770f6e10
make gen
2022-06-15 16:51:30 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
6afb43afbb
wallet: Move key.go into separate pkg to avoid import loops
2022-06-14 19:21:40 +02:00
Łukasz Magiera
422f66776f
Merge pull request #8859 from filecoin-project/chore/import-fix
...
chore: Fix imports
2022-06-14 18:54:03 +02:00
Aayush Rajasekaran
435c1f4278
Merge pull request #8855 from filecoin-project/jen/backport
...
chore: backport: release v1.16.0 back to master
2022-06-14 11:11:13 -04:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Jennifer Wang
e3fbe53f76
Merge branch 'release/v1.16.0' into jen/backport
2022-06-14 02:35:01 -04:00
swift-mx
19a4395cd7
fix: format error log
2022-06-14 14:13:44 +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
Łukasz Magiera
1cd94f598d
Merge pull request #8820 from filecoin-project/asr/deprecate-blocksync
...
refactor: remove old BlockSyncProtocolID
2022-06-13 18:36:21 +02: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
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -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
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
e79c2eaa4a
gofmt
2022-06-09 18:32:20 -04:00
jennijuju
41e325e822
chore: refactor: rename var name for syncing mainnet v15 using FVM
2022-06-09 16:53:16 -05:00
Aayush
b211c51643
invoker: gen the registry
2022-06-09 16:09:23 -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
82e439172e
Drop actor meta shimming for testing
2022-06-08 13:41:30 -04:00
Aayush
789f212f6c
refactor: remove old BlockSyncProtocolID
2022-06-08 13:38:56 -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
91e69644c2
Merge branch 'feat/nv16' into jen/mergev1153to16
2022-06-03 13:18:27 -04:00
Aayush Rajasekaran
6f25476709
chore: vm: Rename tracing envvar to LOTUS_VM_ENABLE_TRACING
2022-06-01 18:18:49 -04:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -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
Aayush
c95ad7229f
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 15:25:33 -04:00
Aayush
3c8dcda094
Revert "VM: Refactor pricelist to be based on network versions"
...
This reverts commit 25b2e144b8
.
2022-05-30 15:19:51 -04:00
Jennifer Wang
970aa299a2
move actor key to a const array
2022-05-30 14:59:46 -04:00
Aayush
7ea661bf87
fvm: fail if implicit message fails
2022-05-27 11:43:20 -04: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
Aayush Rajasekaran
6924a3d5f2
Fix calculation of Drand round from Filecoin epochs
2022-05-25 12:43:52 -04:00
Aayush Rajasekaran
e87bb5db6a
Merge pull request #8680 from filecoin-project/feat/nv16-migration-bundle
...
[nv16] Ensure v8 bundle is loaded during migration
2022-05-24 14:33:22 -04:00
Aayush Rajasekaran
c07c87c131
Merge pull request #8706 from filecoin-project/fix/8636
...
fix: vm: always set the root message in execution traces in the FVM
2022-05-24 12:55:37 -04:00
Aayush Rajasekaran
eab4d4b464
Merge pull request #8683 from filecoin-project/fix/drop-fvm-nv14
...
feat: fvm: drop nv14 support from the FVM
2022-05-24 12:48:32 -04:00
Jennifer Wang
5cfedacf9f
make jen
2022-05-23 15:11:46 -04:00
Steven Allen
23239c0393
fix: vm: always set the root message in execution traces in the FVM
...
Even when disabled. This mimics the behavior or the lotus VM.
2022-05-23 11:23:17 -07:00
Steven Allen
f7c610ee23
feat: vm: drop nv14 support from the FVM
...
The next FVM version will only support nv15+.
This change also disables the FVM before nv15, even if enabled through
the environment variable. This allows "catching up" from before nv15.
2022-05-23 09:50:54 -07:00
Steven Allen
89bca05a8d
fix: vm: support raw blocks in chain export
...
We need this for NV16 to include code in chain snapshots.
NOTE: I've also checked the splitstore, and we appear to be doing the
right thing there already.
2022-05-23 09:45:56 -07:00
Steven Allen
f491e39f22
fix: vm: support raw blocks in chain export
...
We need this for NV16 to include code in chain snapshots.
NOTE: I've also checked the splitstore, and we appear to be doing the
right thing there already.
2022-05-20 18:56:30 -04:00
vyzo
811bb58c5a
always load the bundle into the blockstore during the migration
2022-05-18 20:20:17 +03:00
vyzo
a694bb898d
remove stale TODO comment
2022-05-18 20:19:44 +03:00
Aayush
3c2fcce2c3
fix: genesis: only sign preseal deals after v16
2022-05-17 18:42:43 -04:00
Aayush
3b23ba0520
Address review
2022-05-17 15:52:59 -04: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
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
70bf990294
LOTUS_PATH is the canonical way to get the repo path
2022-05-12 16:21:29 +03:00