Sami Mäkelä
d90fac6e09
tests are working now
2020-07-24 12:22:50 +03:00
Steven Allen
b7a4dbb07f
Support inline CIDs
...
And use the new CidBuilder from the spec actors.
This patch does not switch over to inline CIDs by default, but paves the way.
2020-07-23 23:12:32 -07:00
Aayush Rajasekaran
5a6e12dc97
Genesis miners need to be registered in the market actor's balance table
2020-07-23 20:34:27 -04:00
Aayush Rajasekaran
e8837688a2
update specs actors
2020-07-23 16:44:09 -04:00
Steven Allen
5fc83f4d05
Refactor to use actor adt types instead of directly using HAMTs and AMTs
...
This way there's a single source of truth. Preparation for fixing
https://github.com/filecoin-project/specs-actors/issues/517 (requires changing
HAMT parameters).
2020-07-23 09:34:57 -07:00
Hannah Howard
7b00bb1ffe
Merge pull request #2448 from filecoin-project/feat/payment-channel-settler
...
Submit vouchers automatically when payment channels settle
2020-07-22 18:03:48 -07:00
whyrusleeping
78e7e59381
Add test to check that bad winning post blocks are rejected
2020-07-22 12:12:41 -07:00
Łukasz Magiera
d70edbcb7c
Set things on syscallShim
2020-07-22 13:35:10 -04:00
Sami Mäkelä
2780b57f83
Merge branch 'next' of github.com:filecoin-project/lotus into feat/genesis-rootkey
2020-07-22 11:48:04 +03:00
Jakub Sztandera
bb33994219
Make reward actor state in genesis more realistic
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 17:59:05 +02:00
Sami Mäkelä
287bfd9fb2
merge
2020-07-20 18:36:06 +03:00
Sami Mäkelä
3cc3c9a34e
generate an account
2020-07-20 18:03:27 +03:00
Łukasz Magiera
740499a726
Merge pull request #2479 from filecoin-project/fix/actor-unsafe-cids
...
Update specs-actor with unsafa param fixes
2020-07-20 14:52:26 +02:00
Łukasz Magiera
e6f3444eb2
mod tidy, gofmt
2020-07-20 14:31:39 +02:00
Sami Mäkelä
a62edd05de
adding rootkey to genesis
2020-07-20 11:28:45 +03:00
Travis Person
28f7874942
genesis: set deals to end on sector expiry
...
Setting the deal to end on the sector expiry ensures we get the full
quality adjustment of power for the full sector.
Resolves #2404
2020-07-19 22:38:59 +00:00
Łukasz Magiera
e02b40f04f
Merge pull request #2460 from filecoin-project/feat/specs-actors-v0.8ish
...
Feat/specs actors v0.8ish
2020-07-18 00:36:13 +02:00
Łukasz Magiera
a06e685cfc
Merge pull request #2450 from filecoin-project/feat/seed-msig-work
...
Feat/seed msig work
2020-07-18 00:21:45 +02:00
Łukasz Magiera
0ded061037
Get math to work
2020-07-18 00:15:21 +02:00
whyrusleeping
665b873c96
more permissive parsing, also don't set useless actor addr
2020-07-17 14:27:56 -07:00
Łukasz Magiera
956f4d5e14
update specs-actors more
2020-07-17 22:58:04 +02:00
Łukasz Magiera
bbc2657023
Fix StateMinerProvingSet
2020-07-17 16:21:00 +02:00
Łukasz Magiera
cb6767a02b
Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor
2020-07-17 15:18:11 +02:00
Peter Rabbitson
e266f3b955
Bump fil-commcid and filecoin-ffi deps
...
Propagates correct on-chain commX CIDs
2020-07-17 00:38:42 +02:00
Sami Mäkelä
ab5b69c5e4
add it to map
2020-07-16 15:30:59 -07:00
Sami Mäkelä
21b78514f5
working
2020-07-16 15:30:59 -07:00
Łukasz Magiera
5a3ab5c5f0
More actor updates
2020-07-16 14:48:20 +02:00
Jakub Sztandera
7b14d445b4
Update message gas limits
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +02:00
Łukasz Magiera
0f2043d874
Merge pull request #2317 from filcloud/issue-2304
...
fix issue 2304: ux improvements
2020-07-15 19:38:35 +02:00
Raúl Kripalani
0484496d92
Merge branch 'next' into mock-clock
2020-07-14 18:08:26 +01:00
Łukasz Magiera
faebc4c948
WIP Integrating specs-actors with refactored miner state
2020-07-14 13:45:45 +02:00
Łukasz Magiera
a778917806
gofmt
2020-07-13 13:35:10 +02:00
Aayush Rajasekaran
7e9f9106c9
Update specs actors
2020-07-12 00:30:42 -04:00
Aayush Rajasekaran
69626272d5
Update with reward state changes
2020-07-12 00:30:42 -04:00
Frank
14ec9a2068
update storage miner and seal worker document
2020-07-11 16:55:13 +08:00
Raúl Kripalani
13de81b3b2
introduce the ability to mock time.
2020-07-10 15:51:45 +01:00
Łukasz Magiera
655d6f6720
Merge remote-tracking branch 'origin/master' into next
2020-07-03 17:03:09 +02:00
Łukasz Magiera
bb3758f648
seed: Support fake preseals
2020-07-03 03:29:21 +02:00
Łukasz Magiera
cfdbc2312d
Merge branch 'master' into next
2020-07-01 11:22:57 +02:00
Łukasz Magiera
e1799f1524
Merge pull request #2155 from filecoin-project/feat/ffi-0.30.1
...
Update FFI to 0.30.1
2020-07-01 11:17:18 +02:00
Raúl Kripalani
77c7eb6fd9
fix lint errors.
2020-06-30 22:56:13 +01:00
Raúl Kripalani
4f9c907248
rename build.{BlockDelay=>BlockDelaySecs}.
...
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Raúl Kripalani
0fddf3e114
make system constants configurable as vars.
...
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.
Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.
Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
Łukasz Magiera
77b3bf8bc2
Update FFI to 0.30.1
2020-06-29 20:24:27 +02:00
Łukasz Magiera
b8f1264e71
genesis: Update process comment
2020-06-26 15:23:52 +02:00
Łukasz Magiera
a6d1323eba
Update specs-actors to v0.7.0; More correct genesis sector import
2020-06-26 15:08:12 +02:00
Jakub Sztandera
88352c74fc
Address @Magik6k CR
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 17:11:26 +02:00
Jakub Sztandera
156a14eeeb
Integrate Poisson Sortition into chain sync
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:59:44 +02:00
Łukasz Magiera
ab4c11c096
Merge remote-tracking branch 'origin/master' into next
2020-06-16 12:04:29 +02:00
Aayush Rajasekaran
a9abf3ceb2
extract the fake Wpost used for testing
2020-06-15 21:02:53 -04:00
Łukasz Magiera
907364ce67
Update deps, fix more tests
2020-06-15 18:30:49 +02:00
Łukasz Magiera
70c8f7b1ee
Merge remote-tracking branch 'origin/master' into feat/merge-master
2020-06-15 14:38:38 +02:00
Ignacio Hagopian
82c6be14f4
unchecked errs
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-12 22:34:00 -03:00
Łukasz Magiera
3f81ff3507
Update specs-actors
2020-06-05 22:06:11 +02:00
Jakub Sztandera
5605aae269
Fix even more lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 16:29:39 +02:00
Łukasz Magiera
c73326e96d
fsrepo: Use LevelDB for metadata datastore
2020-06-01 20:13:07 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Jakub Sztandera
b06b0147a9
Switch to new drand client
...
This is a preview of a change to new drand client.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 13:52:33 +02:00
Jeromy
b5cb1fe1e0
some minor cleanup of data verification for preseals
2020-05-13 21:00:32 -07:00
Jeromy
50fae56baf
Verify data for presealed data
2020-05-13 19:35:44 -07:00
Jeromy
a9689d8345
set verifreg root key
2020-05-13 17:04:08 -07:00
Whyrusleeping
686c92ba02
Merge pull request #1713 from filecoin-project/feat/hack-reward-initial-value
...
hack in an initial value for LastPerEpochReward for the genesis block
2020-05-12 16:39:48 -07:00
Jeromy
141c77e17e
hack in an initial value for LastPerEpochReward for the genesis block
2020-05-12 16:32:54 -07:00
frrist
5726c4bd30
construct cron actor state correctly
2020-05-12 16:12:28 -07:00
Łukasz Magiera
ba389598ee
Cleanup build package
2020-05-12 19:59:28 +02:00
Łukasz Magiera
6056a52978
Update specs-actors to pre v0.5
2020-05-12 18:58:43 +02:00
Jeromy
8a69467982
add some simple sanity checking to incoming blocks in the syncer
2020-05-08 10:59:18 -07:00
Łukasz Magiera
523a7a9d8d
Merge pull request #1670 from filecoin-project/feat/update-markets-0.2.0
...
Update go-fil-markets
2020-05-06 01:45:33 +02:00
Jeromy
66cafc7c71
fake signatures when constructing genesis state
2020-05-05 14:36:39 -07:00
hannahhoward
a9866c757e
feat(deps): update go-fil-markets
...
Update to latest 0.2.0 release of go-fil-markets with less-blocking node io
2020-05-04 18:36:51 -07:00
Aayush Rajasekaran
897b269139
Test to demonstrate HAMT issue
2020-04-30 20:54:41 -04:00
Jeromy
bee25d221f
fix mining base randomness
2020-04-30 15:11:14 -07:00
Jeromy
d73b369fa5
implement latest changes to randomness
2020-04-29 16:50:45 -07:00
Łukasz Magiera
89b19af43f
specs-actors v0.3
2020-04-29 20:06:05 +02:00
Aayush Rajasekaran
cf8691ed87
update chain validation
2020-04-28 20:31:41 -04:00
Whyrusleeping
faa9002cce
working on sector pledge requirements after specs-actors 1.0.0 ( #1584 )
...
* WIP: working on sector pledge requirements after specs-actors 1.0.0
* update storage-fsm with pledge collateral logic
* Set bigger balances for miners
* Return only additional required pledge
* split collateral methods into two methods
Co-authored-by: Łukasz Magiera <magik6k@gmail.com>
2020-04-23 12:39:34 -07:00
diwufeiwen
d873d8489d
Update miners.go
...
Remove code that does n’t make sense
2020-04-22 10:00:57 +08:00
Łukasz Magiera
9f9ae155e3
windowed post: Review cleanup
2020-04-21 23:38:33 +02:00
Łukasz Magiera
f10eed3ae3
genesis: Setup verifier registry
2020-04-21 20:25:43 +02:00
Łukasz Magiera
9923c909c1
Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post
2020-04-21 19:28:00 +02:00
Łukasz Magiera
c406b875fa
gofmt, mod tidy
2020-04-21 19:23:49 +02:00
Łukasz Magiera
f43ce74604
Update specs-actors
2020-04-21 16:32:17 +02:00
Łukasz Magiera
00eb0e6378
genesis: Add sectors to NewSectors set
2020-04-21 14:36:54 +02:00
Łukasz Magiera
6dd2f5369e
genesis: Fix importing 8k+ deals
2020-04-20 15:54:06 +02:00
Jeromy
91f56742c4
Use lookback to get sector set and power for miners
2020-04-17 16:44:18 -07:00
Łukasz Magiera
3b7ae0d6d9
mod tidy, gofmt
2020-04-18 00:02:43 +02:00
Jeromy
24b7661837
fix up some tests
2020-04-17 13:44:13 -07:00
Łukasz Magiera
a40872f74d
Merge pull request #1554 from filecoin-project/feat/increase-gen-gas
...
increase gas limit during genesis generation
2020-04-17 19:54:55 +02:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
bab352fb44
Wireup WinningPost validation
2020-04-17 16:47:19 +02:00
Jeromy
708988244d
WIP: working on winning post integration
2020-04-16 22:39:55 -07:00
Aayush Rajasekaran
14ad808a00
Remove unused fields from VM
2020-04-16 15:34:01 -04:00
Łukasz Magiera
8338be3a6e
Fix genesis creation
2020-04-16 19:17:56 +02:00
Łukasz Magiera
98f3cab24e
Update specs-actors
2020-04-16 18:41:45 +02:00
Łukasz Magiera
246a9f0e45
gofmt
2020-04-15 22:41:20 +02:00
Travis Person
16347270e0
increase gas limit during genesis generation
2020-04-15 20:09:33 +00:00
Łukasz Magiera
149bb56b8e
wip updates to sector set handling
2020-04-15 21:59:11 +02:00
Jeromy
4e6839b5ef
some small cleanup
2020-04-14 15:13:52 -07:00
Jakub Sztandera
0c5e3e2533
Make tests use mock beacon
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 20:41:05 +02:00
Jakub Sztandera
3e976fd74b
Make tests pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 16:09:11 +02:00