Steven Allen
6362887ce3
rename Upgrade to Migration where applicable
...
This was really confusing.
2021-01-27 12:55:56 -08:00
Steven Allen
77117a0be5
wait for pre-upgrades to exit on stop
2021-01-27 12:55:56 -08:00
Steven Allen
f65d179f2c
make pre-migrations async
2021-01-27 12:55:56 -08:00
Steven Allen
8d05c5d62c
validate pre-migrations
2021-01-27 12:55:56 -08:00
Steven Allen
8986a2002d
wire up re-migration logic for nv10
2021-01-27 12:55:56 -08:00
Steven Allen
8d3cc632ac
add support for running pre-migrations and caching their results
...
This can significantly speedup state migrations.
2021-01-27 12:55:53 -08:00
Łukasz Magiera
fabcbb621d
Merge remote-tracking branch 'origin/master' into next
2021-01-26 00:47:22 +01:00
Aayush Rajasekaran
29d3d746a3
Build a WindowPoSt disputer
2021-01-25 17:26:09 -05:00
Łukasz Magiera
260908015f
Merge pull request #5393 from filecoin-project/feat-refactor-bls
...
refactor: switch to filecoin-ffi bls api for bls signatures
2021-01-25 20:56:18 +01:00
Łukasz Magiera
e4f4fa2c7d
Update FFI more, fix zero aggregate sigs
2021-01-25 20:05:03 +01:00
Łukasz Magiera
bd6321d2c0
Fix lint
2021-01-25 15:35:00 +01:00
Steven Allen
7c9b9e3657
explicitly check miner address protocol
...
This is implicitly checked when verifying the miner signature, but
explicitly checking it here makes it clear that this is a protocol
requirement, and reduces the chances that it will be accidentally
"refactored out".
2021-01-22 18:04:07 -08:00
Steven Allen
94089a6a15
remove todos
2021-01-22 11:15:43 -08:00
Steven Allen
cc423ee4d2
fix seal types length
2021-01-22 08:30:58 -08:00
Steven Allen
0ba1306969
test prove then dispute
2021-01-21 19:48:34 -08:00
Steven Allen
f10b13ff32
register v3 methods
2021-01-21 15:21:20 -08:00
Steven Allen
5a5e49dcd7
support paych v3 messages
2021-01-21 15:21:20 -08:00
Steven Allen
c5d3b979cb
fix constructing new actors
2021-01-21 15:21:20 -08:00
Steven Allen
6ce5f2736e
update policy for v3
2021-01-21 15:21:20 -08:00
Steven Allen
fe5b5702f9
fix data race in test
2021-01-21 15:21:20 -08:00
Steven Allen
f1719d1e23
mark v3 as expensive
2021-01-21 15:21:20 -08:00
Steven Allen
bf48728875
move winning post proof type logic into a helper
2021-01-21 15:21:20 -08:00
Steven Allen
03cd3760bb
correctly pick the seal type based on the network version
...
Of course, we should really just run all of our tests post actors v2.
2021-01-21 15:21:20 -08:00
Steven Allen
82eee15955
fix state tree version comment
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-01-21 15:21:19 -08:00
Steven Allen
64e805926f
update specs-actors for migration name change
...
Actors v3 is network version 10.
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
95f68d0161
Register the v3 actor CIDs in the actor registry
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
f6a0da3751
Add the migrationLogger struct
2021-01-21 15:21:19 -08:00
Steven Allen
99ea5b62ea
wire up v3 migration
2021-01-21 15:21:19 -08:00
Steven Allen
1f62c07789
add back logging
2021-01-21 15:21:19 -08:00
Steven Allen
1a790f5ee3
use actors state-tree abstraction
...
Well, not fully, but this is enough to ensure we use the correct bitwidth and such.
2021-01-21 15:21:19 -08:00
Steven Allen
9d2c430138
remove abstract map constructor/loader
...
Different maps have different parameters now so we just construct/load them manually where needed.
2021-01-21 15:21:19 -08:00
Steven Allen
8dc49db30d
window <-> winning
2021-01-21 15:21:19 -08:00
Steven Allen
c05df6dc1d
fix: use the correct proof type in winning proofs
2021-01-21 15:21:19 -08:00
Steven Allen
7882b0163b
update actor "is" functions for v3
2021-01-21 15:21:19 -08:00
Steven Allen
c31f5130e3
update imports to v3
2021-01-21 15:21:19 -08:00
Steven Allen
95c57d0ce3
and actually hook up loading logic
2021-01-21 15:21:19 -08:00
Steven Allen
be1f15052c
register remaining state decoders
2021-01-21 15:21:19 -08:00
Steven Allen
9ce63c1211
simplify v3 claims map access
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
06f13f8e00
Add v3 actors support for verifreg
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
76abbb8938
Add v3 actors support for reward
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
ee99e68614
Add v3 actors support for power
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
abb388512e
Add v3 actors support for paych
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
9d06a8b116
Add v3 actors support for multisig
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
0bb3aed53c
Add v3 actors support for miner
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
ab90a3b2bc
Actors update: MinerInfo.SealProofType has been removed
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
82635f2515
Rename Deadline.PoStSubmissions to PartitionsPoSted
2021-01-21 15:21:19 -08:00
Aayush Rajasekaran
b4f479affd
Add v3 actors support for market
2021-01-21 15:21:18 -08:00
Aayush Rajasekaran
378f169f14
Add v3 actors support for init
2021-01-21 15:21:18 -08:00
Aayush Rajasekaran
3961e3daf8
Add v3 actors support for account
2021-01-21 15:21:18 -08:00
Aayush Rajasekaran
ba3b32cfe7
Pull in actors v3
2021-01-21 15:21:18 -08:00