Steven Allen
32a699d6a3
Add some actors policy setters for testing
...
Addresses:
* a307e4593a (r491966115)
* a307e4593a (r491966634)
Note: This puts everything into a policy package to avoid a dependency cycle
between the build package, the miner package, and the types package. This is
also why I introduced a GetPreCommitChallengeDelay function and removed the
variable.
2020-09-23 15:00:52 -07:00
Steven Allen
46f5b62a76
Remove a misleading miner actor abstraction
...
We shouldn't implement CBOR functions on the "abstract" miner info. Otherwise,
we could end up trying to actually _use_ this "abstract" info when decoding
state (which won't work across version).
Also remove the use of these CBOR functions, and instead explicitly use miner0
types. We'll have to abstract over versions eventually, but we'll probably need
some form of abstract miner builder (or maybe even adding some "add sector",
etc. functions to the current miner abstraction?
2020-09-23 14:49:53 -07:00
Aayush Rajasekaran
e09d291e5d
Merge pull request #3939 from filecoin-project/fix/chain-sync-validation
...
Validate chain sync response indices when fetching messages
2020-09-23 17:35:14 -04:00
Łukasz Magiera
97a97fe992
Merge pull request #3944 from filecoin-project/update-state-arg-name
...
When doing `sectors update-state`, show a list of existing states if user inputs an invalid one.
2020-09-23 22:19:15 +02:00
Łukasz Magiera
f4f5ef6f83
Merge pull request #3963 from filecoin-project/feat/dealstats
...
Add basic deal stats api server for spacerace slingshot
2020-09-23 22:17:03 +02:00
Łukasz Magiera
a1281273bc
shed dealtracker: fix lint, env var filter
2020-09-23 22:10:02 +02:00
Łukasz Magiera
42216184e1
Merge pull request #3974 from filecoin-project/feat/update-markets-0.6.2
...
Update markets v0.6.2
2020-09-23 22:00:15 +02:00
Łukasz Magiera
2c945d33ee
Merge pull request #3976 from filecoin-project/fix/state-miner-sectors
...
fix out-of-bounds when loading all sector infos
2020-09-23 21:56:12 +02:00
Steven Allen
1c1d23d142
fix out-of-bounds when loading all sector infos
...
fixes #3972
2020-09-23 12:40:44 -07:00
hannahhoward
3fc791b0e8
feat(markets): update markets v0.6.2
2020-09-23 12:17:16 -07:00
Łukasz Magiera
7d39542522
Merge pull request #3741 from filecoin-project/feat/chain-delete-obj
...
Delete a chain store object
2020-09-23 19:34:02 +02:00
Łukasz Magiera
6c5ed3f07f
Some safeguards on chain delete-obj
2020-09-23 19:31:46 +02:00
Łukasz Magiera
a2278e26af
Merge pull request #3887 from filecoin-project/feat/parallel-sync
...
Parallel fetch for chain sync
2020-09-23 19:24:54 +02:00
Łukasz Magiera
b28b8b9649
Merge pull request #3971 from filecoin-project/init-remove
...
add init.State#Remove() for testing.
2020-09-23 19:22:12 +02:00
Raúl Kripalani
f1ab1af617
add init.State#Remove() for testing.
2020-09-23 17:42:01 +01:00
jennijuju
91a43c477c
When doing sectors update-state
, show a list of existing states if user inputs an invalid one.
2020-09-23 12:34:34 -04:00
zgfzgf
a4ade158f4
change minerStop to minerLoop
2020-09-23 20:24:19 +08:00
Łukasz Magiera
c46e1574dd
Merge pull request #3781 from filecoin-project/refactor/net-upgrade
...
Network upgrade support
2020-09-23 11:24:24 +02:00
Aayush Rajasekaran
a876a0ba44
Use actor state addresses
2020-09-23 02:32:40 -04:00
Aayush Rajasekaran
819180f739
Implement inefficient OnAddressMapChange predicate
2020-09-23 02:15:01 -04:00
Aayush Rajasekaran
476e7992e8
Add an error return to all actor state interface methods
2020-09-23 01:51:38 -04:00
Aayush Rajasekaran
e27fc03f55
Reward state interface only needs cbor.Marshaler
2020-09-23 01:42:10 -04:00
Aayush Rajasekaran
ed4bf9b8fe
API shouldn't depend on actors directly
2020-09-23 00:51:12 -04:00
Steven Allen
773714792f
update oni
2020-09-22 18:40:03 -07:00
Lucas Molas
dcf2735836
move validation from protocol to API
2020-09-22 20:19:31 -03:00
Aayush Rajasekaran
77f81fc49b
Test fix
2020-09-22 19:07:32 -04:00
Steven Allen
46fb0e74cd
add deal state iterator
2020-09-22 14:09:33 -07:00
Steven Allen
2967c4ec10
use abstract actor type methods
2020-09-22 12:02:29 -07:00
whyrusleeping
88ada66280
finish up the total bytes endpoint
2020-09-22 13:31:01 -05:00
whyrusleeping
3cf2fd595f
fix appending to array
2020-09-22 13:27:58 -05:00
whyrusleeping
3153ab9ae3
allow graceful shutdown
2020-09-22 13:24:49 -05:00
Steven Allen
c91774be3b
remove old comment
2020-09-22 11:19:28 -07:00
Steven Allen
441d7ff790
cleanup imports some more
2020-09-22 11:14:55 -07:00
Steven Allen
bc24fdbd14
finish migrating statemanager
2020-09-22 11:09:56 -07:00
Steven Allen
ab070f2ebe
copy actor object when iterating over actors
...
This is a pretty big footgun.
2020-09-22 11:09:41 -07:00
Steven Allen
5314ba8c6d
remove ptr indirection
2020-09-22 10:55:29 -07:00
whyrusleeping
f96698b54d
finish up other endpoints
2020-09-22 12:54:39 -05:00
Steven Allen
fc15888697
fixup some imports
2020-09-22 10:52:23 -07:00
whyrusleeping
9b91628d85
begin adding simple api server for deal stats
2020-09-22 11:05:12 -05:00
zgfzgf
001ba17d37
break error
2020-09-22 15:21:35 +08:00
Aayush Rajasekaran
1dc69e397e
Resolve some unnecessary actor upgrade TODOs
2020-09-22 01:34:21 -04:00
Aayush Rajasekaran
d56da1b014
Refinements to stmgr and utils
2020-09-22 01:34:20 -04:00
Steven Allen
d33dd4f7bc
more renames
2020-09-21 16:01:29 -07:00
Steven Allen
63f026f7c3
migrate some more imports
2020-09-21 15:24:45 -07:00
Steven Allen
3f0106cfe5
migrate lotus-shed/genesis-verify to actor abstraction
2020-09-21 15:18:30 -07:00
Steven Allen
4bab784e40
migrate lotus-shed verifreg to specs-actors abstractions
2020-09-21 15:04:39 -07:00
Steven Allen
916421b247
convert lotus-shed balances
2020-09-21 13:43:47 -07:00
Steven Allen
a41bf74bad
fix: remove incorrect variable
2020-09-21 13:25:03 -07:00
Steven Allen
0ab2459fce
convert multisig to new actor abstractions
2020-09-21 13:13:38 -07:00
Steven Allen
f9a896f6f2
fix compile
2020-09-21 13:10:41 -07:00